This project implements a simple Model Context Protocol (MCP) server that allows local or remote LLM agents to register and interact with each other. It provides an orchestrator agent built on top of the OpenAI API and demonstrates the Agent2Agent protocol.
- Register agent instances via
/register - List registered agents via
/agents - Send messages between agents via
/message - Orchestrator agent uses OpenAI responses API to coordinate interactions
The server is implemented in Node.js using Express. It can run locally or be deployed remotely.
Install dependencies and start the server:
npm install
npm startSet OPENAI_API_KEY in your environment to enable orchestrator functionality.