How are integrations exposed to LLM agents?
MCP servers, function-calling schemas, SDKs per framework; tool search / dynamic tool loading.
Verdict
Most of these projects avoid loading hundreds of tool schemas into the model. Klavis and Nango have the clearest MCP routers. Executor goes further and lets the agent write code against the whole catalog.
Search-then-execute meta-tools. The Klavis Strata router shows five tools for any number of MCP servers. It ranks tools with local BM25, so it needs no embeddings API. The Nango agent-session MCP server adds nango_tool_search (Fuse.js), nango_execute, nango_proxy and nango_create_connection, and pages tools/list at 50 entries. ACI offers pgvector search over a REST API, with output in OpenAI, Anthropic or basic formats and three ACI_* meta-functions. Its MCP server is a separate repo. Composio sessions return meta tools and can be exported as a hosted MCP endpoint, and about two dozen provider adapters convert schemas for TypeScript and Python frameworks. Activepieces serves one MCP server per project with about 45 ap_* tools and a generic ap_run_action. The editor found that its semantic search is off by default (AP_TOOL_SEARCH_ENABLED=false), and that the search tools are not registered when it is off.
Code mode. Executor exposes one execute tool. The agent writes JavaScript that calls tools.search and tools.<integration>... inside a QuickJS sandbox. Its ?mode=passthrough offers search/invoke, and the editor confirmed that each invoke still runs through the sandbox.
Plain MCP tool lists. ContextForge groups upstream tools into virtual servers over Streamable HTTP, SSE or WebSocket, with cursor pagination but no search meta-tool. merge-mcp builds a fixed stdio tool list at startup from the account’s permissions.
Metadata only, exposure hosted. Pipedream actions carry MCP annotations, ai: "optimized" and static prop variants, but its MCP server runs in the cloud. Metorial lists actions over its own JSON-RPC protocol with JSON Schema and readOnly/destructive tags. The editor found no MCP server or Docker runtime in this repo.
Pick: Klavis Strata to put one MCP endpoint in front of servers you already run. Pick: Nango or ACI for search plus per-user credentials behind one API. Pick: Executor if your model writes reliable code and you want multi-step calls in one round trip.
Per-project answers
ComposioHQ/composio
answeredTools are exposed to LLM agents via two mechanisms. Provider adapters convert Composio's generic Tool schema into the native tool format for a specific agent framework. The SDK ships ~14 Python providers (python/providers/: openai, anthropic, langchain, crewai, autogen, google, gemini, llamaindex, etc.) and ~13 TypeScript providers (ts/packages/providers/). Each subclasses BaseProvider (Python: python/composio/core/provider/base.py:62-100) and implements wrap_tools() to transform tool schemas — for example, OpenAIProvider.wrap_tool() (Python: python/composio/core/provider/_openai.py:30-42) maps each tool to an OpenAI ChatCompletionToolParam with type: "function" and a FunctionDefinition. The second mechanism is MCP (Model Context Protocol): every session optionally exposes a hosted MCP endpoint (composio.create(userId, { mcp: true }) returns a session with session.mcp.url and session.mcp.headers), allowing any MCP-capable client (Claude Desktop, Cursor) to connect directly. For dynamic tool loading, sessions use a Tool Router pattern: calling session.tools() without filtering returns meta-tools that let the agent search for, authenticate, and execute tools at runtime without loading hundreds of definitions into context. The meta-tools include search tools, auth-config listing, and connected-account management — the agent discovers what it needs on demand.
activepieces/activepieces
answeredIntegrations are exposed to LLM agents through two channels: MCP (Model Context Protocol) and semantic tool search.
MCP server is the primary agent interface. buildMcpServer() creates an McpServer from the @modelcontextprotocol/sdk with instructions describing the workflow DSL (step references, piece naming, auth patterns) (packages/server/api/src/app/mcp/mcp-server-builder.ts:22-39, 41-73). Two classes of MCP tools are registered: static tools (50+ Activepieces-managed operations like ap_create_flow, ap_add_step, ap_search_actions, ap_get_run, ap_test_flow) and flow tools (each MCP-triggered flow in a project becomes a tool calling its toolName, description, and input schema from the flow's trigger McpTrigger settings) (packages/server/api/src/app/mcp/mcp-server-builder.ts:202-233, 292-307). The MCP server supports OAuth2 client authentication, per-tool permission checking (McpPermissionChecker), per-call billing/usage tracking, and activity recording (packages/server/api/src/app/mcp/mcp-server-builder.ts:77-83).
Semantic tool search is powered by pgvector. toolSearchService.searchActions() and searchTriggers() embed the user query via an AI model into a vector, then run a cosine-similarity scan over the tool_search_index table: 1 - (embedding <=> $1::vector) AS cosine with tenant isolation, platform piece filtering, and audience exclusion (packages/server/api/src/app/tool-search/tool-search.service.ts:31-46, 70-141). A τ-gate (applyNoMatchGate) rejects semantically distant results. When no embedder is available or embedding fails, it degrades gracefully to a keyword search via the pieceMetadataService.list + piece suggestedActions/suggestedTriggers catalog (Fuse) (packages/server/api/src/app/tool-search/tool-search.service.ts:150-180). Results include connected status (whether the project has an active AppConnection for the piece). Each action also carries audience (human/ai/both) and classification (READ/SEARCH/WRITE/DESTRUCTIVE) for agent-appropriate filtering (packages/pieces/framework/src/lib/piece-metadata.ts:52-67).
AP_TOOL_SEARCH_ENABLED=false), and with it off the ap_search_actions/ap_search_triggers tools are not registered. The generic ap_run_action tool, which runs any single piece action without a flow, is the main way an agent calls a piece directly.NangoHQ/nango
answeredIntegrations are exposed to LLM agents via MCP (Model Context Protocol) servers using @modelcontextprotocol/server and @modelcontextprotocol/node. The Agent Session MCP server (sessionServer.ts) registers every tool from the session's compiled toolset. Four meta-tools drive agent interaction: nango_tool_search (fuzzy search via Fuse.js — agentSessionToolSearch.service.ts), nango_execute (execute/execute.ts) to run any tool by name, nango_proxy for direct credential-injected API calls, and nango_create_connection to start auth flows. The Management MCP server (managementServer.ts) exposes 18 tools (list integrations, deploy functions, trigger syncs, proxy requests, etc.) for provisioning, authenticated by API key or OAuth2. Both servers support OAuth2 authentication via the OAuth server in oauth-server/lib/provider.ts using oidc-provider with PKCE required, rotating refresh tokens (rotateRefreshToken), and resourceIndicators. Tool tools/list paginates at 50 tools per page (sessionServer.ts:142-151). Tool search uses Fuse.js fuzzy matching across action name, description, integration, and provider names with stopword removal. The toolset policy (agentSessionToolset.service.ts) controls which integrations and actions are available per session, with * allowing all, explicit allow/deny lists, and pinned vs searchable tools.
PipedreamHQ/pipedream
answeredMCP annotations in action components. Every action can declare an annotations block containing destructiveHint, openWorldHint, and readOnlyHint booleans. These are MCP (Model Context Protocol) tool annotations that tell AI agents about the action's side effects (e.g. destructiveHint: true for delete operations, readOnlyHint: true for queries). Every GitHub action in the repository carries these annotations. The component guidelines mandate them.
Annotation registry CSV files. The repo ships two CSV files — one for Claude (registry-actions-claude-2025-09-29.csv, 6,709 entries) and one for ChatGPT (registry-action-chatgpt-2025-09-25.csv, 7,195 entries) — that map every published action's key to its NAME, DESCRIPTION, and all three MCP annotation values. These CSV files are consumed by scripts/tool-annotations/apply-annotations.js, which reads each entry, finds the corresponding action file, and injects/updates the annotations object.
Pipedream Connect as the MCP gateway. Actions are exposed as MCP tools via Pipedream Connect. The component guidelines state explicitly: "When exposed via MCP (Pipedream Connect), they appear as AI agent tools — the component's description and prop description fields become the agent's only documentation for how to call that tool correctly." The cloud-side Connect API serves the action registry as MCP-compatible tool definitions, with the annotations signalling capability constraints.
Static prop variants (MCP optimization). Several components define static, no-dropdown prop variants (e.g. repoFullnameStatic, projectNumberStatic) specifically so that AI-optimized actions resolve in a single tool call instead of requiring the multi-step configure-component/retrieve-options round-trip that dynamic dropdowns would need. This is documented in the prop descriptions as "MCP-friendly."
Klavis-AI/klavis
answeredTwo layers. Strata (open-strata/src/strata/server.py:1-206): single MCP server exposing 5 meta-tools (tools.py:22-145): discover_server_actions, get_action_details, execute_action, search_documentation, handle_auth_failure. list_tools() (server.py:81-90) returns only these 5. BM25 search (shared_search.py:47-151): UniversalToolSearcher with weighted indexes. MCP Clients (mcp_client.py:271-304): list_all_tools() converts to Anthropic/OpenAI formats. Per-LLM (llms/openai.py, llms/anthropic.py): streaming with tool calls, unified ChatMessage model. Platform bots: Slack, Discord, Web, WhatsApp. Formats (LLM.md:242-250): OpenAI, Anthropic, Gemini, MCP native.
aipotheosis-labs/aci
answeredIntegrations are exposed to LLM agents via three mechanisms. Semantic search is the primary discovery path: GET /v1/functions/search accepts a natural language intent, generates an OpenAI embedding, and performs a pgvector similarity search across all function embeddings (functions.py:66-156). Results are returned in OpenAI, Anthropic, or basic formats via format_function_definition (functions.py:277-315). Meta-functions give agents a structured tool to discover tools: ACI_SEARCH_FUNCTIONS, ACI_GET_FUNCTION_DEFINITION, and ACI_EXECUTE_FUNCTION are defined as OpenAI function-calling schemas in meta_functions.py:10-83. Agents call these meta-functions to find, inspect, and invoke integrations at runtime. Agent chat (POST /v1/agent/chat) provides a streaming OpenAI-compatible chat endpoint that resolves tool definitions from named functions, converts the conversation format, and streams GPT-4o responses with tool calls (agent.py:33-68, prompt.py:62-108). The Unified MCP server is NOT in this repository — it lives in the separate aci-mcp repo (README.md:21-24), referenced as an external service that wraps the ACI.dev REST API. On the SDK side, the README references a Python SDK (aci-python-sdk). App-level filtering ensures agents only see functions from their allowed_apps and enabled app configurations (functions.py:96-131).
IBM/mcp-context-forge
answeredIntegrations are exposed to LLM agents via the MCP protocol through multiple transport mechanisms.
MCP Server: The gateway creates an MCP server instance (mcp_app in the Streamable HTTP transport) and registers request handlers for tools/list, tools/call, resources/list, prompts/list, and more. Each handler is an _adapt_* function that bridges between the typed MCP types library and the internal service layer.
Transport protocols: Three MCP transports expose the server: Streamable HTTP (primary, at POST /mcp), SSE (at /mcp/sse + /mcp/message), and WebSocket. The MCPIngressMount provides a swappable mount point for /mcp, supporting multiple ingress backends including an experimental Rust proxy.
Tool listing: The list_tools() function returns all tools available through the gateway. It supports two modes: cache (returns tools from the database, previously discovered during gateway registration) and direct_proxy (forwards the request to the remote MCP server using the MCP SDK client).
Dynamic tool loading: Tools are discovered during gateway registration via _initialize_gateway_with_timeout() which performs MCP capability handshake and stores results in the database. ToolService.list_tools() supports cursor-based pagination, tag filtering, gateway filtering, and token-team RBAC enforcement.
Function-calling schemas: Each tool stores a JSON Schema input_schema from the upstream MCP server, exposed through tools/list as MCP Tool objects with name, description, and inputSchema — directly consumable by MCP-compatible LLM clients.
There are no separate SDKs per framework — the gateway IS the API surface. Plugin hooks via CPEX can intercept and modify tool calls before execution.
UsefulSoftwareCo/executor
answeredIntegrations are exposed to LLM agents exclusively through the Model Context Protocol (MCP). The MCP host surface lives in packages/hosts/mcp/.
Serving envelope (envelope.ts): The McpServingRoutes HTTP router (line 432) serves the MCP streamable-HTTP endpoint at /mcp. It handles auth via a pluggable McpAuthProvider, CORS preflight, session lifecycle (create via POST, send per mcp-session-id header), and routes JSON-RPC requests to the session store. Errors use jsonRpcErrorBody() (line 103) for byte-identical response bodies across all hosts.
Tool surface (tool-server.ts): The createExecutorMcpServer() factory builds the full MCP server. It registers tools including execute (runs code against the sandbox with access to all tools), resume (resumes a paused execution for approval gates), skills (instruction inventory), search (tool discovery), and five artifact tools. Elicitation supports three modes: browser (pop-up approval page), model (inline confirmations), and native (MCP native approvals).
Tool addressing: The executor presents a tool catalog where each tool is addressable as tools.<integration>.<owner>.<connection>.<tool>. This is described via describe.tool which returns TypeScript schemas. Tools can be discovered dynamically via the search tool, which returns paginated, ranked results.
Passthrough mode: An alternative ?mode=passthrough serves search + invoke directly (no sandbox), for agents that don't need code execution but want to call tools directly.
SDK embeddings: The TypeScript SDK (packages/core/sdk/src/promise.ts) exposes createExecutor() which accepts an array of plugins and returns a Promise-based Executor handle. From there you call executor.tools.list(), executor.tools.schema(), or executor.call() with raw tool addresses. The Effect-native SDK is also available for Effect-based consumers.
Code execution runtime: The ExecutionEngine in engine.ts provides both inline execution and pause/resume execution. It discovers tools through a ToolDiscoveryProvider that wraps executor.tools. Tool calls inside code dispatch through makeFullInvoker() which handles search, integration listing, describe, and the base invoker for connected tools.
invoke is turned into a one-line generated program and run through engine.execute; policy approvals are auto-accepted because every passthrough invoke is advertised to the client as destructive.metorial/metorial
answeredExposed as JSON-RPC methods via SlatesProviderProtoHandler (packages/proto/src/handler/provider.ts). Provider-handler registers slates/actions.list, slates/action.get, slates/action.tool.invoke, trigger group methods (packages/provider-handler/src/index.ts).
Actions listed via slates/actions.list return id, name, description, JSON Schema input/output, tags, scopes, authMethods (packages/provider-handler/src/spec.ts:122-158). Compatible with LLM function-calling.
External SDKs (metorial-node, metorial-python) wrap Slates protocol for agent frameworks. The Metorial Platform runs MCP servers in Docker (README.md:339-341), external repo. CLI provides listTools, getTool, listTriggerGroups (packages/cli/src/cli.ts:38-80). Chat adapter capabilities enable dynamic tool loading (adapters/chat/src/adapter.ts:6-83).
merge-api/merge-mcp
answeredIntegrations are exposed through the MCP (Model Context Protocol) stdio interface. The serve function in server.py:11-31 creates an mcp.server.Server named "merge-mcp" and registers two handlers: list_tools (which returns the current tool list) and call_tool (which dispatches execution). Tools are dynamically generated once during initialization: ToolManager.async_init (tool_manager.py:68-69) calls fetch_tools which uses asyncio.gather (tool_manager.py:74-95) to concurrently convert every operation schema from the SchemaIndex into an MCP Tool object. Each tool's inputSchema is a JSON Schema object produced by SchemaParser.extract_input_schema_and_update_parameters (schema_parser.py:20-58), which unpacks path/query/body parameters. For POST/PATCH operations that need a model schema, the tool manager either populates the schema via a meta endpoint call (tool_manager.py:166-180) or prepends a companion meta tool that the agent should call first (tool_manager.py:182-206). Tool availability is gated by scopes: ScopeManager (scope_manager.py:17-74) intersects the user's --scopes CLI argument with the account's API-enabled scopes, so only permitted operations are built into tools. There is no dynamic tool loading after startup — the tool list is fixed for the process lifetime. The server communicates over stdio (stdio_server), meaning any MCP-compatible client (Claude Desktop, custom Python clients via mcp SDK) can connect.
← How is an integration / connector defined? · How is a tool call executed? →