- Home
- MCP servers
- Simple
Simple
- python
1
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"waiyannyeinnaing-mcp-dummy-server": {
"command": "/path/to/.venv/bin/python",
"args": [
"/path/to/server.py"
]
}
}
}You can run a lightweight MCP server to expose simple calculation and logic tools that clients can call, enabling you to plug in your own LLM workflows or automation tools. This server serves as a beginner-friendly example to learn how MCP servers are started, tested, and integrated with clients.
How to use
You use an MCP client to connect to the server and invoke its tools. Start the server and then run a client to send requests, or run the client alone if you prefer the auto-start workflow. You can integrate the server with code editors or desktop apps by configuring the MCP connection details shown in the integration examples.
How to install
Prerequisites you need installed on your system include Python 3.10 or newer and a virtual environment tool. You will also need Git to clone the example server.
Steps to install and run the server locally:
# Clone the repository
git clone https://github.com/WaiYanNyeinNaing/mcp-dummy-server.git
cd mcp-dummy-server
# Create a virtual environment
python3.10 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
Additional sections
Configuration and usage examples are provided to help you connect your MCP clients or tools. You can integrate the server with popular development environments by using the exact commands shown in the integration snippets.
Available tools
multiply
Multiplies two numbers and returns the product.
percentage
Calculates a percentage of a given value.
add
Adds two numbers and returns the sum.