Skip to main content
Glama
Saad-Dev13

Terminal Command MCP Server

by Saad-Dev13

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.json and 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)]

Related MCP server: Claude Desktop Commander MCP

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/mcp config and connector path for local discovery/loading experiments

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

  • MCPDiscovery and MCPConnector are wired for the utilities-side config

  • 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

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 commands

  • mcp/servers/streamable_http_server.py - Streamable HTTP MCP server for arithmetic testing

  • utilities/mcp/mcp_config.json - Standalone MCP config for the utilities-side connector

  • utilities/mcp/mcp_discovery.py - Reads and validates the standalone MCP config

  • utilities/mcp/mcp_connect.py - Loads MCP servers into Google ADK toolsets

  • FIXES.md - Detailed log of fixes, file changes, and reasoning

  • PROJECT_STATUS.md - Progress tracker and GitHub push history

  • main.py - Project entry point or placeholder script

  • pyproject.toml - Python project configuration

  • uv.lock - Locked dependency state for uv

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.

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]"

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

  • 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.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Saad-Dev13/Multi_Agent_Orchestration_with_MCP_and_A2A'

If you have feedback or need assistance with the MCP directory API, please join our Discord server