Overview
MCP Server is a demo implementation of a multi-agent communication server that utilizes WebSockets for agent/tool communication and provides an HTTP endpoint for client connections.
To use MCP Server, clone the repository from GitHub, set up the server environment, and connect clients via the provided HTTP endpoint. You can also modify the code to suit your needs.
- WebSockets for real-time communication between agents and tools. - HTTP endpoint for easy client connections. - Redis for pub/sub functionality, allowing for horizontal scaling. - Support for Server-Sent Events (SSE) to broadcast messages to clients. - Minimal codebase (less than 200 lines) for easy understanding and modification.
- Implementing multi-agent systems for collaborative tasks.
- Real-time communication applications where agents need to interact.
- Experimenting with agent behaviors and interactions in a controlled environment.
Add to your AI client
Use these steps to connect MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-waylayio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-waylayio"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-waylayio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-waylayio"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-waylayio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-waylayio"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-waylayio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-waylayio"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-waylayio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-waylayio"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-waylayio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-waylayio"
]
}
}
}FAQ
Is MCP Server compliant with the MCP specification?
No, it is a demo implementation and does not strictly adhere to the MCP specification.
Can I modify the MCP Server code?
Yes! The code is open for forking and modification, but support is not guaranteed for unexpected behaviors.
What technologies does MCP Server use?
MCP Server uses WebSockets, Redis, and supports Server-Sent Events for client updates.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3151,"uuid":"bbe6627b-c11b-4650-b402-4109ba5842c1","name":"mcp-server","title":"MCP Server","description":"testing MCP server implementation","avatar_url":"https://avatars.githubusercontent.com/u/6654105?v=4","created_at":"2025-03-18T03:04:13.660Z","updated_at":"2025-03-18T16:07:06.402Z","status":"created","author_name":"waylayio","author_avatar_url":"https://avatars.githubusercontent.com/u/6654105?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/waylayio/mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-05-05 14:06:27\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]