Toolkit MCP Server

Toolkit MCP Server

一个模型上下文协议服务器,为 LLM 代理提供一套全面的工具,用于 IP 地理定位、网络诊断、系统监控、密码学操作和二维码生成。

Category
访问服务器

Tools

checkConnectivity

Test TCP connectivity to a host and port

getCurrentTime

Get current time formatted with Intl.DateTimeFormat

getSystemInfo

Get system information using Node.js os module

getLoadAverage

Get system load average for 1, 5, and 15 minutes

getNetworkInterfaces

Get network interface information

getPublicIP

Get public IP address using ip-api.com

pingHost

Ping a host using system ping command

traceroute

Perform traceroute to a host

geolocate

Get geolocation information for an IP address or domain

clearGeoCache

Clear the geolocation cache

generateUUID

Generate a random UUID using crypto.randomUUID()

generateQRCode

Generate a QR code from input data

convertTimezone

Convert date/time between timezones using Luxon

listTimezones

List all available IANA timezones

hashData

Hash input data using Node.js crypto module

compareHashes

Compare two hashes in constant time

README

toolkit-mcp-server

TypeScript Model Context Protocol Version License Status GitHub

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

模型上下文协议

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

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

目录

功能

网络和地理定位

  • 具有智能缓存的 IP 地理定位
  • 网络连接测试
  • Ping 和 traceroute 实用程序
  • 公共 IP 检测
  • 速率限制(45 个请求/分钟)

系统实用程序

  • 系统信息检索
  • 资源监控
  • 负载平均跟踪
  • 网络接口详细信息

安全工具

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

生成器工具

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

安装

# 使用 npm (推荐)
npm install @cyanheads/toolkit-mcp-server

# 或者从源代码安装
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"
      }
    }
  }
}

工具

网络操作

// 获取地理定位数据
const geo = await mcp.use('toolkit-mcp-server', 'geolocate', {
  query: '8.8.8.8'
});

// 检查连接性
const conn = await mcp.use('toolkit-mcp-server', 'checkConnectivity', {
  host: 'example.com',
  port: 443
});

系统操作

// 获取系统信息
const sysInfo = await mcp.use('toolkit-mcp-server', 'getSystemInfo', {});

// 获取负载平均值
const load = await mcp.use('toolkit-mcp-server', 'getLoadAverage', {});

安全操作

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

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

生成器操作

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

贡献

  1. Fork 仓库
  2. 创建您的功能分支 (git checkout -b feature/amazing-feature)
  3. 提交您的更改 (git commit -m 'Add some amazing feature')
  4. 推送到分支 (git push origin feature/amazing-feature)
  5. 打开一个 Pull Request

许可

Apache License 2.0. 有关更多信息,请参见 LICENSE


<div align="center"> 使用模型上下文协议构建 </div>

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选