Task Agent MCP
Works with the target project's Git repository, committing changes after passing tests and rolling back failed subtasks; rollback_all discards uncommitted changes.
Runs pytest after each subtask to validate changes, committing only when tests pass and rolling back when tests fail or no tests are found.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
task-agent-mcp
An MCP server that takes a coding goal for a Python project, asks Claude to split it into subtasks, has Claude rewrite the relevant files for each one, and runs pytest after every subtask. If the tests pass it commits, otherwise it puts the files back.
Install and run
git clone https://github.com/yerramsettianish0427/task-agent-mcp.git
cd task-agent-mcp
pip install -r requirements.txt
export ANTHROPIC_API_KEY=...
python task_agent_mcp.pyIt talks MCP over stdio, so normally a client starts it. For Claude Desktop,
add this to claude_desktop_config.json:
{
"mcpServers": {
"task-agent": {
"command": "python",
"args": ["/absolute/path/to/task_agent_mcp.py"],
"env": { "ANTHROPIC_API_KEY": "..." }
}
}
}The tools are scan_project, plan_task (subtasks only, no edits),
execute_task, check_status and rollback_all.
Related MCP server: ralph-loop-mcp
Example
Listing the tools from an MCP client and calling check_status before any
task has run:
tools: ['scan_project', 'plan_task', 'execute_task', 'check_status', 'rollback_all']
check_status: {"status": "idle", "message": "No active task"}execute_task returns JSON with each subtask, the files it touched, whether
the tests passed, and whether it was committed, rolled back or skipped.
Limits
The target project needs a git repo and a pytest suite. If pytest fails or finds no tests, every subtask gets rolled back.
Planning only sees the first 800 characters of the five largest files, and Claude returns whole files rather than diffs.
Python files only, one task at a time, and
execute_taskblocks until it finishes, socheck_statusis mostly useful afterwards.rollback_alldiscards uncommitted changes. It doesn't undo commits.The model is hard-coded (
claude-sonnet-5-5).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AI-powered spec-to-task decomposition and execution orchestration for coding agents.
Autonomous AI developers on your own infrastructure: assign a task, get a pull request.
Goal and task planning MCP for Codex and AI agents, with evidence-backed completion.
Codebase intelligence for agents: 152 structured artifacts across 21 programs, one call.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn autonomous agent that automates GitHub contributions end-to-end, from issue analysis and code changes to pull requests, conflict resolution, and review updates.172Apache 2.0
- FlicenseAqualityDmaintenanceAutomates a three-phase development workflow: planning, spec generation, and iterative task execution with verification.18-
- AlicenseNot gradedqualityCmaintenanceAn autonomous multi-agent orchestration layer that generates a bespoke software engineering organization for a given objective, runs parallel OpenCode workers in isolated git worktrees, and integrates reviewed code through a replan loop.MIT
- AlicenseAqualityBmaintenanceA machine-enforced workflow protocol for AI coding agents that eliminates false progress. Tasks require verifiable evidence to close, while decisions, assumptions, and open questions persist in a versioned reasoning graph for seamless agent handoffs. Designed to keep deep, long-running projects coherent across sessions, agents, and months.3932AGPL 3.0