一个提供加减乘除计算功能的MCP服务器
Project description
计算器MCP服务器
一个提供简单加减乘除计算功能的MCP服务器。
功能特点
- 支持基本的四则运算:加、减、乘、除
- 提供MCP协议接口
- 包含详细的日志输出
- 简单易用的命令行接口
安装
pip install calculator-mcp-server
使用方法
安装完成后,可以通过以下命令启动服务器:
calculator-mcp-server
支持的操作
add(a, b)- 计算两个数的和subtract(a, b)- 计算两个数的差multiply(a, b)- 计算两个数的积divide(a, b)- 计算两个数的商
依赖
- Python 3.7+
- mcp包
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 calculator_mcp_server_tang-0.1.3.tar.gz.
File metadata
- Download URL: calculator_mcp_server_tang-0.1.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8ac4d306773df25c1405893d39cd974c9eac41667813ad2b812a66f9da64a09
|
|
| MD5 |
353b2c09b769562785372d6e86465b47
|
|
| BLAKE2b-256 |
2bc54e368073a3939931af9edf05df05286fa4bfe9adcfdaeeef685b50827cfd
|
File details
Details for the file calculator_mcp_server_tang-0.1.3-py3-none-any.whl.
File metadata
- Download URL: calculator_mcp_server_tang-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84324306971f3b193323c2ba0d5f90ccad92ecd42d82db04bf47161ea54e160f
|
|
| MD5 |
e0db0655d3933d5a265269b16fe3ceed
|
|
| BLAKE2b-256 |
dc5007eccc225f7bad2029fc75c1f85e615f16108ae6f60eed30362ae86347fe
|