MCPBridgeServer.build()

Build and return a FastMCP server instance.

Usage

Source

MCPBridgeServer.build()

Each Talk Box tool is registered as an MCP tool. The tool’s parameters (excluding the context parameter) are preserved so MCP clients see the correct input schema.

Returns

FastMCP
A configured FastMCP server ready to be started with run().

Examples

server = tb.MCPBridgeServer(name="my-tools", tools=[my_tool])
mcp_server = server.build()
# mcp_server.run()  # starts the server