Skip to content

Not connecting/discovering tools behind an MCP Proxy #56

Description

@vickumar1981

Hi. Great tool.

I installed and deployed the server, and it works great when I connect directly.

I tried putting a FastMCP proxy in front of it, using the something like the code below:

docs_mcp_server_v2 = create_proxy(
  [URL to docs-mcp server], name="Docs MCP Proxy Server"
)

(https://gofastmcp.com/servers/composition)

In VS Code, I see: "Discovered 0 tools". though, there is not an error in the output of VS code.

In the terminal, I see: "connect_tcp.failed exception=ConnectError(OSError('All connection attempts failed'))". (This is the proxy).

Also, I am starting the server via http transport.

So, essentially, the server works perfectly (discovers 2 tools) when I connect to it directly from VS Code or another MCP client, but seems to have some error when I try to add a proxy in front of it.

Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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