本 MCP 服务器提供了执行基本四则运算(加法、减法、乘法和除法)的工具,能帮助用户轻松完成数值计算。
此 MCP 服务器可让你方便地进行四则运算,下面为你介绍使用前的准备工作。
该服务器提供以下四则运算工具:
npm install
npm run build
要在 Cline 中使用此服务器,请编辑 Claude Desktop App 的设置文件:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"arithmetic": {
"command": "node",
"args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"],
"disabled": false,
"autoApprove": []
}
}
}
在 Cline 中使用以下提示语句,即可调用四则运算工具:
此服务器使用的相关技术包括: