Click on "Install 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
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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.