Skip to content
VS Code

npm run mcp server for VS Code

io.github.fstubner/npm-run-mcp-server

An MCP server that exposes package.json scripts as tools for agents.

client:VS Code transport:stdio runtime:npm

Install npm run mcp server in VS Code

.vscode/mcp.json

{
  "servers": {
    "npm-run-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "npm-run-mcp-server"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

npm run mcp server in other clients