agora.mcp.server

MCP server — wires AgoraHandlers into FastMCP tool definitions.

Run with python -m agora.cli mcp or programmatically via build_server(). Transport defaults to stdio; override via the transport arg.

Functions

build_server(handlers[, name])

Return a configured FastMCP server bound to handlers.

run_stdio(handlers)

Run the server over stdio (the default MCP transport).

agora.mcp.server.build_server(handlers, name='agora')[source]

Return a configured FastMCP server bound to handlers.

Tool definitions match AgoraHandlers method signatures. Arguments are passed through as JSON strings to keep the tool surface simple; handlers parse and validate them.

async agora.mcp.server.run_stdio(handlers)[source]

Run the server over stdio (the default MCP transport).