API Reference barrel_mcp v#2.0.2

View Source

Modules

Main API module for barrel_mcp.

Multi-server tool aggregator for agent hosts.

barrel_mcp application module.

Authentication behaviour and utilities for barrel_mcp.

API key authentication provider for barrel_mcp.

Basic HTTP authentication provider for barrel_mcp.

Bearer token authentication provider for barrel_mcp.

Custom authentication provider for barrel_mcp.

No authentication provider for barrel_mcp.

MCP client for connecting to external MCP servers.

Authorization behaviour for barrel_mcp_client.

Static bearer-token auth for barrel_mcp_client.

OAuth 2.1 + PKCE authorization for barrel_mcp_client.

Behaviour for handling server-initiated MCP messages.

Default no-op handler for barrel_mcp_client.

Streamable HTTP transport for barrel_mcp_client.

stdio transport for barrel_mcp_client.

Supervisor for barrel_mcp_client workers.

Transport behaviour for barrel_mcp_client.

Federation registry for connected MCP clients.

Simple HTTP transport for MCP (POST/OPTIONS, no sessions/SSE).

Transport-neutral MCP HTTP engine.

Built-in HTTP/1.1 + HTTP/2 server for the MCP HTTP transports.

MCP Streamable HTTP Transport (Protocol Version 2025-03-26).

Cursor-based pagination walker for MCP */list methods.

MCP protocol implementation over JSON-RPC 2.0.

Handler registry for MCP tools, resources, and prompts.

Minimal JSON Schema validator for MCP tool inputs.

MCP Session Management.

stdio transport for MCP protocol.

barrel_mcp top level supervisor.

Long-running operation registry (MCP tasks).

Translators between MCP tool shapes and LLM provider tool shapes (Anthropic Messages API, OpenAI Chat Completions / Responses).

Minimal RFC 6570 Level-1 URI Template matcher and expander.