Coding agents

Connect Claude Code, Codex and others with moor mcp, and what limits them.

On this page

Coding agents can deploy to Moorage and read how it went, through moor mcp or the command line. This page says how to connect one, what it can do, and what limits it.

moor mcp setup --client claude-code --app shop

That makes a token that can only read, keeps it in a context of its own, and tells Claude Code how to run moor mcp.

Connect a client#

moor mcp setup makes the token, and takes --client with any of the names here. Where a client has a command of its own, it runs that. Otherwise it says what to put where. With no --client, it lists them all, with the whole path to moor, as a desktop app does not start from your shell.

Client--clientIt runs, or says to putIts documentation
Claude Codeclaude-codeclaude mcp add --transport stdio --scope user moorage -- moor mcpMCP
Codex CLIcodexcodex mcp add moorage -- moor mcpMCP
VS Codevscodecode --add-mcp with the server as JSONMCP
Gemini CLIgeminigemini mcp add -s user moorage moor mcpMCP
Clineclinecline mcp add moorage --yes -- moor mcpMCP
Cursorcursor~/.cursor/mcp.jsonMCP
Antigravity CLIantigravity~/.gemini/config/mcp_config.jsonMCP
Devin Desktop, formerly Windsurfdevin~/.config/devin/mcp_config.jsonMCP
Juniejunie~/.junie/mcp/mcp.jsonMCP
Kiro, IDE and CLIkiro~/.kiro/settings/mcp.jsonMCP
JetBrains AI AssistantjetbrainsSettings, Tools, AI Assistant, Model Context Protocol (MCP)MCP
ZedzedIts settings, under context_serversMCP
Goosegoose~/.config/goose/config.yamlExtensions
Claude Desktopclaude-desktopclaude_desktop_config.jsonMCP

Kiro's IDE and kiro-cli read the one file, so that setting up either sets up both, and kiro-cli and kiro-ide are other names for --client kiro. moor mcp setup says what to put in that file. It does not run kiro-cli mcp add, which takes a server as one string and does not document how to give it the server's own flags. KIRO_HOME moves that file if you have set it. Kiro's autoApprove skips its prompts for the tools it lists, so that it is best to leave deploy, rollback and restart off.

These were each read from the client's own documentation in November 2026, and these tools change quickly, so that their pages have the last word. Clients that take only a remote server, such as ChatGPT, cannot use it yet, as moor mcp runs on your own computer.

The token goes in moor's own file, which only you can read, and in no client's configuration or repository. If a client runs on another computer or in a container, give it $MOOR_SERVER and $MOOR_TOKEN instead, with a token from moor tokens create.

What it can do#

ToolDoesAvailable
list_apps, get_appWhat exists and how it standsAlways
list_deployments, get_deploymentStages, status and the end of the logAlways
read_logsThe newest lines, filtered if askedAlways
list_releasesWhat has run, and what can be gone back toAlways
check_manifestChecks a local moorage.toml, and says how Moorage would build and run the appAlways
deployUploads a directory, and returns at once with an id to ask about--allow-deploy
rollback, restartServes an earlier release again, or replaces what is running--allow-deploy

Nothing here runs a command, reads a secret or deletes anything, and nothing manages domains, gates, members, tokens or the server. That is on purpose: a tool that runs commands would put what an app has written, its secrets and the way out all in one call.

check_manifest and deploy read only below the directory that moor mcp started in, or --root DIR, with the same rules as moor deploy for what to leave out. They refuse if that directory is your home directory or above it, a directory that is hidden or ignored, and a tree with a link that leads out of it. If a client starts it somewhere else, say where to read from:

moor mcp --root ~/code/shop --app shop

Letting it deploy#

moor mcp setup --client claude-code --app shop-dev --deploy

With --deploy, a token can deploy, roll back and restart, and only in previews, unless you say --envs all. Such a token:

What this does not do#

The token is the boundary, and nothing else here is. An agent with a shell can go around moor mcp altogether, and a tool's own description of itself is only advice to a client. So:

moor mcp refuses a token that can do everything, and does not fall back on what moor login stored, which never expires.

Telling an agent how#

An agent does better knowing what Moorage is, and what to be careful of:

moor agent init --app shop

That writes a section of AGENTS.md, and an Agent Skill in .agents/skills, .claude/skills and .kiro/skills, which between them most clients read. They teach moor and the tools, and hold no token, so that you can commit them. Running it again brings them up to date, and leaves the rest of AGENTS.md as it was.

Claude Code reads AGENTS.md only where there is no CLAUDE.md. It finds the skill either way, or you can add @AGENTS.md to CLAUDE.md.

With no MCP at all#

An agent with a shell can use moor itself, which is often just as good. Lists take --json, and the skill teaches it. Give it a narrow token the same way:

moor mcp setup --app shop --deploy
moor context use agent

See also#

Suggest a change to this page