【亲测免费】 MCP 安装器使用教程
2026-01-30 05:11:36作者:傅爽业Veleda
1. 项目介绍
MCP 安装器是一个开源项目,旨在帮助用户自动化安装其他 MCP(Model Context Protocol)服务器。通过该服务器,用户可以请求安装托管在 npm 或 PyPi 上的 MCP 服务器。它简化了安装过程,使得用户无需手动下载和配置,即可快速部署所需的服务器。
2. 项目快速启动
在开始之前,请确保您的系统中已安装了 npx 和 uv 工具,它们分别用于节点和 Python 服务器的安装。
以下是快速启动 MCP 安装器的步骤:
将以下配置添加到您的 claude_desktop_config.json 文件中:
```json
{
"mcpServers": {
"mcp-installer": {
"command": "npx",
"args": ["@anaisbetts/mcp-installer"]
}
}
}
- 对于 macOS 用户,文件位置通常是
~/Library/Application Support/Claude/claude_desktop_config.json。 - 对于 Windows 用户,文件位置通常是
C:\Users\NAME\AppData\Roaming\Claude\claude_desktop_config.json。
保存文件后,您可以开始使用 MCP 安装器。
3. 应用案例和最佳实践
以下是一些使用 MCP 安装器的示例:
-
安装名为
mcp-server-fetch的 MCP 服务器:Hey Claude, install the MCP server named mcp-server-fetch -
作为 MCP 服务器安装
@modelcontextprotocol/server-filesystem包,并指定参数:Hey Claude, install the @modelcontextprotocol/server-filesystem package as an MCP server. Use ['/Users/anibetts/Desktop'] for the arguments -
从指定路径安装 MCP 服务器:
Hi Claude, please install the MCP server at /Users/anibetts/code/mcp-youtube, I'm too lazy to do it myself. -
安装
@modelcontextprotocol/server-github服务器,并设置环境变量:Install the server @modelcontextprotocol/server-github. Set the environment variable GITHUB_PERSONAL_ACCESS_TOKEN to '1234567890'
4. 典型生态项目
MCP 安装器是 Model Context Protocol 生态中的一个重要组成部分。以下是一些典型的生态项目:
@modelcontextprotocol/server-fetch:用于数据获取的 MCP 服务器。@modelcontextprotocol/server-filesystem:提供文件系统操作的 MCP 服务器。@modelcontextprotocol/server-github:与 GitHub API 交互的 MCP 服务器。
通过这些项目,开发者可以构建出功能丰富、高度自动化的应用环境。
登录后查看全文
热门项目推荐
相关项目推荐
atomcodeClaude Code 的开源替代方案。连接任意大模型,编辑代码,运行命令,自动验证 — 全自动执行。用 Rust 构建,极致性能。 | An open-source alternative to Claude Code. Connect any LLM, edit code, run commands, and verify changes — autonomously. Built in Rust for speed. Get StartedRust0213
cann-learning-hubCANN 学习中心仓,支持在线互动运行、边学边练,提供教程、示例与优化方案,一站式助力昇腾开发者快速上手。Jupyter Notebook0138
uni-appA cross-platform framework using Vue.jsJavaScript08
GLM-5.2智谱开源 GLM-5.2,这是针对长文本任务的最新旗舰模型。相较于前代产品 GLM-5.1,它在长文本任务处理能力上实现了显著飞跃,并且首次在稳定的 100 万 token 上下文中提供这一能力。Jinja00
SwanLab⚡️SwanLab - an open-source, modern-design AI training tracking and visualization tool. Supports Cloud / Self-hosted use. Integrated with PyTorch / Transformers / LLaMA Factory / veRL/ Swift / Ultralytics / MMEngine / Keras etc.Python00
tiny-universe《大模型白盒子构建指南》:一个全手搓的Tiny-UniverseJupyter Notebook03
热门内容推荐
最新内容推荐
项目优选
收起
deepin linux kernel
C
32
16
openEuler内核是openEuler操作系统的核心,既是系统性能与稳定性的基石,也是连接处理器、设备与服务的桥梁。
C
469
465
暂无描述
Dockerfile
778
5.08 K
Ascend Extension for PyTorch
Python
757
968
本项目是CANN提供的transformer类大模型算子库,实现网络在NPU上加速计算。
C++
876
2.03 K
本项目是CANN提供的神经网络类计算算子库,实现网络在NPU上加速计算。
C++
697
1.4 K
昇腾LLM分布式训练框架
Python
185
231
JiuwenSwarm 是一款基于openJiuwen开发的智能AI Agent,它能够将大语言模型的强大能力,通过你日常使用的各类通讯应用,直接延伸至你的指尖。
Python
2.25 K
676
本项目是CANN提供的数学类基础计算算子库,实现网络在NPU上加速计算。
C++
1.1 K
1.14 K
本仓库是 Flutter SDK 与 Flutter Engine 的 OpenHarmony 适配版本,由 CPF-Flutter 团队维护。开发者可使用熟悉的 Flutter 技术栈开发 OpenHarmony 应用,3.35.7 及以后的适配版本可基于本仓库源码构建支持 OpenHarmony 的 Flutter Engine。
Dart
1.04 K
271