mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-10 11:47:52 +02:00
🧑💻(mcp) add an mcp-inspector helper
Add a `yarn mcp-inspector` script that launches `@modelcontextprotocol/inspector` against the local docs-mcp server, with a checked-in config pre-filling the URL and the `docs-mcp-client` OAuth client and scopes so there is nothing to type in by hand.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"docs-mcp": {
|
||||
"type": "http",
|
||||
"url": "http://localhost:4455/mcp",
|
||||
"oauth": {
|
||||
"clientId": "docs-mcp-client",
|
||||
"scopes": "openid docs:documents:search docs:documents:read docs:documents:create docs-mcp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,8 @@
|
||||
"dev": "nodemon --config nodemon.json",
|
||||
"start": "node ./dist/start-server.js",
|
||||
"lint": "eslint",
|
||||
"test": "vitest run"
|
||||
"test": "vitest run",
|
||||
"mcp-inspector": "npx @modelcontextprotocol/inspector --config mcp-inspector.config.json"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
|
||||
Reference in New Issue
Block a user