Ashigaru
FreeNot checkedAn MCP server that enables autonomous code development by pulling GitHub issues, fixing them in a sandboxed environment, running tests, opening PRs, and promoti
About
An MCP server that enables autonomous code development by pulling GitHub issues, fixing them in a sandboxed environment, running tests, opening PRs, and promoting to production upon human approval.
README
Issues in, fixed bugs out. Ashigaru is a set of reusable GitHub Actions workflows that watch a repository's issues, sort bug-class work from feature work, and fix the bugs: it opens the pull request, answers the code review, and lets GitHub merge when the required checks pass. Feature requests are labeled and left for a maintainer. It runs on GitHub-hosted runners with Claude Code, on a Claude subscription token; there is no server to operate.
Named for the ashigaru (足軽), the foot soldiers a daimyo sent into the field.
Capabilities
- Triage: every new issue is read against the code and labeled. Bug, documentation and performance issues go to the code agent; features wait for a person. An issue from someone without write access is labeled too, but is fixed only when a maintainer says so.
- Code: a
ready-to-codeissue becomes a pull request fromashigaru/issue-Nwith auto-merge on. The repository's own pre-commit hooks run before the pull request opens, and failures go back to the same agent session. - Fix: after each review of a pull request the code agent opened, every finding gets an answer in its thread and failed checks get fixed, for at most five rounds.
- Sweep: every hour the oldest untriaged issues across enrolled repositories are queued for triage, and up to five waiting fixes are started, so a backlog drains without spending the model budget.
- Release: a repository that asks for it with a topic gets its merged work released: a release pull request from the changelog, then the tag and the GitHub Release, so a fix does not sit merged and unshipped.
- Review: a pull request from an outside contributor gets one first-pass comment for the maintainers, and everything waiting on a person is listed in a single inbox issue.
- Authority and limits: the job that runs the model holds no credential that can write; the job that writes runs no model. One organization variable stops everything.
Quick Start
Organization, once:
- Create a GitHub App with repository permissions Contents, Issues and Pull requests set to read and write, install it on the organization, and store its id and private key as the secrets
ASHIGARU_APP_IDandASHIGARU_APP_KEY. - Run
claude setup-tokenand store the result as the secretCLAUDE_CODE_OAUTH_TOKEN. - Set the variable
ASHIGARU_ENABLEDtotrue. - Require your CI and review checks in a branch ruleset the app cannot bypass, and allow auto-merge.
Each repository:
mkdir -p .github/workflows
curl -fsSL https://raw.githubusercontent.com/crunchtools/ashigaru/v2/examples/ashigaru.yml \
-o .github/workflows/ashigaru.yml
Details and the full list of inputs are in docs/enrollment.md.
Documentation
| Page | What it covers |
|---|---|
| docs/triage.md | Categories, the confidence threshold, which labels mean what |
| docs/code.md | The two-job split, the pre-commit inner loop, what is refused |
| docs/fix.md | What triggers a round, how findings are answered, the round limit |
| docs/sweep.md | Backlog selection and the hourly budget |
| docs/release.md | Turning releases on per repository, how the version is chosen and rewritten, the releases record |
| docs/review.md | First-pass review of outside pull requests, and the inbox issue |
| docs/authority.md | Who holds which credential, untrusted input, the switch and the caps |
| docs/enrollment.md | Organization setup, enrolling a repository, inputs, releasing |
Development
A developer machine needs git, podman, pre-commit and gh.
pre-commit install
podman run --rm -v .:/src:Z -w /src docker.io/library/python:3.12-slim \
bash -c 'pip -q install pytest==9.1.1 pyyaml==6.0.3 ruff==0.16.9 && ruff check . && pytest -q'
podman run --rm -v .:/repo:Z -w /repo docker.io/rhysd/actionlint:1.7.12
Credits
The design follows Fullsend: labels as the state, a triage gate that routes bugs to a code agent and parks features, and deterministic scripts that hold push and merge authority. The label names are theirs, so a repository can move between the two.
License
AGPL-3.0-or-later
Installing Ashigaru
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/crunchtools/mcp-ashigaruFAQ
Is Ashigaru MCP free?
Yes, Ashigaru MCP is free — one-click install via Unyly at no cost.
Does Ashigaru need an API key?
No, Ashigaru runs without API keys or environment variables.
Is Ashigaru hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Ashigaru in Claude Desktop, Claude Code or Cursor?
Open Ashigaru on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
by Mitsubishi-FusoTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Compare Ashigaru with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
