@inspectr/mcplab-mcp-server
v1.1.1
Published
MCP server that exposes MCPLab evaluation tools — query runs, results, and traces via the Model Context Protocol
Downloads
1,349
Maintainers
Readme
MCPLab MCP Server
MCP server that exposes MCPLab authoring and execution helpers for other LLM clients.
Focus
- Generate MCPLab YAML entries for
servers,agents, and especiallyscenarios - Validate configs via
@inspectr/mcplab-core(loadConfig,selectScenarios) - Run evaluations and inspect run artifacts
- Provide scenario-authoring prompts for MCP-capable clients
Run (Streamable HTTP)
npm run build -w @inspectr/mcplab-mcp-server
node packages/mcp-server/dist/index.jsDefaults:
- Host:
127.0.0.1 - Port:
3011 - MCP endpoint:
/mcp
Override with MCP_HOST, MCP_PORT, and MCP_PATH.
Minimal Manual-Test MCP Servers (Dev Only)
These tiny servers are useful for manual testing in MCP Lab (connectivity, auth, OAuth Debugger). They live outside the published package code in:
/Users/tim.haselaars/Sites/mcp-evaluation/dev/mcp-test-servers
1) Public (no auth)
npm run mcp:test:publicDefaults:
- Base URL:
http://127.0.0.1:3111 - MCP endpoint:
/mcp
2) Bearer-protected
MCP_TEST_BEARER_TOKEN=demo-bearer-token npm run mcp:test:bearerDefaults:
- Base URL:
http://127.0.0.1:3112 - MCP endpoint:
/mcp - Protected probe endpoint:
/probe
3) OAuth mock (for OAuth Debugger)
npm run mcp:test:oauth-mockDefaults:
- Base URL:
http://127.0.0.1:3113 - MCP endpoint:
/mcp(bearer-protected after token exchange) - OAuth endpoints:
/.well-known/oauth-protected-resource/.well-known/oauth-authorization-server/authorize/token/register(DCR)/client-metadata.json(CIMD)/probe(protected resource probe)
Default pre-registered client:
client_id:mcplab-debuggerclient_secret:mcplab-debugger-secretredirect_url:http://localhost:6274/oauth/scope:openid profile mcp
Useful Tools
mcplab_generate_scenario_entrymcplab_validate_configmcplab_list_librarymcplab_get_library_itemmcplab_run_evalmcplab_read_run_artifact
