/angreal:angreal-mcpfrom angreal
Guides users on the built-in MCP server for angreal, which injects project task trees into AI assistants via structured context. Helps with setup, configuration, and understanding how ToolDescription and risk_level flow into agent context.
Ships in angreal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
angreal mcp is a built-in Model Context Protocol stdio server that injects a project's task tree into any connected MCP client at handshake time. It is the portable, client-agnostic way to make a project's automation discoverable to AI assistants.
It is: structured context/prompt injection delivered over the MCP protocol. The server implements MCP 2024-11-05 and responds to five methods (initialize, tools/list, resources/list, prompts/list, ping). The entire useful payload is the instructions string returned in the initialize response — a markdown document containing:
angreal tree --long), including each command's name, argument signature, about line, and any ToolDescription prose + risk_level.That instructions field is a documented MCP feature meant exactly for this purpose — context an agent carries for the duration of the session. The client receives it once at connect, treats it as system-level guidance, and proceeds.
It is NOT a callable-tool MCP server. tools/list, resources/list, and prompts/list all return []. The agent never calls back into the server after the handshake — it runs tasks the normal way (angreal <command> via its own shell tool).
Exposing each angreal task as an MCP tool would seem more "MCP-native," but it doesn't fit the workload:
So Angreal splits the concerns cleanly: MCP is the discovery channel, the shell is the execution channel. The handshake teaches the agent what tasks exist and when to use them; the agent then invokes them through the channel that's actually good at long-running processes.
angreal mcp
Must be run from inside an angreal project (a directory containing .angreal/). The server reads JSON-RPC from stdin and writes responses to stdout. It is not a long-lived daemon — MCP clients launch one process per connection.
.mcp.json)In the project root or ~/.claude/.mcp.json:
{
"mcpServers": {
"angreal": {
"command": "angreal",
"args": ["mcp"],
"cwd": "/absolute/path/to/your/project"
}
}
}
The cwd field is critical — it must point to the directory containing .angreal/. Without it the server has no project to introspect and will exit. Use an absolute path; MCP clients don't always resolve relative paths predictably.
Any MCP client that supports stdio servers will work. The pattern is the same: invoke angreal mcp with cwd set to the angreal project root. Consult the specific client's documentation for the exact config file location and schema.
| Method | Behavior |
|---|---|
initialize | Returns server info, capabilities, and the task instructions document |
tools/list | [] |
resources/list | [] |
prompts/list | [] |
ping | {} (health check) |
| anything else | JSON-RPC -32601 Method not found |
The initialize response is the only one that carries real payload. The empty */list responses exist so MCP-conformant clients don't error out when they probe for tools/resources/prompts at startup.
ToolDescription Flows InTasks decorated with tool=angreal.ToolDescription(...) get their full prose and risk_level included in the MCP instructions document. This is the primary reason to write ToolDescriptions:
tool= → MCP sees just name [args] - about linetool= → MCP sees the full When-to-use / When-NOT / Examples / Recovery prose plus a risk_level tagSee the angreal-tool-descriptions skill for how to write effective descriptions. The MCP server is what surfaces them; without angreal mcp (or angreal tree --long), nobody sees them.
Recommend setting it up when the user:
pytest directly instead of angreal test pythonIf the user is already inside a Claude Code session in an angreal project, the SessionStart hook in this plugin already injects similar context — angreal mcp is for other MCP clients (Cursor, Continue, custom agents) or for Claude Code instances where the angreal plugin isn't installed.
| Symptom | Likely cause |
|---|---|
| Server exits immediately on connect | cwd doesn't contain .angreal/ |
| Agent doesn't know about new tasks | MCP client caches initialize — restart the client after editing task files |
instructions is missing tool descriptions | Tasks lack tool=angreal.ToolDescription(...) — only name/about will be exposed |
angreal: command not found from MCP client | Use the absolute path to the angreal binary in the command field, or ensure the client's PATH includes it |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
angreal, mcp-server, task-orchestration, ai-agent-integration
npx claudepluginhub angreal/angreal --plugin angreal10 skills in this plugin
/angreal-argumentsThis skill should be used when the user asks to "add arguments to a task", "use @angreal.argument", "add flags to command", "add -v flag to angreal task", "make argument required", "add optional parameter", "use python_type", "handle multiple values", "argparse for angreal task", "angreal cli args", or needs guidance on the @argument decorator, argument types, flags, default values, or CLI argument handling in angreal tasks./angreal-authoringThis skill should be used when the user asks to "create an angreal task", "write a task file", "add a command to angreal", "make a new task", "organize tasks with groups", "use @angreal.command", "use command_group", "use angreal.group decorator", "add long_about to a task", "require an angreal version", "same command name in different groups", or needs guidance on task file structure, the @command decorator, command groups (`command_group` and `@group(...)`), `required_version()`, naming conventions, or task organization within an existing angreal project./angreal-initThis skill should be used when the user asks to "create an angreal project", "initialize angreal", "set up angreal", "add angreal to project", "start new angreal project", "create .angreal directory", "scaffold into existing project", "angreal init --in-place", "add angreal to existing repo", or needs guidance on setting up angreal in a new or existing project (hand-rolled `.angreal/` or via an official template), or the initial task file structure./angreal-integrationsThis skill should be used when the user asks to "use Git in a task", "manage virtual environments", "use Docker Compose", "use the Docker class", "run docker container from task", "list docker containers in angreal", "clone a repository", "create a venv", "run docker-compose", "use angreal.integrations", "render a template", "scaffold files", "generate files from template", "use render_template", "use render_directory", "use Flox", "flox environment", "cross-language environment", "flox services", "@flox_required", or needs guidance on the built-in Git, VirtualEnv, Docker (compose or low-level client), Flox, or Tera templating integrations available in angreal tasks./angreal-patternsThis skill should be used when the user asks to "test angreal tasks", "mock angreal", "document tasks", "angreal best practices", "error handling in tasks", "subprocess patterns", "dry run mode", "verbose mode", "debug an angreal task", "ANGREAL_DEBUG", "propagate subprocess returncode", "angreal exit code 56", or needs guidance on testing patterns, development workflows, documentation strategies, or common implementation patterns for angreal tasks./angreal-pre-commitThis skill should be used when the user asks to "add a pre-commit hook for angreal", "run angreal tasks before commit", "run angreal on pre-push", "set up pre-commit for tests/lint", "configure .pre-commit-config.yaml for angreal", "make tests run automatically before commit", or needs guidance on wiring [pre-commit](https://pre-commit.com/) to invoke angreal tasks (test, lint, format, etc.) at git lifecycle stages.Other plugins' skills for the same job