Source Map Debugger for VS Code
io.github.bartwaardenburg/srcmap-mcp
Debug production source maps: fetch, inspect, look up and extract original sources
client:VS Code
transport:stdio
runtime:npm
Install Source Map Debugger in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "srcmap-binary",
"description": "SRCMAP_BINARY",
"password": true
},
{
"type": "promptString",
"id": "srcmap-cache-ttl",
"description": "SRCMAP_CACHE_TTL",
"password": true
},
{
"type": "promptString",
"id": "srcmap-toolsets",
"description": "SRCMAP_TOOLSETS",
"password": true
}
],
"servers": {
"srcmap-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"srcmap-mcp"
],
"env": {
"SRCMAP_BINARY": "${input:srcmap-binary}",
"SRCMAP_CACHE_TTL": "${input:srcmap-cache-ttl}",
"SRCMAP_TOOLSETS": "${input:srcmap-toolsets}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs