Skip to main content
Idun Agent Platform uses the Model Context Protocol (MCP) to extend agent capabilities with external tools. You define MCP servers at the platform level, then attach specific servers to individual agents. Each agent can only access the tools from its assigned servers, so you control exactly what each agent can do.
The langgraph-tool-local template shows how to mix local tools with MCP tools from the platform in a single agent.

How tool governance works

  1. Register MCP servers in the Manager UI or YAML config with transport settings and connection details
  2. Attach servers to agents through per-agent allowlists, so each agent only sees the tools you assign
  3. The engine discovers tools from each configured MCP server at startup
  4. Agents invoke tools during conversations as needed, with results passed back for response generation

Per-agent tool allowlists

Every agent has its own list of MCP servers. An MCP server registered in the platform is not available to an agent until you attach it. This means you can:
  • Give a customer support agent access to a CRM tool but not a database query tool
  • Let a research agent fetch web content but block file system access
  • Share the same MCP server across multiple agents or restrict it to one

Transport types

MCP servers connect to the engine through one of four transport protocols:
TransportUse caseRequired fields
stdioLocal processes, Docker containerscommand, args
sseRemote servers with Server-Sent Eventsurl
streamable_httpRemote servers with HTTP streaming (default)url
websocketPersistent bidirectional connectionsurl

Configuration example

Define MCP servers in your config.yaml or through the Manager API:
1

Browse the transport catalog

Navigate to MCP Servers in the sidebar. The catalog shows transport type cards: Streamable HTTP, SSE, WebSocket, and STDIO.MCP server catalog
2

Add an MCP server

Click + on your transport type and configure the command/URL and connection details. The page includes a Quick Start Guide and a “Discover tools” button on existing server configs.Create STDIO MCP server
3

Attach to an agent

Attach the server to agents from the agent detail page.

Integration approaches

Framework integration

The engine provides helper functions to load MCP tools into your agent code:
from idun_agent_engine.mcp import get_adk_tools

idun_tools = get_adk_tools()
These functions discover all MCP servers attached to your agent and make their tools available. You do not need to configure individual tools.
get_langchain_tools() is an async function. Use await when calling it.
Last modified on March 22, 2026