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`.

评论

其他 分类下的更多 MCP 服务器