Skip to main content
Let’s create a simple calculator MCP server that provides basic math operations.

Run Locally

Your MCP server will be available at http://localhost:8000/mcp.
We have already added this code to a Github Repo and deployed it on our live demo link:Repository: You can find the complete example code at: Calculator MCP ServerDeployment: You can find the live demo link at: Calculator MCP Server DeploymentServer Endpoint: The MCP server can be accessed at this endpoint: https://calculator-mcp-server.apps.live-demo.truefoundry.cloud

Register in TrueFoundry

To add this MCP server to your MCP group, provide the following details: