Terminal Command MCP Server
Enables Claude Desktop to execute terminal commands in a controlled workspace via the Model Context Protocol.
README
Multi Agent Orchestration with MCP and A2A
This project is an early-stage implementation of a multi-agent orchestration system built around the Model Context Protocol (MCP) and A2A-style coordination.
The system is organized into a few layers:
- a frontend where the user submits input
- a host agent / orchestrator layer
- an MCP connector that reads
mcp config.jsonand lists available servers - an agent registry that can list agents and delegate tasks
- remote A2A agents
- multiple MCP servers with reusable tools
- a standalone utilities-side MCP connector that can load the same servers for Google ADK experiments
Architecture Overview
flowchart LR
User[User Input] --> Frontend[App Frontend]
Frontend --> A2AClient[A2A Client]
A2AClient --> Host[Host Agent / Orchestrator]
Host --> MCPConnector[MCP Connector]
MCPConnector --> MCPConfig[MCP config.json]
MCPConnector --> MCPServers[(MCP Servers)]
Host --> AgentRegistry[Agent Registry]
AgentRegistry --> Delegate[Delegate Task]
Delegate --> AgentConnectors[Agent Connectors]
AgentConnectors --> A2AServer[(A2A Server)]
A2AServer --> RemoteAgents[Remote A2A Agents]
MCPServers --> Tools[(MCP Tools)]
Project Status
Status: Early development
Phase: Architecture foundation and connector prototypes
Current focus: Wiring the terminal MCP server, the arithmetic HTTP MCP server, and Claude Desktop connectors into a larger A2A/MCP workflow
What This Project Is About
This repository is a practical build of that architecture. The goal is to grow from a small set of working MCP connectors into a fuller multi-agent orchestration system.
Current work includes:
- Model Context Protocol for tool integration
- Claude Desktop as the local frontend
- A terminal MCP server for controlled command execution
- A streamable HTTP arithmetic MCP server for remote connector testing
- The first pieces of the broader A2A orchestration flow
- A separate
utilities/mcpconfig and connector path for local discovery/loading experiments - A website builder A2A agent that was updated to match the current A2A SDK layout
Current Highlights
- FastMCP-based terminal server is working locally
- Streamable HTTP arithmetic server is running on
http://localhost:3000 - Claude Desktop config includes both local and remote connector entries
- Standalone utilities MCP config is separated from the Claude Desktop config
MCPDiscoveryandMCPConnectorare wired for the utilities-side config- The website builder agent entrypoint now runs with the current A2A route-based FastAPI bootstrap
uvicornis declared in the project dependencies so the A2A server entrypoint imports cleanly- Desktop workspace issues were fixed for the terminal server
- Project progress and fixes are tracked in dedicated Markdown files
Architecture In Progress
The current repository covers the first working slices of the system:
- MCP Servers: terminal server and arithmetic server
- MCP Connector: Claude Desktop remote connector entry for
mcp-remote - MCP Client flow: server discovery through Claude Desktop config
- Utilities MCP flow: local config discovery and connector loading for Google ADK
- A2A agent entrypoint flow for the website builder agent
Planned next layers are:
- App frontend
- A2A client
- Host agent / orchestrator
- Agent registry
- Task delegation to remote A2A agents
Project Structure
mcp/servers/terminal_server/terminal_server.py- MCP server for running terminal commandsmcp/servers/streamable_http_server.py- Streamable HTTP MCP server for arithmetic testingutilities/mcp/mcp_config.json- Standalone MCP config for the utilities-side connectorutilities/mcp/mcp_discovery.py- Reads and validates the standalone MCP configutilities/mcp/mcp_connect.py- Loads MCP servers into Google ADK toolsetsFIXES.md- Detailed log of fixes, file changes, and reasoningPROJECT_STATUS.md- Progress tracker and GitHub push historymain.py- Project entry point or placeholder scriptpyproject.toml- Python project configurationuv.lock- Locked dependency state foruv
MCP Server Overview
The terminal MCP server exposes a command tool that:
- accepts a command string
- runs it through
subprocess - returns command output or errors
- uses a stable default workspace on the Desktop
This lets Claude Desktop interact with local commands without depending on a fragile working directory.
The arithmetic MCP server exposes an add_numbers tool and runs as a streamable HTTP service on http://localhost:3000 for remote connector testing.
The utilities/mcp layer reads the standalone config, discovers both server entries, and prepares tool connections for the Google ADK side of the project.
The website builder agent was updated to use the current A2A SDK imports and FastAPI route mounting so it runs cleanly under uv run python -m agents.website_builder_simple.
Setup
1. Create the virtual environment
uv venv
2. Activate it on Windows PowerShell
.\.venv\Scripts\Activate.ps1
3. Install dependencies
uv add "mcp[cli]"
If you are running the website builder agent, uvicorn is also required and is already declared in pyproject.toml.
4. Configure Claude Desktop
Add the MCP server entries in claude_desktop_config.json.
{
"mcpServers": {
"terminal_server": {
"command": "C:/Users/saad0/.local/bin/uv.exe",
"args": [
"--directory",
"D:/Work/A_Self/AAProjects/Multi_Agent_Orchestration_with_MCP_and_A2A/mcp/servers/terminal_server",
"run",
"terminal_server.py"
]
},
"arithmetic_server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://localhost:3000/mcp/"
]
}
}
}
Roadmap
Planned improvements include:
- building the app frontend
- adding the host agent / orchestrator layer
- implementing agent registry and delegation flows
- adding more MCP servers and tools
- connecting remote A2A agents
- expanding the utilities-side Google ADK connector flow
- finishing the website builder agent tutorial flow with the current A2A SDK
- documenting the full end-to-end orchestration flow more clearly
Notes
This repository is intentionally being built incrementally. The README will evolve as the architecture becomes more complete.
License
No license has been added yet.
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.