The plugin installs the local
monk-agent companion and connects to its MCP endpoint on 127.0.0.1:7419. The agent still asks for approval before privileged Monk operations.Choose the Right Install Flow
| Flow | Best for | What configures Monk |
|---|---|---|
| IDE extension setup | VS Code, Cursor, Windsurf, Antigravity, Copilot, and existing IDE workflows | The Monk extension writes MCP config for the current workspace |
| Agent plugin setup | Claude Code, Codex, and Cursor users who want direct plugin install | The host plugin installs the Monk skill, starts monk-agent, and exposes Monk over MCP |
Requirements
- Claude Code, OpenAI Codex, or Cursor with plugin support.
- Network access to GitHub and
https://get.monk.io/stableso the plugin can download the signedmonk-agentarchive. - Permission to run a local helper process on loopback, normally
127.0.0.1:7419. - On macOS and Linux, a shell that can run the bundled
scripts/start-monk-agent.sh. - On Windows, PowerShell or
cmd.exefor the bundled Windows launcher.
monk-agent under your user profile:
| OS | Installed files |
|---|---|
| macOS / Linux | ~/.monk/bin/monk-agent, ~/.monk/bin/monk-agent.sha256, ~/.monk/agent |
| Windows | %USERPROFILE%\.monk\bin\monk-agent.exe, %USERPROFILE%\.monk\bin\monk-agent.sha256, %USERPROFILE%\.monk\agent |
Install in Claude Code
Run these commands inside Claude Code:/mcp.
Updating Claude Code
When a new Monk plugin version is available, update and reload:Install in Codex
Add the Monk marketplace from your terminal:monk-plugins marketplace and install Monk. Restart Codex after installation so the Monk skill and MCP config are loaded.
Verify the MCP connection:
/mcp again.
The tested Codex CLI command is
codex marketplace add monk-io/monk-plugin. Do not use codex plugin marketplace add; that is not the Codex CLI marketplace command.Install in Cursor
Run this command inside Cursor chat:monk server. Clearing host-side MCP auth is not the same as signing out of Monk; after auth is cleared, the Monk MCP endpoint returns 401 until Cursor obtains a new bearer token.
What Happens During Plugin Startup
After the host installs the plugin:The host loads the Monk skill and plugin manifest
Claude Code, Codex, or Cursor reads the plugin metadata and makes Monk available to the agent.
The plugin starts monk-agent
The bundled launcher installs
monk-agent if it is missing, starts it locally, and waits for the MCP endpoint.monk-agent checks runtime state
The local agent verifies Monk CLI, daemon, auth, and workspace state. If setup is needed, it opens the local dashboard or browser sign-in flow.
monk ... shell commands to operate live Monk-managed infrastructure.
Local Development Install
Use these commands only when testing a local checkout.Claude Code local plugin
From Claude Code:monk-agent checkout, you can refresh the generated plugin and local agent together:
monk-agent, installs it to ~/.monk/bin, renders the generated plugin, restarts the local agent, and refreshes Claude Code’s local plugin marketplace/cache copies.
Codex local plugin
From a localmonk-agent checkout:
/plugins, open the monk-plugins marketplace, and install Monk.
Uninstall
First uninstall the plugin from the host:| Host | Uninstall path |
|---|---|
| Claude Code | Use Claude Code’s plugin commands for monk@monk-plugins |
| Codex | Open /plugins and remove Monk from the monk-plugins marketplace |
| Cursor | Remove Monk from Cursor’s plugin UI |
Troubleshooting
The host does not show Monk
- Reload or restart the host after installation.
- In Claude Code, run
/reload-plugins, then/mcp. - In Codex, run
/pluginsand confirm Monk is installed frommonk-plugins. - In Cursor, open Settings → Tools & MCP and confirm Monk is enabled.
The MCP server is missing or offline
- Confirm no other process is blocking
127.0.0.1:7419. - Restart the host so the bundled launcher can start
monk-agentagain. - If you are testing locally, rebuild the plugin with
deno task plugin:buildbefore installing it.
Authentication is required
- Claude Code: run
/mcpand use the MCP authentication prompt. - Codex: run
codex mcp login monk. - Cursor: use Cursor’s MCP login flow for the
monkserver.
The plugin downloaded but Monk runtime setup is incomplete
Ask your coding agent:Troubleshooting
More setup and connection issues

