Skip to content
VS Code

mcp imslp for VS Code

io.github.smeet666/mcp-imslp

Read IMSLP, the Petrucci Music Library: works, scores, editions, copyright. No API key.

client:VS Code transport:stdio runtime:npm

Install mcp imslp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "imslp-user-agent",
      "description": "IMSLP_USER_AGENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "imslp-min-interval-ms",
      "description": "IMSLP_MIN_INTERVAL_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "imslp-timeout-ms",
      "description": "IMSLP_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "imslp-max-retries",
      "description": "IMSLP_MAX_RETRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "imslp-cache-ttl-ms",
      "description": "IMSLP_CACHE_TTL_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "imslp-cache-max-entries",
      "description": "IMSLP_CACHE_MAX_ENTRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "imslp-log-level",
      "description": "IMSLP_LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "mcp-imslp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-imslp"
      ],
      "env": {
        "IMSLP_USER_AGENT": "${input:imslp-user-agent}",
        "IMSLP_MIN_INTERVAL_MS": "${input:imslp-min-interval-ms}",
        "IMSLP_TIMEOUT_MS": "${input:imslp-timeout-ms}",
        "IMSLP_MAX_RETRIES": "${input:imslp-max-retries}",
        "IMSLP_CACHE_TTL_MS": "${input:imslp-cache-ttl-ms}",
        "IMSLP_CACHE_MAX_ENTRIES": "${input:imslp-cache-max-entries}",
        "IMSLP_LOG_LEVEL": "${input:imslp-log-level}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp imslp in other clients