{"_id":"@apiscope/mcp","name":"@apiscope/mcp","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@apiscope/mcp","version":"0.1.0","license":"MIT","description":"MCP server exposing apiscope's collector API as tools for coding agents","repository":{"type":"git","url":"git+https://github.com/marcelbaklouti/apiscope.git","directory":"packages/mcp"},"homepage":"https://github.com/marcelbaklouti/apiscope#readme","bugs":{"url":"https://github.com/marcelbaklouti/apiscope/issues"},"keywords":["apiscope","api","monitoring","load-testing","devtools","mcp"],"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"dependencies":{"@modelcontextprotocol/sdk":"^1.29.0","zod":"^4.4.3"},"devDependencies":{"@types/node":"^26.1.0","tsup":"^8.5.1","typescript":"^5.9.3","vitest":"^4.1.9","@apiscope/load":"0.1.0","@apiscope/collector":"0.1.0"},"scripts":{"build":"tsup","test":"vitest run","typecheck":"tsc --noEmit"},"_id":"@apiscope/mcp@0.1.0","_integrity":"sha512-GhnC2bgDu8Z5nudQNkLE7yy/bbU891R72ODfp7C3ARxYpSU750waWZ3pguHoBXycSciRgpQydhJVApOGQF/2rA==","_resolved":"/private/var/folders/dz/p16g8q95791d2_133rgzgq5c0000gn/T/7467f9bed1582cb4113fbb8fc0c49934/apiscope-mcp-0.1.0.tgz","_from":"file:apiscope-mcp-0.1.0.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-GhnC2bgDu8Z5nudQNkLE7yy/bbU891R72ODfp7C3ARxYpSU750waWZ3pguHoBXycSciRgpQydhJVApOGQF/2rA==","shasum":"c4347cfe3c3876342e86c97577ea508d83840fef","tarball":"https://registry.npmjs.org/@apiscope/mcp/-/mcp-0.1.0.tgz","fileCount":7,"unpackedSize":19595,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDq0iZrZK28HTMSmOkeBpcwguEZbG+zZvCVZcIMsWwdrAIhAIGEpFJi8qbiVPfNT2WT2IO0Aush7AZGVqDMuj5+Qc9a"}]},"_npmUser":{"name":"marcelbaklouti","email":"marcel@baklouti.de"},"directories":{},"maintainers":[{"name":"marcelbaklouti","email":"marcel@baklouti.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.0_1783336586958_0.8385943490913066"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-06T11:16:26.770Z","0.1.0":"2026-07-06T11:16:27.092Z","modified":"2026-07-06T11:16:27.379Z"},"maintainers":[{"name":"marcelbaklouti","email":"marcel@baklouti.de"}],"description":"MCP server exposing apiscope's collector API as tools for coding agents","homepage":"https://github.com/marcelbaklouti/apiscope#readme","keywords":["apiscope","api","monitoring","load-testing","devtools","mcp"],"repository":{"type":"git","url":"git+https://github.com/marcelbaklouti/apiscope.git","directory":"packages/mcp"},"bugs":{"url":"https://github.com/marcelbaklouti/apiscope/issues"},"license":"MIT","readme":"# @apiscope/mcp\n\nMCP server exposing apiscope's collector API as tools for coding agents.\n\n## Usage\n\n### stdio (local agents)\n\nAdd an MCP server entry pointing at the `apiscope` CLI:\n\n```json\n{\n  \"mcpServers\": {\n    \"apiscope\": {\n      \"command\": \"apiscope\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\nBy default the server resolves the collector base URL from `--collector`, else the `APISCOPE_COLLECTOR_URL` environment variable, else the configured collector host and port (`http://127.0.0.1:4620` unless overridden in `apiscope.config.ts`).\n\n### Streamable HTTP (remote)\n\n```bash\napiscope mcp --http --port 7000\n```\n\nPoint a remote MCP client at `http://<host>:7000/`.\n\n## Tools\n\n- `list_routes` — the route registry across connected apps.\n- `query_spans` — recent or load-run-filtered request spans.\n- `get_span_detail` — a span with its child spans, n+1 summary, and timings.\n- `run_load_scenario` — starts a load run and returns its run id.\n- `get_run_result` — a load run's summary and result by run id.\n- `generate_scenario` — a load scenario derived from recently observed traffic.\n","readmeFilename":"README.md","_rev":"1-8e393351442c4a5c6a587cf28a6112c2"}