🧑‍💻(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:
Anthony LC
2026-09-06 14:34:04 +02:00
parent 5158807e25
commit a6fa582591
2 changed files with 14 additions and 1 deletions
@@ -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"
}
}
}
}
+2 -1
View File
@@ -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"