Skip to main content

一个提供加减乘除计算功能的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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calculator_mcp_server_tang-0.1.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

calculator_mcp_server_tang-0.1.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file calculator_mcp_server_tang-0.1.3.tar.gz.

File metadata

File hashes

Hashes for calculator_mcp_server_tang-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a8ac4d306773df25c1405893d39cd974c9eac41667813ad2b812a66f9da64a09
MD5 353b2c09b769562785372d6e86465b47
BLAKE2b-256 2bc54e368073a3939931af9edf05df05286fa4bfe9adcfdaeeef685b50827cfd

See more details on using hashes here.

File details

Details for the file calculator_mcp_server_tang-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for calculator_mcp_server_tang-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 84324306971f3b193323c2ba0d5f90ccad92ecd42d82db04bf47161ea54e160f
MD5 e0db0655d3933d5a265269b16fe3ceed
BLAKE2b-256 dc5007eccc225f7bad2029fc75c1f85e615f16108ae6f60eed30362ae86347fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page