project-synapse
A production-ready multi-agent system showcasing Agent Communication Protocol (ACP) and Model Context Protocol (MCP) capabilities through a collaborative research workflow.
claude mcp add --transport stdio yancotta-project-synapse python -m src.mcp_servers.fastapi_primary_server \ --env MCP_ROOT="/var/project-synapse" \ --env LOG_LEVEL="INFO" \ --env RABBITMQ_URL="amqp://guest:guest@localhost:5672/"
How to use
Project Synapse is a production-oriented multi-agent system that demonstrates Model Context Protocol (MCP) capabilities alongside Agent Communication Protocol (ACP). The primary MCP server is a FastAPI-based service that coordinates tools and access to a secure filesystem within a controlled environment. The system exposes endpoints for agent coordination, tool execution, and secure data exchange, all backed by a RabbitMQ message bus for asynchronous communication. You can run the primary server to bootstrap the MCP environment and observe how agents interact to perform tasks, validate results, and persist output through the secure file operations agent.
To use the server, ensure the message bus and API service are accessible. The server coordinates agents such as the orchestrator, search, extraction, validation, synthesis, file storage, and logger agents. These agents collaborate to fulfill complex research workflows, e.g., discovery, content processing, and report generation, with security enforced by MCP roots and filesystem boundaries. Interact with the HTTP API to trigger tasks, monitor progress, and retrieve results. The monitoring components provide observability through logs and metrics, enabling performance assessment and troubleshooting.
How to install
Prerequisites:
- Python 3.9+ installed on your system
- Git installed
- Optional: Docker and Docker Compose for production deployments
Install and run locally:
-
Clone the repository: git clone https://github.com/YanCotta/project-synapse.git cd project-synapse
-
Install Python dependencies (in a virtual environment): python -m venv venv source venv/bin/activate pip install -r requirements.txt
-
Run the primary MCP server (development / local run): python -m src.mcp_servers.fastapi_primary_server
-
(Optional) Run with Docker Compose for a production-like setup: docker-compose up --build
-
Verify the API is responding (default port may be 8000): curl http://localhost:8000/health
Prerequisites for production deployment:
- A running RabbitMQ broker
- Docker and Docker Compose
- Configured environment (MCP_ROOT, RABBITMQ_URL, appropriate resource limits)
Notes:
- The repository includes Kubernetes manifests under k8s/ for deployment in a cluster.
- For development, you can run the Python module directly as shown above.
Additional notes
Tips and common considerations:
- MCP Roots enforce filesystem boundaries; ensure MCP_ROOT points to a permitted location and that your agents request only approved paths.
- The system relies on RabbitMQ; ensure the broker is reachable at the configured RABBITMQ_URL and that credentials are secured in production.
- Enable monitoring and logging to observe agent interactions and performance metrics; reference the monitoring directory for dashboards and configurations.
- If you switch to Docker/Kubernetes, use the provided manifests and adjust resource limits to fit your environment.
- When updating code, rebuild the container images or restart services to pick up changes in agents or MCP server logic.
Related MCP Servers
a2a-x402
The A2A x402 Extension brings cryptocurrency payments to the Agent-to-Agent (A2A) protocol, enabling agents to monetize their services through on-chain payments. This extension revives the spirit of HTTP 402 "Payment Required" for the decentralized agent ecosystem.
langchain_data_agent
NL2SQL - Ask questions in plain English, get SQL queries and results. Powered by LangGraph.
muxi
An extensible AI agents framework
mcp-document-converter
MCP Document Converter - A powerful MCP tool for converting documents between multiple formats, enabling AI agents to easily transform documents.
devto-agent
Build and deploy an autonomous Devto Agent capable of interacting with the Dev.to platform, powered by A2A (Agent-to-Agent) and MCP (Model Context Protocol)
Mastervolt-Deep-Research
Mastervolt Deep Research is a sophisticated multi-agent orchestration system built on VoltAgent that automates complex research workflows. It combines specialized AI agents, semantic memory, intelligent tooling, and custom web scraping to conduct comprehensive research, verify facts, analyze data, and generate publication-ready reports.