mage-agent exposes a Model Context Protocol (MCP) server over stdio. Any MCP-compatible AI client can connect by launchingDocumentation Index
Fetch the complete documentation index at: https://docs.mage.ai/llms.txt
Use this file to discover all available pages before exploring further.
mage-agent mcp as a subprocess.
Prerequisites
Complete Installation and Authentication before setting up IDE integration.Cursor
Open MCP settings
In Cursor, go to Settings → MCP (or open the Command Palette and search for “MCP Servers”).
Claude Code
Add the MCP server via CLI
.claude/settings.json in your project (or ~/.claude/settings.json globally):OpenAI Codex CLI
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:| Resource URI | Content |
|---|---|
skill://pipeline | Pipeline CRUD patterns and conventions |
skill://blocks | Block inspection and editing guidance |
skill://executions | Run triggers and log retrieval |
skill://sync | Sync operations and conflict handling |