经 AI Skill Hub 精选评估,mcptools — Claude MCP 必备工具中文教程 获评「强烈推荐」。已获得 1.6k 颗 GitHub Star,这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.6 分,适合有一定技术背景的用户使用。
mcptools — Claude MCP 必备工具中文教程 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
mcptools — Claude MCP 必备工具中文教程 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/f/mcptools
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcptools---claude-mcp---------": {
"command": "npx",
"args": ["-y", "mcptools"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 mcptools — Claude MCP 必备工具中文教程 执行以下任务... Claude: [自动调用 mcptools — Claude MCP 必备工具中文教程 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcptools___claude_mcp_________": {
"command": "npx",
"args": ["-y", "mcptools"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="./.github/resources/logo.png" alt="MCP Tools" height="150"> </p>
<p align="center"> <h1 align="center">Swiss Army Knife for MCP Servers</h1> <p align="center"> A comprehensive command-line interface for interacting with MCP (Model Context Protocol) servers. <br> Discover, call, and manage tools, resources, and prompts from any MCP-compatible server. <br> Supports multiple transport methods, output formats, and includes powerful mock and proxy server capabilities. </p> </p>
MCP Tools provides a versatile CLI for working with Model Context Protocol (MCP) servers. It enables you to:
<p align="center"> <img src=".github/resources/screenshot.png" alt="MCP Tools Screenshot" width="700"> </p>
MCP Tools supports a wide range of features for interacting with MCP servers:
Usage:
mcp [command]
Available Commands:
version Print the version information
tools List available tools on the MCP server
resources List available resources on the MCP server
prompts List available prompts on the MCP server
call Call a tool, resource, or prompt 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
new Create a new MCP project component
help Help about any command
completion Generate the autocompletion script for the specified shell
Flags:
-f, --format string Output format (table, json, pretty) (default "table")
-h, --help help for mcp
-p, --params string JSON string of parameters to pass to the tool (for call command) (default "{}")
Use "mcp [command] --help" for more information about a command.
npm install
npm install && npm run build
The simplest way to start using MCP Tools is to connect to an MCP server and list available tools:
```bash
_Note:_ HTTP SSE currently supports only MCP protocol version 2024-11-05.
#### Streamable HTTP Transport (Recommended)
Uses streamable HTTP to communicate with an MCP server via JSON-RPC 2.0. This is the modern, recommended approach for connecting to remote servers that implement the MCP protocol. It supports both streaming responses and simple request/response patterns. This is the default transport for HTTP/HTTPS URLs.
bash
npm run build
mcp tools https://api.example.com/mcp mcp tools https://ne.tools ```
Benefits of Streamable HTTP: - Session Management: Supports stateful connections with session IDs - Resumability: Can reconnect and resume interrupted sessions (when supported by server) - Flexible Responses: Supports both streaming and direct JSON responses - Modern Protocol: Uses the latest MCP transport specification
Configurations are managed through a central registry in `$HOME/.mcpt/configs.json` with predefined aliases for:
- VS Code and VS Code Insiders
- Windsurf
- Cursor
- Claude Desktop and Claude Code
The system automatically displays server configurations in a colorized format grouped by source, showing command-line or URL information, headers, and environment variables.
`mcp configs scan` command looks for MCP server configurations in:
- Visual Studio Code
- Visual Studio Code Insiders
- Windsurf
- Cursor
- Claude Desktop
Example Output: VS Code Insiders GitHub (stdio): docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
Claude Desktop Proxy (stdio): mcp proxy start
My Files (stdio): npx -y @modelcontextprotocol/server-filesystem ~/ ```
List tools from a filesystem server:
mcp tools npx -y @modelcontextprotocol/server-filesystem ~
Call a tool with pretty JSON output:
mcp call read_file --params '{"path":"README.md"}' --format pretty npx -y @modelcontextprotocol/server-filesystem ~
Use the guard mode to filter available tools:
```bash
Create and run a local streamable HTTP server:
```bash
mcp tools https://authenticated-mcp-server.com ```
MCP Tools supports multiple transport methods for communicating with MCP servers:
Uses stdin/stdout to communicate with an MCP server via JSON-RPC 2.0. This is useful for command-line tools that implement the MCP protocol.
mcp tools npx -y @modelcontextprotocol/server-filesystem ~
Uses HTTP and Server-Sent Events (SSE) to communicate with an MCP server via JSON-RPC 2.0. This is useful for connecting to remote servers that implement the legacy MCP protocol. Transport is automatically detected when the URL ends with /sse.
```bash mcp tools http://localhost:3001/sse
MCP Tools provides a powerful configuration management system that helps you work with MCP server configurations across multiple applications:
🚧 This works only on macOS for now.
```bash
mcp configs scan
mcp configs ls
mcp configs view vscode
mcp configs set vscode my-server npm run mcp-server mcp configs set cursor my-api https://api.example.com/mcp --headers "Authorization=Bearer token"
mcp configs set vscode,cursor,claude-desktop my-server npm run mcp-server
mcp configs remove vscode my-server
mcp configs alias myapp ~/myapp/config.json
mcp configs sync vscode cursor --output vscode --default interactive
mcp configs as-json mcp proxy start
mcp configs as-json https://api.example.com/mcp --headers "Authorization=Bearer token"
mcpt proxy tool add_operation "Adds a and b with optional result msg" "a:int,b:int,[msg:string]" -e 'echo "$msg$a + $b = $(($a+$b))"'
if [ -z "$a" ] || [ -z "$b" ]; then echo "Error: Missing required parameters 'a' or 'b'" exit 1 fi
mcp guard --deny tools:write_*,delete_*,create_*,move_* npx -y @modelcontextprotocol/server-filesystem ~ ```
if [ -z "$a" ] || [ -z "$b" ]; then echo "Error: Missing required parameters 'a' or 'b'" exit 1 fi result=$(($a + $b)) echo "The sum of $a and $b is $result" EOF
MCP Tools provides a web interface for interacting with MCP servers through a browser-based UI:
```bash
mcp web npx -y @modelcontextprotocol/server-filesystem ~
mcp new tool:calculate --sdk=ts
mcp tools http://localhost:3000/sse
mcp new tool:calculate resource:file prompt:greet
Using the proxy mode with a simple shell script:
```bash
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:mcptools — Claude MCP 必备工具中文教程 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | mcptools |
| 原始描述 | A command-line interface for interacting with MCP (Model Context Protocol) servers using both stdio and HTTP transport. |
| Topics | mcpmcp-servermodelcontextprotocol |
| GitHub | https://github.com/f/mcptools |
| License | MIT |
| 语言 | Go |
收录时间:2026-05-22 · 更新时间:2026-05-22 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端