Used for cloning the repository as part of the installation process.
Hosts the repository at github.com/WaiYanNyeinNaing/mcp-dummy-server and the FastMCP framework at github.com/jlowin/fastmcp.
Required for running the MCP server with version 3.10+ specifically needed for FastMCP compatibility.
Simple MCP Server
Author: Dr. Wai Yan Nyein Naing
A simple example of an MCP server for beginners.
Quick Start
1. Install
2. Test
Option 1: Start server first (recommended for learning)
Option 2: Auto-start (client starts server automatically)
Example: Reasoning Calculation with LLM + MCP Tool
Suppose you ask an LLM:
"You're buying carpet for a rectangular room that's 14 feet by 11 feet. The carpet costs $4.25 per square foot. How much will the carpet cost, and if there's a 7.5% sales tax, what's your total cost?"
How the LLM solves it with MCP tools:
- Calls the
multiply
tool to compute the area: 14 × 11 = 154 - Calls the
multiply
tool to get the carpet cost: 154 × 4.25 = 654.50 - Calls the
percentage
tool to get the sales tax: 7.5% of 654.50 = 49.09 - Calls the
add
tool to get the total: 654.50 + 49.09 = 703.59
Final answer:
Benefit:
By leveraging the MCP server's calculation tools, LLMs can solve real-world math and reasoning problems accurately, even for decimal and multi-step questions.
Integration
Cursor
Add to ~/.cursor/mcp.json
:
VS Code
Create .vscode/mcp.json
:
Claude Desktop
Add to claude_desktop_config.json
:
Files
server.py
- The MCP serverclient.py
- Test clientrequirements.txt
- Dependencies
Author: Dr. Wai Yan Nyein Naing
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A minimal example server implementing the Model Context Protocol, providing addition and multiplication tools for learning and experimentation with MCP clients.
Related MCP Servers
- AsecurityAlicenseAqualityA beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.Last updated -3936JavaScriptApache 2.0
- -securityAlicense-qualityA demonstration server that implements the Model Context Protocol (MCP) SDK, providing tools and endpoints for server-sent events and message handling.Last updated -27TypeScriptMIT License
- AsecurityAlicenseAqualityA simple server implementing the Model Context Protocol (MCP) that echoes messages back, designed for testing MCP clients.Last updated -1PythonMIT License
- -security-license-qualityA simple implementation of a Model Context Protocol server that demonstrates core functionality including mathematical tools (add, subtract) and personalized greeting resources.Last updated -3PythonGPL 3.0