模型上下文协议工具集

基于Model Context Protocol的服务器工具集,为LLM代理提供系统工具和功能,包括IP地理定位、网络诊断、系统监控、加密操作和二维码生成。

  • by MissionSquad
  • TypeScript
  • 本地部署
  • 3 星标
  • 更新于
在 GitHub 查看 MissionSquad/mcp-helper-tools

使用说明

mcp辅助工具

基于工具包mcp服务器

一种模型上下文协议服务器,为LLM代理提供系统实用程序和工具,包括IP地理定位、网络诊断、系统监控、加密操作和二维码生成。

模型上下文协议

模型上下文协议(MCP)实现了以下之间的通信:

  • 客户:Claude Desktop、IDE和其他MCP兼容客户端
  • 服务器:用于任务管理和自动化的工具和资源
  • LLM代理:利用服务器功能的AI模型

目录

特性

编码工具

  • Base64编码/解码
  • URL编码/解码
  • HTML编码/解码

网络和地理定位

  • 具有智能缓存的IP地理定位
  • 速率限制(45个请求/分钟)

安全工具

  • 加密哈希生成(MD5、SHA-1、SHA-256、SHA-512)
  • 恒定时间哈希比较
  • UUID生成

发电机工具

  • 二维码生成
    • 终端输出
    • SVG格式
    • Base64编码图像

安装

# Using npm (recommended)
npm install @cyanheads/toolkit-mcp-server

# Or install from source
git clone git@github.com:cyanheads/toolkit-mcp-server.git
cd toolkit-mcp-server
npm install
npm run build

配置

添加到MCP客户端设置中:

{
  "mcpServers": {
    "toolkit": {
      "command": "node",
      "args": ["node_modules/@cyanheads/toolkit-mcp-server/build/index.js"],
      "env": {
        "NODE_ENV": "production"
      }
    }
  }
}

工具

网络运营

// Get geolocation data
const geo = await mcp.use('toolkit-mcp-server', 'geolocate', {
  query: '8.8.8.8'
});

// Check connectivity
const conn = await mcp.use('toolkit-mcp-server', 'checkConnectivity', {
  host: 'example.com',
  port: 443
});

系统运维

// Get system information
const sysInfo = await mcp.use('toolkit-mcp-server', 'getSystemInfo', {});

// Get load average
const load = await mcp.use('toolkit-mcp-server', 'getLoadAverage', {});

安全操作

// Generate hash
const hash = await mcp.use('toolkit-mcp-server', 'hashData', {
  input: 'test data',
  algorithm: 'sha256'
});

// Generate UUID
const uuid = await mcp.use('toolkit-mcp-server', 'generateUUID', {});

发电机操作

// Generate QR code
const qr = await mcp.use('toolkit-mcp-server', 'generateQRCode', {
  data: 'https://example.com',
  type: 'svg'
});

贡献

  1. 复刻仓库
  2. 创建功能分支(git checkout -b feature/amazing-feature)
  3. 提交您的更改(git commit -m 'Add some amazing feature')
  4. 推到分支(git push origin feature/amazing-feature)
  5. 打开拉取请求

许可证

Apache许可证2.0。看 许可证 了解更多信息。


Built with the Model Context Protocol