Skip to content

Can't connect to locally deployed MCP server #121

@Nadine2016

Description

@Nadine2016

Steps to reproduce:

arctl mcp init python myserver   
arctl mcp build myserver  
arctl mcp publish myserver --docker-url docker.io/user 
arctl mcp deploy user/myserver --runtime local --version 0.1.0 

open MCP inspector

npx modelcontextprotocol/inspector#0.18.0

The connection fails with

New StreamableHttp connection request
Query parameters: {"url":"http://localhost:21212/mcp","transportType":"streamable-http"}
Created StreamableHttp client transport
Client <-> Proxy  sessionId: aa232ad1-dae7-43d7-a931-c6a2791e0de6
Error from MCP server: StreamableHTTPError: Streamable HTTP error: Error POSTing to endpoint: fail to create relay: failed to run command '"python"'
    at StreamableHTTPClientTransport.send (file:///Users/nadine.spies/.npm/_npx/195c744290f7522f/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js:364:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  code: 500
}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions