Skip to main content

mcp

Module available in app YAML. Connects to external MCP servers (stdio / SSE / HTTP). Remote tools appear as virtual Digitorn tools (mcp_<server>__<tool> naming).

PropertyValue
Module idmcp
Fixed RegisterTool listnone (dynamic virtual tools)
Configservers map (+ optional auto_install)

Enable​

yaml
tools:
modules:
mcp:
config:
servers:
example:
transport: stdio
command: npx
args: ["-y", "some-mcp-server"]
capabilities:
grant:
- module: mcp

Hub catalog and OAuth helpers exist in the daemon and Hub - prefer the live Hub install flow over hand-written server entries when one is available.

Remote servers​

stdio spawns a local process (command/args/env). sse and streamable_http instead connect to a server already running somewhere else, over url + headers:

yaml
tools:
modules:
mcp:
config:
servers:
hosted:
transport: streamable_http
url: "https://example.com/mcp"
headers:
Authorization: "Bearer {{secret.HOSTED_MCP_TOKEN}}"

Full field-by-field coverage, including the inline OAuth auth: block, is on the MCP language page.