Mcp Server Tools

by hungry557

263 downloads
Not rated
GitHub

Description

# MCP Server Tools MCP Server Tools 是一个基于 Model Context Protocol 的服务器工具集,提供了一系列实用的工具函数供大型语言模型调用。 ## 功能特点 - 基于 Model Context Protocol SDK 开发 - 支持通过标准输入输出(stdio)进行通信 - 简单易用的工具函数 - 支持 Docker 部署 - 支持 NPX 直接运行 ## 当前工具 目前支持的工具函数: - `add` - 计算两个数字的和 ## 安装 ### 通过 NPM 安装 ```bash npm…

About

# MCP Server Tools MCP Server Tools 是一个基于 Model Context Protocol 的服务器工具集,提供了一系列实用的工具函数供大型语言模型调用。 ## 功能特点 - 基于 Model Context Protocol SDK 开发 - 支持通过标准输入输出(stdio)进行通信 - 简单易用的工具函数 - 支持 Docker 部署 - 支持 NPX 直接运行 ## 当前工具 目前支持的工具函数: - `add` - 计算两个数字的和 ## 安装 ### 通过 NPM 安装 ```bash npm install -g @hungry557/mcp-server-tools ```…

Details

Author
hungry557
Downloads
263
Categories
Other

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mcp Server Tools
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

add

Add two numbers

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

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

MCP Server Tools 是一个基于 Model Context Protocol 的服务器工具集,提供了一系列实用的工具函数供大型语言模型调用。

功能特点

- 基于 Model Context Protocol SDK 开发
- 支持通过标准输入输出(stdio)进行通信
- 简单易用的工具函数
- 支持 Docker 部署
- 支持 NPX 直接运行

当前工具

目前支持的工具函数:

- add - 计算两个数字的和

安装

通过 NPM 安装

npm install -g @hungry557/mcp-server-tools

或者直接使用 NPX

npx @hungry557/mcp-server-tools

Docker 方式

docker run -i --rm hungry557/tools

配置

工具需要以下环境变量:

- API_URL - API 服务器地址
- API_KEY - API 访问密钥

使用方法

基本用法

API_URL=YOUR_API_URL API_KEY=YOUR_API_KEY npx -y @hungry557/mcp-server-tools

在 MCP 配置中使用

可以在 MCP 配置文件中添加以下配置:

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

开发

安装依赖

npm install

构建

npm run build

监听模式下构建

npm run watch

MCP 调试

npm run inspector

许可证

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.