Skip to content
Navigation

Model Context Protocol client, server, and tool integration for Orbiter.

Installation

bash
pip install "orbiter-mcp @ git+https://github.com/Midsphere-AI/orbiter-ai.git#subdirectory=packages/orbiter-mcp"

Module path

python
import orbiter.mcp

Package exports

ExportModuleDescription
MCPClientorbiter.mcp.clientHigh-level client managing multiple MCP server connections
MCPClientErrororbiter.mcp.clientError raised by MCP client operations
MCPServerConfigorbiter.mcp.clientConfiguration for an MCP server connection
MCPServerConnectionorbiter.mcp.clientA live connection to an MCP server
MCPTransportorbiter.mcp.clientEnum of transport types (stdio, sse, streamable_http)
MCPExecutionErrororbiter.mcp.executionError raised during MCP tool execution with retries
load_mcp_clientorbiter.mcp.executionCreate an MCPClient from an mcp.json config file
load_mcp_configorbiter.mcp.executionLoad MCP server configurations from an mcp.json file
substitute_env_varsorbiter.mcp.executionReplace ${VAR_NAME} placeholders with environment variable values
MCPServerErrororbiter.mcp.serverError raised by MCP server operations
MCPServerRegistryorbiter.mcp.serverSingleton registry for @mcp_server-decorated classes
mcp_serverorbiter.mcp.serverClass decorator that converts a Python class into an MCP server
MCPToolErrororbiter.mcp.toolsError raised during MCP tool operations
MCPToolFilterorbiter.mcp.toolsFilter for including/excluding MCP tools by name
MCPToolWrapperorbiter.mcp.toolsAn Orbiter Tool wrapping an MCP tool for execution
convert_mcp_toolsorbiter.mcp.toolsConvert a list of MCP tools to Orbiter MCPToolWrapper instances
extract_schemaorbiter.mcp.toolsExtract JSON Schema parameters from an MCP tool
namespace_tool_nameorbiter.mcp.toolsCreate a namespaced tool name: {namespace}__{server}__{tool}
parse_namespaced_nameorbiter.mcp.toolsParse a namespaced tool name back into (namespace, server, tool)

Submodules