inspector icon indicating copy to clipboard operation
inspector copied to clipboard

--config for sse server not working as expected

Open matiasngf opened this issue 7 months ago • 0 comments

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:

  1. Add an mcp.json
{
  "mcpServers": {
    "default-server": {
      "type": "sse",
      "url": "http://localhost:3000/events"
    }
  }
}
  1. 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)

Image

Logs If applicable, add logs to help explain your problem.

Additional context Add any other context about the problem here.

matiasngf avatar May 17 '25 19:05 matiasngf