Overview
Custom MCP servers let you extend your agents with any tool — proprietary APIs, internal services, web scrapers, on-chain data, or anything with an MCP-compatible interface. This guide walks through adding a custom server via the MCP Servers page in the portal. No code changes to the platform required.Looking to build an MCP server that ships with the platform itself? See Build a Built-in MCP Server.
Prerequisites
- A running muxAI instance
- An MCP server to connect (either a local stdio process or a remote HTTP endpoint)
Open the MCP Servers page
Navigate to MCP Servers in the sidebar under Platform. The page shows two sections:- Built-in — servers that ship with muxAI (read-only)
- Custom — servers you’ve added (editable)
Add a server
Click Add Server to open the form. You can add servers in two ways:Option 1: Paste JSON
Paste your MCP config
Paste a standard MCP configuration block:You can include multiple servers in a single paste — they’ll all be imported.
Review the preview
muxAI parses the JSON and shows a preview of each server it found: name, transport type, command or URL, and arguments.
Option 2: Manual entry
Fill in the fields
| Field | Required | Description |
|---|---|---|
| Name | Yes | Unique identifier (e.g. my-price-feed) |
| Command / URL | Yes | For stdio: the binary to run (e.g. node, python). For HTTP: the server URL. |
| Arguments | stdio only | Arguments passed to the command (e.g. ["path/to/server.js"]) |
| Headers | HTTP only | Authentication or custom headers as JSON (e.g. {"Authorization": "Bearer ..."}) |
| Description | No | Shown in the UI to help you identify the server |
Transport types
stdio
Runs as a local process on the same machine as muxAI. The agent communicates over stdin/stdout.Best for: local scripts, CLI wrappers, anything that runs alongside the platform.
HTTP
Connects to a remote server via URL. Supports optional authentication headers.Best for: cloud-hosted servers, shared team servers, third-party MCP services.
Verify the server
After adding, the server appears in the Custom section of the MCP Servers page. To confirm agents can access it:- Make sure the agent is set to Built-in MCP mode (the default). Custom servers are merged into the built-in config at runtime.
- Run the agent — it will have access to all tools exposed by your server.
- Check the agent’s run logs to verify tool calls are reaching your server.
Managing custom servers
- Edit: Click a custom server to update its configuration.
- Delete: Remove a server from the database. Agents will no longer have access to it on their next run.
Tips
- Naming: Server names must be unique. The agent sees tools as
mcp__<server-name>__<tool-name>. - stdio debugging: If a stdio server isn’t working, test it directly in your terminal first (
node path/to/server.js) to check for startup errors. - HTTP auth: For servers behind authentication, add the required headers in the Headers field. These are sent with every request.
- MCP mode matters: Custom servers only apply in Built-in mode. In Global mode, agents use your Claude CLI config instead.
Want to package a server as a permanent part of your muxAI installation? See Build a Built-in MCP Server for creating servers in the
packages/ directory.
