Skip to content

Connection refused. Is the MCP server running error? #814

@aishwaryabh

Description

@aishwaryabh

Inspector Version

Latest (0.16.8)

Describe the bug
I cannot connect my MCP inspector to my MCP server.

This is what I see when trying to connect to the StreamableHttp endpoint:

Image

When I try to connect to the SSE endpoint this is the error I see:

Image

To Reproduce
Steps to reproduce the behavior:

  1. Run npx -y @modelcontextprotocol/inspector@latest
  2. Start MCP local server
  3. Try to connect via session token provided in CLI
  4. Connection fails

Expected behavior
Connection should not fail

Environment (please complete the following information):

  • OS: Windows
  • Browser Edge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions