mage-agent mcp as a subprocess.
Prerequisites
Complete Installation and Authentication before setting up IDE integration.Cursor
1
Open MCP settings
In Cursor, go to Settings → MCP (or open the Command Palette and search for “MCP Servers”).
2
Add mage-agent
Add the following server config:
3
Reload Cursor
Save the config and reload the window. Confirm that
mage-agent tools appear in the MCP tool list.Claude Code
1
Add the MCP server via CLI
.claude/settings.json in your project (or ~/.claude/settings.json globally):2
Restart Claude Code
Restart the Claude Code session. Run a quick sanity check:
“Use the pipeline_list tool to list my Mage pipelines”
OpenAI Codex CLI
1
Edit your Codex config
Add
mage-agent to the mcpServers section of your Codex config file:2
Restart Codex CLI
Restart Codex CLI and verify tools and resources are visible.
PATH issues
Ifmage-agent is not found when the IDE launches the MCP server, use the absolute path to the executable:
Skill resources
When connected, your AI assistant can also read four Markdown guidance resources that describe how to interact with Mage:
These are loaded automatically from your cluster at login time (with bundled fallbacks if the cluster is unreachable).