vault-python-mcp-server
0
The MCP Calculator Server is a Model Context Protocol (MCP) server that includes a basic calculator tool. It provides arithmetic operations via a REST API and offers multiple communication modes, making it suitable for diverse deployment scenarios, including integration with Smithery.
MCP Calculator Server
A Model Context Protocol (MCP) server implementation that includes a basic calculator tool. The server supports deployment in Smithery and offers arithmetic operations through a REST API.
Features
- Basic arithmetic operations: add, subtract, multiply, divide
- MCP-compliant API endpoints
- JSON schema validation
- Error handling
- Multiple communication modes: HTTP, WebSocket, stdio
- Specialized entry points for different deployment scenarios
API Endpoints
GET /health
: Health checkGET /tools
: List tools and schemasPOST /
: JSON-RPC endpoint for MCP- WebSocket at
/
: WebSocket MCP protocol POST /mcp
: Smithery integration endpoint- WebSocket at
/mcp
: Smithery integration endpoint
Deployment
- Can be run using Docker or directly with uvicorn
- Options for Smithery integration and local/remote tool integration