MCP WebSocket Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP WebSocket Serversearch for emails containing 'invoice' from last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP WebSocket Server
A Model Context Protocol (MCP) server that operates over WebSocket. Designed for mail operations and communication.
Features
🔌 WebSocket connection
📧 Mail retrieval and search
📊 Mail statistics
🚀 Can be hosted on Render.com
🏥 Health check endpoint
Related MCP server: mcp-email
Installation
npm install
npm run build
npm startUsage
Claude Desktop Configuration
There are two ways to configure Claude Desktop to use this server:
Option 1: Using the deployed server on Render (Recommended)
Add to your %APPDATA%\Claude\claude_desktop_config.json file:
{
"mcpServers": {
"mail-mcp-server": {
"command": "node",
"args": [
"C:\\Users\\Thinkpad\\Desktop\\mcp-websocket-server\\stdio-bridge.js",
"wss://mcp-websocket-server.onrender.com/mcp"
]
}
}
}Option 2: Using a local server
First start your local server:
npm startThen configure Claude Desktop:
{
"mcpServers": {
"mail-mcp-server": {
"command": "node",
"args": [
"C:\\Users\\Thinkpad\\Desktop\\mcp-websocket-server\\stdio-bridge.js",
"ws://localhost:3000/mcp"
]
}
}
}API Endpoints
/- Web interface/health- Health check endpoint/mcp- WebSocket endpoint for MCP
Available Tools
test_baglanti- Test the connectionmail_getir- Get the latest mail for a specified email addressmail_ara- Search within mail contentmail_istatistik- Show mail statistics
Deployment
Deploy on Render.com:
Push to GitHub
Create a new Web Service on Render.com
Connect your GitHub repository
Configure build settings:
Build command:
npm install && npm run buildStart command:
npm startHealth check path:
/health
Environment
Node.js 16.0.0 or higher required
Automatically uses
PORTenvironment variable
Testing
Test your deployment:
Main page:
https://mcp-websocket-server.onrender.com/Health check:
https://mcp-websocket-server.onrender.com/healthWebSocket:
wss://mcp-websocket-server.onrender.com/mcp
Test the WebSocket connection directly:
npm install -g wscat
wscat -c wss://mcp-websocket-server.onrender.com/mcpTroubleshooting
If you see errors like "Unexpected token" in Claude Desktop logs:
Make sure you're using the stdio-bridge.js file
Ensure the WebSocket URL is correct
Check that the server is running and accessible
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for MailTempo's public free temporary email inboxes.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.
MCP server for e-mail testing: create disposable inboxes, wait for delivery, and extract e-mail content or links - all from your AI agent or test automation workflow. Get a free API key on https://app.zyntra.app/
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceCross-platform MCP server and CLI for email operations, including send, read, search, and contact management, compatible with Gmail, Outlook, Yahoo, and any IMAP/SMTP providers.134 npm1MIT
- AlicenseAqualityBmaintenanceMCP server that enables email management (send, read, search, delete, etc.) via IMAP/SMTP, compatible with Gmail, Outlook, Yahoo, iCloud, and other standard mail servers.11MIT
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server for reading and sending emails via IMAP/SMTP, supporting multiple accounts in a single instance with zero external dependencies.1-
- AlicenseNot gradedqualityCmaintenanceA minimal MCP server for reading, searching, managing, and sending email over IMAP and SMTP.MIT