このMCPサーバーは、基本的な四則演算(足し算、引き算、掛け算、割り算)を実行するためのツールを提供します。
このサーバーは以下の四則演算ツールを提供します:
npm install
npm run build
Clineでこのサーバーを使用するには、Claude Desktop Appの設定ファイルを編集する必要があります:
以下のパスに設定ファイルを作成または編集します:
~/Library/Application Support/Claude/claude_desktop_config.json
以下の内容を追加します(既存のmcpServersオブジェクトがある場合は、その中に追加します):
{
"mcpServers": {
"arithmetic": {
"command": "node",
"args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"],
"disabled": false,
"autoApprove": []
}
}
}
Claude Desktop Appを再起動します
Clineで以下のようなプロンプトを使用することで、四則演算ツールを呼び出すことができます:
このサーバーは以下の技術を使用しています:
{
"mcpServers": {
"arithmetic": {
"env": {},
"args": [
"/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"
],
"command": "node"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.