What is MCP?
MCP (Model Context Protocol) is how agents access external tools. An MCP server exposes a set of tools (functions) that the agent can call during a run. muxAI manages which MCP servers each agent can access.Built-in servers
muxAI ships with several MCP servers out of the box:
Built-in servers are registered in
config/mcp-registry.json and automatically available when an agent uses Built-in MCP mode.
Custom servers
Add your own MCP servers through the MCP Servers page. Two transport types are supported:stdio
Runs as a local process. You provide the command and arguments. The agent communicates over stdin/stdout.Example: a Python script that wraps a proprietary API.
HTTP
Connects to a remote server via URL. Optionally include authentication headers.Example: an MCP server running on another machine or cloud service.
Adding a custom server
- Paste JSON
- Manual
Paste a standard MCP config JSON block. muxAI parses it, shows a preview, and imports all servers at once.
MCP modes
Each agent is configured with one of two MCP modes:
Built-in mode is recommended. It prevents global MCP servers from leaking into agent runs and ensures reproducible behavior.
How it works at runtime
When an agent runs in Built-in mode, muxAI:- Reads the built-in registry (
config/mcp-registry.json) - Loads custom servers from the database
- Merges them into a single MCP config JSON
- Passes it to the Claude CLI via
--mcp-config <path> --strict-mcp-config
Guides
Add a Custom MCP Server
Connect an existing MCP server through the portal UI. No code changes required.
Build a Built-in MCP Server
Create a new MCP server package that ships with your muxAI installation.

