mr-magic-mcp-server 0.1.15 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mr-magic-mcp-server",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Lyrics MCP server connecting LRCLIB, Genius, Musixmatch, and Melon",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -117,9 +117,8 @@ export async function startMcpHttpServer(options = {}) {
117
117
  res.json({ status: 'ok', providers: await getProviderStatus() });
118
118
  });
119
119
 
120
- app.get('/downloads/:downloadId/*', async (req, res) => {
121
- const { downloadId } = req.params;
122
- const extension = req.params[0] || '';
120
+ app.get('/downloads/:downloadId/:extension', async (req, res) => {
121
+ const { downloadId, extension } = req.params;
123
122
  if (!downloadId || !extension) {
124
123
  res.status(400).json({ error: 'Invalid download path' });
125
124
  return;