Github Context Foundry Context Foundry
Recursive Claude spawning for autonomous project builds with self-healing test loops
About This MCP Server
Foundry is a harness for Claude Code. Each agent (planner, builder, reviewer, fixer, discoverer) is a Claude Code CLI invocation with a role-specific prompt and scoped tool access. The Rust binary handles orchestration, streaming, and state — Claude does all the reasoning and file editing.
Tools & Endpoints
Example Workflow
• Building a Second Brain with the Loop — Foundry autonomously works through an implementation plan, building a second-brain app from a task list while the TUI streams each agent's output in real time.
• Enhancing the Second Brain with the Loop — A follow-up run where foundry picks up where it left off, discovering new work and iterating on the second-brain app with patterns learned from the first pass.
What Problems It Solves
- Point foundry at any project directory that has an IMPL_PLAN.md:
Specifications
Hosting
Hosting Options
- Package
API
Integrate this server into your application. Choose a connection method below.
Install
cargo install --git https://github.com/context-foundry/context-foundry foundryPerformance
Usage
Quick Reference
- Name
- Github Context Foundry Context Foundry
- Function
- Recursive Claude spawning for autonomous project builds with self-healing test loops
- Transport
- Package
- Language
- Python
- Install
- cargo install --git https://github.com/context-foundry/context-foundry foundry
- Source
- External (Registry)
- License
- Open Source
Ready to integrate this MCP server?
Book a demo to see how this server fits your workflow, or explore the full catalog.