srcmap-mcp
An MCP server that enables AI assistants to debug production source maps by fetching bundles, inspecting metadata, validating maps, and extracting original source files from any production website.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Prerequisites Node.js >= 20 and the srcmap CLI: cargo install srcmap-cli
Vendor documentation What you can do with it
- Debug production errors by mapping minified stack traces to original source files
- Inspect source map metadata and validate source map integrity
- Extract original source files from production bundles for code review
Source and maintenance
Community listingRegistry 0.2.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
srcmap-mcp 0.2.0
npm
srcmap-mcp package definition
{
"version": "0.2.0",
"transport": "stdio",
"identifier": "srcmap-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "SRCMAP_BINARY",
"format": "string",
"description": "Path to the srcmap CLI binary (default: srcmap)"
},
{
"name": "SRCMAP_CACHE_TTL",
"format": "string",
"description": "Cache TTL in seconds (default: 300, 0 to disable)"
},
{
"name": "SRCMAP_TOOLSETS",
"format": "string",
"description": "Comma-separated toolsets to enable: inspection, lookup, fetch (default: all)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
Cursor configuration
{
"mcpServers": {
"srcmap-mcp": {
"command": "npx",
"args": [
"-y",
"srcmap-mcp@0.2.0"
],
"env": {
"SRCMAP_BINARY": "<YOUR_SRCMAP_BINARY>",
"SRCMAP_CACHE_TTL": "<YOUR_SRCMAP_CACHE_TTL>",
"SRCMAP_TOOLSETS": "<YOUR_SRCMAP_TOOLSETS>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"srcmap-mcp": {
"command": "npx",
"args": [
"-y",
"srcmap-mcp@0.2.0"
],
"env": {
"SRCMAP_BINARY": "<YOUR_SRCMAP_BINARY>",
"SRCMAP_CACHE_TTL": "<YOUR_SRCMAP_CACHE_TTL>",
"SRCMAP_TOOLSETS": "<YOUR_SRCMAP_TOOLSETS>"
}
}
}
}VS Code
VS Code configuration
{
"servers": {
"srcmap-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"srcmap-mcp@0.2.0"
],
"env": {
"SRCMAP_BINARY": "<YOUR_SRCMAP_BINARY>",
"SRCMAP_CACHE_TTL": "<YOUR_SRCMAP_CACHE_TTL>",
"SRCMAP_TOOLSETS": "<YOUR_SRCMAP_TOOLSETS>"
}
}
}
}Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"srcmap-mcp": {
"command": "npx",
"args": [
"-y",
"srcmap-mcp@0.2.0"
],
"env": {
"SRCMAP_BINARY": "<YOUR_SRCMAP_BINARY>",
"SRCMAP_CACHE_TTL": "<YOUR_SRCMAP_CACHE_TTL>",
"SRCMAP_TOOLSETS": "<YOUR_SRCMAP_TOOLSETS>"
}
}
}
}Let your agent find its tools
Find servers like srcmap-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.