Skip to main content
function createProxy(config, name?): Promise<FastMCP>;
Defined in: server/proxy.ts:294 Create a FastMCP instance that proxies all requests to a remote MCP server. The returned instance can be mounted onto a parent server via parent.mount(proxy). Component lists (tools, resources, prompts) are kept in sync via:
  • Change notifications from the backend (immediate resync)
  • TTL-based lazy resync on each list request (configurable via cacheTtl, default 30 s)

Parameters

config

ProxyTransport

name?

string

Returns

Promise<FastMCP>