FastMCP 3.4 introduces fastmcp-remote, a standalone Python utility for connecting stdio-only MCP hosts to remote MCP servers.
When a host expects to launch a local command, fastmcp-remote runs locally, connects to a remote server over Streamable HTTP or SSE, and exposes that server back to the host over stdio:
{
"mcpServers": {
"remote-api": {
"command": "uvx",
"args": ["fastmcp-remote", "https://example.com/mcp"]
}
}
}OAuth is enabled automatically for HTTPS servers, with support for explicit bearer tokens and custom headers when needed.
Please note: the FastMCP 3.4.0 betas are being released for testing the new fastmcp-remote package, host compatibility, and remote authentication behavior, and should not be used for production deployments yet.