Skip to main content

Installation

mcp-exec ships as an MCP server. Pick your agent below.

Requirements​

  • Node.js 20.12+
  • uv (Python runtime) — curl -LsSf https://astral.sh/uv/install.sh | sh
  • macOS or Linux (sandbox uses sandbox-exec on macOS and bubblewrap on Linux; Windows is not supported)

Agent setup​

Claude Code MCP docs

Via the agent-marketplace (recommended):

# Add the marketplace (one-time setup)
claude plugin marketplace add joeblackwaslike/agent-marketplace

# Install mcp-exec
claude plugin install mcp-exec

Then prime your CLAUDE.md so the model knows when to use it:

mcp-exec prime # global (~/.claude/CLAUDE.md)
mcp-exec prime --local # project-level (.claude/CLAUDE.md)
Why prime?

Skills activate ~40% of the time from the skills directory alone. Priming adds a trigger rule to CLAUDE.md that brings reliability to ~90–95%. The command is idempotent — safe to run more than once.

Manual setup

1. Register the MCP server — add to .claude/mcp.json:

{
"mcpServers": {
"mcp-exec": {
"command": "npx",
"args": ["@joeblackwaslike2/mcp-exec"]
}
}
}

2. Prime your CLAUDE.md:

mcp-exec prime # global (~/.claude/CLAUDE.md)
mcp-exec prime --local # project-level (.claude/CLAUDE.md)

Verification​

After installation, verify the server is running correctly by asking your agent:

Use tools() to list available MCP tools.

If mcp-exec is connected, the agent will call tools("") and return a trimmed summary of your connected MCP servers' tools — without loading full schemas into context. You should see output like:

Found 14 tools across 3 servers:

github / list_pull_requests — List open pull requests for a repository
github / search_issues — Search issues by query string
linear / search_issues — Search Linear issues by assignee, state, or label
slack / post_message — Post a message to a Slack channel
...

If the agent doesn't call tools() and instead falls back to listing tools from memory, priming is likely missing. Run mcp-exec prime and start a new session.

Checking the server process

You can also verify the server is registered by checking your agent's MCP server list. In Claude Code: /mcp shows connected servers. If mcp-exec is listed, the server started successfully.

Next steps​