Skip to content

Connection Error - Check if your MCP server is running and proxy token is correct #724

@yidasanqian

Description

@yidasanqian
mcp.run(transport="streamable-http")

log:

uv run mcp dev src/gen_images/bailian_mcpserver.py
Starting MCP inspector...
⚙️ Proxy server listening on localhost:6277
🔑 Session token: e05a5b929cf9f30564653a3411b3f4df6e55110e9d0383f3bb5000b680bb9a75
   Use this token to authenticate requests or set DANGEROUSLY_OMIT_AUTH=true to disable auth

🚀 MCP Inspector is up and running at:
   http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=e05a5b929cf9f30564653a3411b3f4df6e55110e9d0383f3bb5000b680bb9a75

🌐 Opening browser...
New StreamableHttp connection request
Query parameters: {"url":"http://localhost:8000/mcp","transportType":"streamable-http"}
Created StreamableHttp server transport
Created StreamableHttp client transport
Client <-> Proxy  sessionId: a02ed93f-b1b9-49a3-8358-04018aa03101
Connection refused. Is the MCP server running?
Image

how to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions