chrysalide-mcp
Agentic MCP server that receives a feature specification from an IDE, autonomously implements it in an isolated sandbox via an internal loop (plan-act-validate-correct), and returns a structured report with diffs and test results, without modifying the original repository.
README
chrysalide-mcp
Serveur MCP agentique. Le Cerveau (IDE) dépose une consigne de feature complète, l'Agent transforme dans une sandbox isolée, et un rapport vérifiable en émerge.
En une phrase
Chrysalide reçoit une consigne ("ajoute un système d'auth JWT avec tests"), boucle en interne (plan → act → validate → correct) dans une sandbox git worktree, et rend au Cerveau un rapport structuré (diff, tests exécutés, décisions, blocages). Le Cerveau n'orchestre pas — il valide.
Positionnement
- Pas un remplacement de Claude Code / Cursor. Ceux-ci gardent le Cerveau dans la boucle en permanence.
- Pas un agent qui commit. La sandbox reste isolée du repo utilisateur ; l'intégration est manuelle.
- Pas un système multi-agents libre. Architecture étoile stricte, superviseur unique.
Objectif principal : économiser les tokens du Cerveau. Le Cerveau fait un input (consigne) et lit un output (rapport). Peu importe combien de tokens l'Agent brûle en interne.
Documentation
Voir docs/ :
| Document | Contenu |
|---|---|
| Getting Started | Ordre de build recommandé pour l'implémenteur |
| Architecture | Composants, flux, diagrammes |
| MCP Tools | Spec des 4 tools exposés (schemas) |
| Agent Loop | Boucle interne, prompts, escalade |
| Sandbox | git worktree v1, Docker v2 |
| Agent Tools | fs, shell, git, report |
| Report Schema | JSON schema complet |
| Providers | OpenAI, Anthropic, Gemini, Ollama, Azure |
| Security | Whitelist, limites, réseau off |
| Configuration | .env, YAML, budget |
| Testing | Stratégie de tests |
| Roadmap | v0.1 → v0.4 |
| Glossary | Vocabulaire du projet |
Quick start (utilisateur)
- Cloner le repo, créer un venv Python 3.11+, installer en mode dev.
- Copier
.env.examplevers.envet renseigner les clés API (OpenAI, Anthropic, ou autre). - Lancer le serveur MCP en stdio via
python -m chrysalide. - Dans l'IDE (Claude Code, Antigravity, VS Code), ajouter
chrysalide-mcpcomme serveur MCP.
Détails précis dans docs/getting-started.md.
Cas d'usage minimal (test end-to-end)
Consigne : "Dans sample_repo/, ajoute une classe Calculator avec add, subtract, multiply, divide (gère la division par zéro), et des tests pytest complets."
Résultat attendu :
- Fichiers
calculator.pyettest_calculator.pycréés dans la sandbox. pytestsort en exit 0.- Rapport listant 4 méthodes, 5+ tests, 0 blocage.
- Le repo original est intact — aucun fichier modifié en dehors de la sandbox.
Licence
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.