MCP.so
ログイン
M

MCP Server Tools

@hungry557

基本情報

カテゴリ

その他

トランスポート

stdio

作者

hungry557

投稿者

旅法师

MCP Server Tools について

概要はまだありません

MCP Server Tools の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "tools": {
      "command": "npx",
      "args": [
        "-y",
        "@hungry557/mcp-server-tools"
      ],
      "env": {
        "API_URL": "YOUR_API_URL_HERE",
        "API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

MCP Server Tools のツール

1

Add two numbers

概要

What is Mcp Server Tools?

Mcp Server Tools is a server tool set based on the Model Context Protocol, providing utility functions for large language models to call. It communicates via standard input/output (stdio) and currently offers the add tool for calculating the sum of two numbers.

How to use Mcp Server Tools?

Install globally via npm (npm install -g @hungry557/mcp-server-tools) or run directly with NPX (npx @hungry557/mcp-server-tools). Docker deployment is also available (docker run -i --rm hungry557/tools). Configure the required environment variables API_URL and API_KEY before running.

Key features of Mcp Server Tools

  • Based on the Model Context Protocol SDK
  • Communicates through standard input/output (stdio)
  • Simple and easy‑to‑use utility functions
  • Supports deployment via Docker
  • Can be run directly using NPX

Use cases of Mcp Server Tools

  • Adding a basic arithmetic tool to an MCP‑enabled LLM application
  • Quickly testing MCP server tools locally without a global install
  • Running tool functions in a containerized environment via Docker
  • Extending LLM capabilities with a custom utility function during development

よくある質問

1

What runtime does Mcp Server Tools require?

It requires Node.js to run via NPX or npm, and can also be deployed using Docker.

2

How does Mcp Server Tools communicate?

It uses standard input/output (stdio) communication, as supported by the Model Context Protocol.

3

What environment variables are needed?

You must set `API_URL` (the API server address) and `API_KEY` (the API access key).

4

What tools are currently available?

Currently, only the `add` tool is provided, which calculates the sum of two numbers.

5

Can Mcp Server Tools be used without installing globally?

Yes, you can run it directly with NPX using `npx @hungry557/mcp-server-tools`.

コメント

「その他」の他のコンテンツ