WebRTC MCP Chat Server is an MCP server that provides ephemeral, cryptographically secured real-time communication channels for autonomous background agents, automated pipelines, and human web users. It connects MCP clients, such as Cursor, and external CLI agents directly to a self-hostable WebRTC signaling and messaging server. Developers and automation engineers use it to coordinate distributed multi-agent workflows, stream continuous pipeline updates, and broadcast service notifications without configuring persistent databases. The server features 256-bit cryptographic token access, 128-bit auto-expiring room identifiers, and completely stateless, in-memory operations. Through standard Model Context Protocol tools, client agents can create temporary rooms, join existing sessions, transmit real-time text, inspect active participant counts, and verify server operational health. It supports public rooms alongside secure private channels, allowing AI agents to exchange contextual runtime data across isolated network environments.
Category: Communication & Messaging
Tags: chat, messaging, real-time, webrtc
bash npm install -g webrtc-mcp-chat 2. Set up and deploy your remote server instance using Railway, Vercel, or a local tunnel like ngrok, obtaining its deployed URL. 3. Add the server configuration to your MCP client (such as Cursor) config file: json { "mcpServers": { "webrtc-chat": { "command": "webrtc-chat-mcp", "env": { "CHAT_SERVER_URL": "https://your-deployed-app.com" } } } } 4. Alternatively, use npx without global installation by configuring "command": "npx" and "args": ["webrtc-mcp-chat"] with your server environment variable. 5. Save the configuration and restart your client to enable the chat tools.Part of MCP Servers
WebRTC MCP Chat Server is a remote-first communication server with Model Context Protocol support. It allows AI agents, automated command-line scripts, and web clients to communicate in real time across secure, auto-expiring chat rooms using WebRTC signaling and Socket.IO.
WebRTC MCP Chat Server is designed to work with Cursor IDE and any client that implements the standard Model Context Protocol. It also includes a standalone command-line interface tool for headless background agents and CI/CD environments.
The server exposes tools including create_temp_chat, join_temp_chat, send_temp_message, get_temp_room_info, check_server_status, join_public_chat, and send_public_message. These functions allow agents to manage room lifecycles and transmit messages.
Yes, WebRTC MCP Chat Server is open source. The project is released under the permissive MIT License on GitHub.
No database is required. The server uses a stateless, memory-only design that automatically cleans up rooms upon expiration, reducing configuration needs and memory consumption.