MCP Calculator Demo
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Calculator Demowhat is 123 multiplied by 456?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Demo
This repository contains demo projects showcasing the use of the Message Communication Protocol (MCP) in different scenarios.
Projects
1. Calculator
A simple calculator service with a client and server implementation.
Files:
demo-client.mjs: Example client for the calculator serviceserver.mjs: Calculator serverpackage.json,README.md
2. MCP Client (TypeScript)
Offical demo from MCP documentation
A TypeScript-based client for interacting with MCP services.
Files:
index.ts: Main client codebuild/index.js: Compiled output.env: Environment configurationlog/session1.txt: Example session logpackage.json,tsconfig.json
Need to setANTHROPIC_API_KEY in .env to run the client. The credit from Anthropic is NOT free.
3. Weather
Offical demo from MCP documentation
A weather information service using MCP.
Files:
src/index.ts: Main source codebuild/index.js: Compiled outputpackage.json,tsconfig.json
Related MCP server: MCP Calculator Demo
Getting Started
Each project contains its own dependencies and setup.
Navigate into a project folder and run:
npm install
npm startor for TypeScript projects:
npm install
npm run build
npm startLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA minimal, production-ready MCP server with a simple addition calculator tool that demonstrates integration with the Model Context Protocol.10 npm1MIT
- FlicenseNot gradedqualityDmaintenanceA simple demonstration MCP server built with FastMCP that exposes basic calculator operations (add, subtract, multiply, divide) as tools for MCP clients like GitHub Copilot Agent mode.-
- FlicenseNot gradedqualityDmaintenanceA minimal Model Context Protocol server that provides basic arithmetic tools and a comprehensive meeting analysis prompt template for processing transcripts. It serves as a clean example for developers to learn how to build, test, and integrate MCP servers with Claude Desktop.-
- AlicenseBqualityDmaintenanceA simple Model Context Protocol (MCP) server that provides basic calculation functions to Claude. It enables users to perform mathematical operations like addition directly through natural language commands.1MIT