Enables multiple AI agents to share and read each other's responses to the same prompt, allowing them to reflect on what other LLMs said to the same question.
A Model Context Protocol (MCP) server that allows multiple AI agents to share and read each other's responses to the same prompt.
This project implements an MCP server with two main tool calls:
submit-response
: Allows an LLM to submit its response to a promptget-responses
: Allows an LLM to retrieve all responses from other LLMs for a specific promptThis enables a scenario where multiple AI agents can be asked the same question by a user, and then using these tools, the agents can read and reflect on what other LLMs said to the same question.
# Install dependencies bun install
# Build the TypeScript code bun run build # Start the server in development mode bun run dev
The project includes support for the MCP Inspector, which is a tool for testing and debugging MCP servers.
# Run the server with MCP Inspector bun run inspect
The inspect
script uses npx
to run the MCP Inspector, which will launch a web interface in your browser for interacting with your MCP server.
This will allow you to:
The server exposes two endpoints:
/sse
- Server-Sent Events endpoint for MCP clients to connect/messages
- HTTP endpoint for MCP clients to send messagesSubmit an LLM's response to a prompt:
// Example tool call const result = await client.callTool({ name: 'submit-response', arguments: { llmId: 'claude-3-opus', prompt: 'What is the meaning of life?', response: 'The meaning of life is...' } });
Retrieve all LLM responses, optionally filtered by prompt:
// Example tool call const result = await client.callTool({ name: 'get-responses', arguments: { prompt: 'What is the meaning of life?' // Optional } });
MIT
This project includes Docker configuration for easy deployment to EC2 or any other server environment.
Clone the repository to your EC2 instance:
git clone cd
Make the deployment script executable:
chmod +x deploy.sh
Run the deployment script:
./deploy.sh
The script will:
If you prefer to deploy manually:
Build the Docker image:
docker-compose build
Start the container:
docker-compose up -d
Verify the container is running:
docker-compose ps
Once deployed, your MCP server will be accessible at:
http://:62886/sse
- SSE endpointhttp://:62886/messages
- Messages endpointMake sure port 62886 is open in your EC2 security group!
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!