This server implements an MCP (Model Context Protocol) server with WebSocket enhancements for real-time data updates.
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.
asyncio
for efficient non-blocking operations.git clone https://github.com/your-repo/mcp-websocket-server.git
cd mcp-websocket-server
pip install websockets mcp-sdk # Replace with actual MCP SDK package name
Run the following command to start both the MCP and WebSocket servers:
python server.py
Clients can connect to the WebSocket server (ws://localhost:8765
) and subscribe to updates by sending:
{"action": "subscribe"}
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!"}
This project is licensed under the MIT License.
Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.
For questions or suggestions, reach out via [[email protected]].
This server implements an MCP (Model Context Protocol) server with WebSocket enhancements for real-time data updates.
Nmap Mcp Server
A Model Context Protocol (MCP) server that enables AI assistants to perform network scanning operations using NMAP
Obsidian Mcp Server
Obsidian Knowledge-Management MCP (Model Context Protocol) server that enables AI agents and development tools to interact with an Obsidian vault. It provides a comprehensive suite of tools for reading, writing, searching, and managing notes, tags, and frontmatter, acting as a bridge to the Obsidian Local REST API plugin.
Mcp Server Bluesky
MCP server for interacting with Bluesky