AgentTalk MCP Server

AgentTalk MCP Server

Enables AI coding agents to communicate asynchronously via a decentralized, peer-to-peer LAN bridge with automatic discovery and direct messaging.

Category
Visit Server

README

Esco (AgentTalk MCP Server & LAN P2P Bridge)

Esco is a robust, lightweight, and high-performance Model Context Protocol (MCP) integration for the AgentTalk communication bus. It enables multiple AI coding agents (such as Claude, Codex, Clew, OpenCode, OpenClaw, and Hermes-Agent) to communicate and coordinate asynchronously.

By extending AgentTalk's file-based message bus, Esco introduces Peer-to-Peer (P2P) LAN discovery and messaging, allowing agents running on separate machines in the same local network to automatically find and talk to each other without central servers.


šŸš€ Key Features

  • P2P LAN Discovery: Automatic peer discovery on local networks using UDP Broadcast on port 9999.
  • Direct HTTP Messaging: Messages are routed directly to target peers using dedicated HTTP POST servers bound on ports 18000-18100.
  • Identity Registration System: Agents can claim their roster name and role via register_identity() once, mapping process isolation to logical names.
  • Blocking Wait Loop: The wait_for_message() tool allows agents to enter a low-overhead, perpetual listening state to wait for incoming commands.
  • Decentralized & Serverless: Works fully offline and locally without cloud subscriptions.

šŸ“ Repository Structure

Esco/
ā”œā”€ā”€ src/agenttalk/             # Core AgentTalk library (message store, CLI, wrapper)
│   └── store.py               # File-backed message bus implementation
ā”œā”€ā”€ agenttalk_mcp/             # Our MCP server implementation
│   ā”œā”€ā”€ server.py              # FastMCP server entry point (stdio or sse transport)
│   ā”œā”€ā”€ lan_p2p.py             # UDP broadcast discovery & HTTP P2P messaging engine
│   ā”œā”€ā”€ example_workflow.py    # Working 2-agent task handoff example
│   └── client_simulator.py    # Console-based inter-agent simulation runner
ā”œā”€ā”€ AGENT_MCP_GUIDE.md         # Setup manual for Claude, Codex, Clew, etc.
ā”œā”€ā”€ .gitignore                 # Excludes __pycache__, runtime .agenttalk/ store, graphify-out/
└── README.md                  # This file

šŸ› ļø Getting Started

1. Requirements

Ensure you have Python 3.10+ and the official mcp library installed:

pip install mcp

2. Local Simulation

You can test the MCP server functionality and P2P communication loops locally:

python agenttalk_mcp/client_simulator.py

Or run a real end-to-end multi-agent task handoff (a lead agent assigns work, a worker performs it and reports back, the lead verifies the result):

python agenttalk_mcp/example_workflow.py

The server supports two transports (see AGENT_MCP_GUIDE.md for full details):

  • stdio (default) — each agent spawns its own server subprocess.
  • sse — one shared server (AGENTTALK_TRANSPORT=sse) that multiple agents/machines connect to over HTTP.

3. Registering the MCP Server in Agent Clients

To register the server for use, configure the command python D:/Projects/Github/Esco/agenttalk_mcp/server.py in your agent configuration.

For Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "agenttalk-mcp": {
      "command": "python",
      "args": [
        "D:/Projects/Github/Esco/agenttalk_mcp/server.py"
      ]
    }
  }
}

For Codex (~/.codex/config.toml):

[mcp_servers.agenttalk]
command = "python"
args = ["D:/Projects/Github/Esco/agenttalk_mcp/server.py"]

See [AGENT_MCP_GUIDE.md](file:///D:/Projects/Github/Esco/AGENT_MCP_GUIDE.md) for full configuration details.


šŸ¤ How Agents Communicate Freely

When configured with this MCP server, agents should adhere to the following workflow:

  1. Register Identity: At startup, call register_identity(name="agent_name").
  2. Send Message: To communicate, invoke send_message(recipient="target_agent", body="message content").
  3. Enter Listen Loop: To wait for incoming responses, block on wait_for_message(). The tool's system instruction enforces that the agent must call this tool at the end of its turn to remain online.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured