-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Configuration in boltai.config.json:
"calculator": {
"command": "npx",
"args": [
"-y",
"@wrtnlabs/calculator-mcp@latest"
]
}
Integration of the Calculator MCP
I first tried several approaches with Python (pip, local module, python -m mcp_server_calculator) and uvx mcp-server-calculator — without success, the server did not respond to requests.
I then switched to a Node/NPX solution.
What worked:
• I ran npx -y @wrtnlabs/calculator-mcp@latest
• The server starts listening on stdin/stdout and correctly responds to JSON requests
npx -y @wrtnlabs/calculator-mcp@latest
This server is running on stdio
echo '{"tool":"calculate","args":{"expression":"6*7"}}' \ | npx -y @wrtnlabs/calculator-mcp@latest
This server is running on stdio
I am quite disappointed, I sincerely thought it would give me the answer in the terminal. At first, I believed it wouldn’t work in my Boltai application, but in the end, it does say "Running."