Skip to main content

Connections (MCP Servers)

MCP (Model Context Protocol) is a protocol that gives AI agents a standard way to reach external tools and services without each one needing a custom integration. In Headmaster, adding an MCP server instantly extends the agent’s capabilities.

Transport types


Common MCP servers

See the full MCP Server List for more.

Adding an MCP server

By JSON config

1

Open MCP management

Go to Settings → Headmaster’s Library → Connections → MCP tab.
2

Click Add MCP Service → Add via JSON

Paste your server config.
3

Confirm

Headmaster validates the config and tests the connection automatically.
stdio (local CLI server) example:
Remote (SSE / HTTP) example:

By importing from a CLI agent

1

Click Add MCP Service → Import from CLI

Select which CLI agent to import from (Claude Code, Codex, Gemini CLI, Qwen Code, Cursor, etc.).
2

Review and save

Headmaster reads the CLI’s existing config and imports it directly.
This is the fastest path if you already have MCP servers configured in another CLI tool.

Shared across all specialists

When you add an MCP server, it’s available to all specialists automatically — add once, every specialist can use it. Headmaster also syncs enabled MCP servers to all detected CLI agents. If you have Claude Code and Codex both installed, enabling a server in Headmaster makes it available to both.

Managing your servers

Server status

Operations

  • Enable / Disable — toggle switch. Headmaster syncs enabled servers to all detected CLI agents.
  • Test connection — click the refresh button to re-test.
  • Edit — click edit, modify, and save (auto re-tests on save).
  • Delete — click delete, confirm. Automatically removes from all synced CLI tools.

Troubleshooting

Possible causes: Incorrect path, missing dependencies, network issue, permissions.Solutions: Check command/args, run npm install -g for the server package, check network and permissions.
Possible causes: Bad implementation, version mismatch, missing parameters.Solutions: Check the service implementation, update the server version, add missing env vars.
Possible causes: Old CLI version, format mismatch, bad CLI installation.Solutions: Update the CLI, disable/re-enable the service, verify CLI installation.
Possible causes: Command not found, missing environment variables.Solutions: Verify the command runs in a terminal first, check env keys in your config.
Possible causes: Network, firewall, wrong URL.Solutions: Test with curl -I <url>, check firewall rules, verify the URL is correct.

Tools & Toolsets

The 60+ built-in tools and how to configure them per specialist.

Your Crew

How MCP servers sync to external CLI agents.