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(バリデーション用)

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

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

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

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

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

  • Khalid kalib
  • Write professional emails

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

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

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • OffchainLabs
  • GO -Umsetzung des Ethereum -Beweises des Anteils

  • huahuayu
  • Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.

  • deemkeen
  • Steuern Sie Ihren MBOT2 mit einer Power Combo: MQTT+MCP+LLM

    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