MCP server providing basic math operations
Project description
Math MCP Server
A Model Context Protocol (MCP) server that provides basic mathematical operations.
Features
- Add: Add two numbers
- Subtract: Subtract two numbers
- Multiply: Multiply two numbers
- Divide: Divide two numbers (with zero-check)
Installation
Development Install
pip install -e .
From Built Package
pip install dist/math_mcp_server-1.0.0-py3-none-any.whl
Usage
Run the server:
math-mcp-server
Or use with MCP clients by specifying the command.
Testing
python mcp_client.py
Development
Built with:
- Python 3.10+
- MCP SDK
Build
python -m build
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file muawyiya_math_mcp_server-1.0.0.tar.gz.
File metadata
- Download URL: muawyiya_math_mcp_server-1.0.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7c80f390d1d930f1184f4850004fd99111537652f224b0b3c7af5273c575593
|
|
| MD5 |
f89b25a76dd609b53df146db0e1346ca
|
|
| BLAKE2b-256 |
24787f909cdf5b11506698f40d19a5451ca9571f5a5d1944609b9d2b22d3b37f
|
File details
Details for the file muawyiya_math_mcp_server-1.0.0-py3-none-any.whl.
File metadata
- Download URL: muawyiya_math_mcp_server-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d94b689223eef956b2511c5d2cc8144c272303968ff4e9b994836038a6284fbf
|
|
| MD5 |
5ab4ae34f9e2ac743be3dd13183856e2
|
|
| BLAKE2b-256 |
a2880979e970133d3ef0ce7b47dd71eae56a883ccca3cde0c20ae66cca0178c1
|