About Websocket
Websocket is an MCP server published by virajsharma2000 in the AI category: this server implements an MCP (Model Context Protocol) server with WebSocket enhancements for real-time data updates.
The repository has 31 stars and 3 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/virajsharma2000/mcp-websocketThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Websocket
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 3 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
MCP WebSocket Server
This project implements an MCP (Model Context Protocol) server with WebSocket enhancements for real-time data updates. It allows clients to make standard MCP requests while also enabling WebSocket-based subscriptions to receive push notifications when new data becomes available.
Features
- MCP Server (Port 8080): Handles standard MCP requests from clients.
- WebSocket Server (Port 8765): Allows clients to subscribe for real-time updates.
- Push Notifications: Sends updates to all subscribed clients when new data is available.
- Async Architecture: Uses
asynciofor efficient non-blocking operations.
Installation
- Clone this repository:
git clone https://github.com/your-repo/mcp-websocket-server.git cd mcp-websocket-server - Install dependencies:
pip install websockets mcp-sdk # Replace with actual MCP SDK package name
Usage
Start the Server
Run the following command to start both the MCP and WebSocket servers:
python server.py
Connecting via WebSockets
Clients can connect to the WebSocket server (ws://localhost:8765) and subscribe to updates by sending:
{"action": "subscribe"}
Sending MCP Requests
MCP clients can send requests to the MCP server at http://localhost:8080 with a payload like:
{"method": "get_data"}
The server will respond with:
{"result": "Here is your data!"}
License
This project is licensed under the MIT License.
Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.
Contact
For questions or suggestions, reach out via [virajsharma@sharmaviraj.com].
mcp-websocket
This server implements an MCP (Model Context Protocol) server with WebSocket enhancements for real-time data updates.
README fetched from the repository 3 hours ago. The original is authoritative.