Skip to content
Discussion options

You must be logged in to vote

Hi @pepijnwoub,

I'm doing the same things. Maybe you should run it as a http server by calling MCPServer.http_app()(see: https://gofastmcp.com/integrations/starlette#basic-usage), Here's my proxy set-up code

proxy = FastMCP.as_proxy(
    ProxyClient(backendUrl),
    name="InnerProxy",
    auth=auth,
)

app = proxy.http_app(transport=transport)



# Run the proxy (e.g., via stdio for Claude Desktop)
if __name__ == "__main__":
    uvicorn.run(app, host=host, port=port ,ssl_keyfile="./private.key",ssl_certfile="./certificate.crt")

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pepijnwoub
Comment options

@Colvin-Y
Comment options

Answer selected by pepijnwoub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants