Skip to main content

MCP Configuration

This page focuses on configuration tasks in agent.yml and runtime overrides. For concepts, transports, manager APIs, and advanced patterns, see the MCP section.

agent.yml

Add servers under mcpServers:

mcpServers:
filesystem:
type: stdio
command: npx
args:
- @modelcontextprotocol/server-filesystem
env:
ROOT: ./
puppeteer:
type: stdio
command: npx
args:
- @modelcontextprotocol/server-puppeteer

See: MCP › Configure Connections

Runtime changes

  • Add/update/remove servers dynamically via the SDK or REST APIs
  • Events: dexto:mcpServerAdded, dexto:mcpServerUpdated, dexto:mcpServerRemoved

See: MCP › MCP Manager

Next steps