Skip to content

vendor_connectors.mcp

Unified MCP Server for Vendor Connectors.

This module provides a single MCP (Model Context Protocol) server that exposes ALL vendor connectors as tools via the registry.

Usage:

vendor-connectors-mcp

# Or programmatically
from vendor_connectors.mcp import create_server, main
server = create_server()

The server automatically discovers all registered connectors and exposes their public methods as MCP tools.

This provides the bridge between TypeScript (@agentic/control) and Python with zero custom code - just standard MCP over stdio.

_check_mcp_installedCheck if MCP SDK is installed.
_get_method_schemaGenerate JSON schema from method signature.
_get_public_methodsGet public methods from a connector class (excluding dunder and private).
create_serverCreate the unified MCP server with all registered connectors.
mainRun the MCP server over stdio.

Check if MCP SDK is installed.

Generate JSON schema from method signature.

Get public methods from a connector class (excluding dunder and private).

Create the unified MCP server with all registered connectors.

Run the MCP server over stdio.