MCP Catalogs
首页mcptools screenshot

mcptools

by f·1,584·综合分 55

全面的 MCP 服务器 CLI 工具,支持工具发现、模拟/代理功能和 Web 界面。

developer-toolsai-llmproductivity
122
Forks
35
活跃 Issue
5 个月前
最近提交
2 天前
收录于

概述

MCP Tools 是一个多功能命令行界面,用于与 MCP (Model Context Protocol) 服务器交互。它支持通过多种传输方式(包括 stdio 和 HTTP)发现、调用和管理任何兼容 MCP 服务器的工具、资源和提示。该工具提供丰富的功能,包括交互式 shell 模式、Web 界面、项目脚手架功能和多种输出格式(表格、JSON、美化显示)。它还提供专门的 server 模式,用于模拟、代理和防护 MCP 请求。

试试问 AI

装完之后,这里有 6 个你可以让 AI 做的事:

:测试和调试 MCP 服务器实现
:创建开发测试用的模拟 MCP 服务器
:将 MCP 工具集成到 shell 脚本和自动化工作流中
:使用脚手架功能构建新的 MCP 项目
:如何连接到 MCP 服务器?
:MCP Tools 可以与基于 HTTP 的 MCP 服务器一起使用吗?

什么时候选它

当您需要一个能跨不同传输方式管理 MCP 服务器、创建测试环境或通过 shell 脚本构建代理集成的全面 CLI 时,选择 MCP Tools。

什么时候不要选它

如果您只需要一个用于基本工具交互的简单 MCP 客户端,或者更喜欢用于服务器管理的 GUI 界面,不要选择 MCP Tools。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • tools

    List available tools on the MCP server

  • call

    Call a tool, resource, or prompt on the MCP server

  • resources

    List available resources on the MCP server

  • prompts

    List available prompts on the MCP server

  • get-prompt

    Get a prompt on the MCP server

  • read-resource

    Read a resource on the MCP server

  • shell

    Start an interactive shell for MCP commands

  • web

    Start a web interface for MCP commands

  • mock

    Create a mock MCP server with tools, prompts, and resources

  • proxy

    Proxy MCP tool requests to shell scripts

  • alias

    Manage MCP server aliases

  • configs

    Manage MCP server configurations

可对比工具

mcp-inspectormcp-server-filesystemshell-mcp

安装

安装

使用 Homebrew (适用于 macOS)

brew tap f/mcptools
brew install mcp

从源码安装 (适用于 Windows 和 GNU/Linux)

go install github.com/f/mcptools/cmd/mcptools@latest

Claude Desktop 配置

添加到 claude_desktop_config.json

{
  "mcpServers": {
    "mcptools": {
      "command": "mcp",
      "args": ["proxy"]
    }
  }
}

FAQ

如何连接到 MCP 服务器?
使用命令 `mcp tools [服务器命令] [服务器参数]`。例如:`mcp tools npx -y @modelcontextprotocol/server-filesystem ~`
MCP Tools 可以与基于 HTTP 的 MCP 服务器一起使用吗?
是的,MCP Tools 支持 HTTP SSE 和流式 HTTP 传输。例如:`mcp tools http://localhost:3000` 或 `mcp tools https://api.example.com/mcp`

Hacker News 讨论

开发者社区最近的相关讨论。

mcptools 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。