Cover image
Try Now
2025-02-25

3 years

Works with Finder

1

Github Watches

2

Github Forks

0

Github Stars

四則演算 MCP サーバー

このMCPサーバーは、基本的な四則演算(足し算、引き算、掛け算、割り算)を実行するためのツールを提供します。

機能

このサーバーは以下の四則演算ツールを提供します:

  1. add - 2つの数値を足し算します
  2. subtract - 2つの数値を引き算します
  3. multiply - 2つの数値を掛け算します
  4. divide - 2つの数値を割り算します(ゼロ除算の場合はエラーを返します)

インストール方法

  1. このリポジトリをクローンまたはダウンロードします
  2. 依存パッケージをインストールします:
    npm install
    
  3. TypeScriptをコンパイルします:
    npm run build
    

Clineでの設定方法

Clineでこのサーバーを使用するには、Claude Desktop Appの設定ファイルを編集する必要があります:

  1. 以下のパスに設定ファイルを作成または編集します:

    ~/Library/Application Support/Claude/claude_desktop_config.json
    
  2. 以下の内容を追加します(既存のmcpServersオブジェクトがある場合は、その中に追加します):

    {
      "mcpServers": {
        "arithmetic": {
          "command": "node",
          "args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"],
          "disabled": false,
          "autoApprove": []
        }
      }
    }
    
  3. Claude Desktop Appを再起動します

使用例

Clineで以下のようなプロンプトを使用することで、四則演算ツールを呼び出すことができます:

  • 「5と3を足し算してください」
  • 「10から7を引いてください」
  • 「6と8を掛け算してください」
  • 「20を4で割ってください」

技術的な詳細

このサーバーは以下の技術を使用しています:

  • TypeScript
  • Model Context Protocol (MCP) SDK
  • Zod(バリデーション用)

相关推荐

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • 田中 楓太
  • A virtual science instructor for engaging and informative lessons.

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

    Reviews

    1 (1)
    Avatar
    user_qQsWMGXf
    2025-04-15

    MCP Server by avinash539 is a game-changer in server management. It offers unparalleled performance and seamless integration, making it an essential tool for any IT professional. The user-friendly interface ensures that both beginners and experts can utilize its features efficiently. Highly recommend! Check it out here: https://mcp.so/server/mcp-server/avinash539