IdrissPro/MCP
3.2
If you are the rightful owner of MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
An MCP server exposing tools for agentic RAG use cases.
python-mcp-server (v0.2)
Prereqs:
- Python 3.10+
- pip install -r requirements.txt
Start WebSocket server: pip install -r requirements.txt python server_ws.py
Test WebSocket client: python example_client_ws.py
Start STDIO server (subprocess mode): python server_stdio.py
Test STDIO client (launches server as subprocess): python example_client_stdio.py
Docker: docker build -t python-mcp-server . docker run --rm -p 8765:8765 python-mcp-server
Notes:
- Tools can be async functions, sync functions, or async generators (for streaming).
- Input arguments validated with jsonschema; invalid params return JSON-RPC error -32602.
- Server sends notifications as JSON-RPC notifications (no "id"). Streaming yields are forwarded as "tool.progress".
- For production: add authentication, TLS, stricter sandboxing, rate-limiting, and robust correlation of IDs to awaiting requests.