inspector
inspector copied to clipboard
--config for sse server not working as expected
Describe the bug I can't define the sse server I want to coonec to using a config file.
To Reproduce Steps to reproduce the behavior:
- Add an mcp.json
{
"mcpServers": {
"default-server": {
"type": "sse",
"url": "http://localhost:3000/events"
}
}
}
- Run with
npx @modelcontextprotocol/inspector@latest --config mcp.json --server default-server
Expected behavior The SSE server should be configured to fetch http://localhost:3000/events
Current behavior When I open the inspector I still see the inspector configured with default port (3001)
Logs If applicable, add logs to help explain your problem.
Additional context Add any other context about the problem here.