Back to MCP directory
publicPublicdnsLocal runtime

megatool

MegaTool是一个多功能命令行工具,通过MCP协议集成多种实用服务

article

README

🚀 MegaTool 超级工具

MegaTool 是一款命令行工具,它实现了多个模型上下文协议(MCP)服务器,并通过统一接口提供多种实用功能,能极大提升操作效率。

许可证:MIT CI 发行版本

🚀 快速开始

MegaTool 提供对多个 MCP 服务器的访问,通过简单的命令行界面即可实现。每个服务器都具备特定的功能:

  • 计算器:执行算术运算
  • GitHub:访问 GitHub 仓库和用户信息
  • 包版本:检查多种包管理器的最新版本信息

📦 安装指南

# 从 GitHub 发布页面(推荐)
# 下载地址:https://github.com/simoncollins/megatool/releases
# Linux 示例:
tar -xzf megatool-v1.0.0-linux-amd64.tar.gz -C /usr/local/bin

# 使用 Go 安装
go install github.com/simoncollins/megatool@latest

# 从源代码安装
git clone https://github.com/simoncollins/megatool.git
cd megatool
just install

详细安装指南请参阅详细安装说明以获取先决条件和其他方法。

💻 使用示例

基础用法

# 运行一个 MCP 服务器(默认stdio模式)
megatool run <服务器名称>

# 以 SSE 模式运行 MCP 服务器
megatool run <服务器名称> --sse --port 8080

# 配置一个 MCP 服务器
megatool run <服务器名称> --configure

可用的服务器:

  • calculator - 简单计算器运算
  • github - GitHub 仓库和用户信息访问
  • package-version - 多种语言包版本检查

高级用法

# 运行计算器服务器
megatool run calculator

# 配置 GitHub 服务器(首次使用前需要)
megatool run github --configure

# 运行包版本服务器
megatool run package-version

# 在端口 3000 上以 SSE 模式运行计算器服务器
megatool run calculator --sse --port 3000

📚 详细文档

用户文档

贡献者文档

📄 许可证

本项目采用 MIT 许可证 - 详情请参阅LICENSE文件。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client