MCP_REGISTRY.md•4.53 kB
# 提交到 MCP 包管理器
本项目可以提交到 MCP 包管理器,让用户更容易发现和安装。
## 📦 可用的 MCP 包管理器
### 1. mcp-get(推荐)
- **网站**: https://mcp-get.com/
- **GitHub**: https://github.com/michaellatman/mcp-get
- **特点**: CLI 工具,自动更新检查,GitHub 集成
### 2. 官方 MCP Registry
- **GitHub**: https://github.com/modelcontextprotocol/registry
- **工具**: mcp-publisher
- **特点**: Anthropic 官方维护
### 3. IBM MCP Context Forge
- **GitHub**: https://github.com/IBM/mcp-context-forge
- **特点**: Gateway & Registry,REST API 转 MCP
---
## 🚀 提交到 mcp-get
### 第 1 步:创建包定义文件
创建 `enhanced-fetch-mcp.json`:
```json
{
"name": "enhanced-fetch-mcp",
"description": "Powerful web scraping, content extraction, and browser automation for Claude Code. 19 MCP tools including HTTP fetch, HTML to Markdown conversion, Playwright browser control, and Docker sandboxes.",
"vendor": "Enhanced Fetch MCP Team",
"sourceUrl": "https://github.com/yourusername/enhanced-fetch-mcp",
"homepage": "https://github.com/yourusername/enhanced-fetch-mcp",
"license": "MIT",
"runtime": "node",
"command": "enhanced-fetch-mcp",
"env": {
"NODE_ENV": {
"description": "Node environment (production/development)",
"required": false,
"default": "production"
},
"LOG_LEVEL": {
"description": "Logging level (debug/info/warn/error)",
"required": false,
"default": "info"
}
},
"keywords": [
"web-scraping",
"browser-automation",
"playwright",
"content-extraction",
"fetch",
"markdown",
"screenshot",
"pdf",
"docker",
"sandbox"
]
}
```
### 第 2 步:提交 Pull Request
1. Fork mcp-get 仓库:https://github.com/michaellatman/mcp-get
2. 将 `enhanced-fetch-mcp.json` 添加到 `packages/` 目录
3. 提交 Pull Request
### 第 3 步:等待审核
一旦 PR 被合并,包会自动显示在 https://mcp-get.com/
---
## 📥 用户如何安装(通过 mcp-get)
### 安装 mcp-get CLI
```bash
npm install -g @michaellatman/mcp-get
```
### 浏览可用包
```bash
mcp-get list
```
### 安装 enhanced-fetch-mcp
```bash
mcp-get install enhanced-fetch-mcp
```
这会自动:
1. 从 npm 安装包
2. 配置 Claude Code
3. 设置环境变量
---
## 🌟 提交到官方 MCP Registry
### 使用 mcp-publisher
```bash
# 安装
npm install -g @modelcontextprotocol/mcp-publisher
# 登录
mcp-publisher login
# 发布
mcp-publisher publish
```
### 配置 package.json
确保 `package.json` 包含:
```json
{
"name": "enhanced-fetch-mcp",
"version": "1.0.0",
"description": "Web scraping and browser automation for Claude Code",
"keywords": ["mcp", "web-scraping", "browser-automation"],
"repository": {
"type": "git",
"url": "https://github.com/yourusername/enhanced-fetch-mcp.git"
},
"mcp": {
"capabilities": ["tools"],
"tools": [
{
"name": "fetch_and_extract",
"description": "Fetch URL and extract content"
}
]
}
}
```
---
## 📝 最佳实践
### 包描述
- ✅ 清晰说明功能
- ✅ 列出主要工具
- ✅ 提及技术栈(Playwright, Docker)
- ✅ 包含关键字
### README
- ✅ 快速开始指南
- ✅ 使用示例
- ✅ 系统要求
- ✅ 故障排查
### 版本管理
- ✅ 遵循语义化版本
- ✅ 维护 CHANGELOG
- ✅ 标记重大变更
---
## 🔗 相关链接
- **mcp-get 网站**: https://mcp-get.com/
- **mcp-get GitHub**: https://github.com/michaellatman/mcp-get
- **官方 MCP Registry**: https://github.com/modelcontextprotocol/registry
- **MCP 规范**: https://modelcontextprotocol.info/
---
## 📊 提交后的好处
### 用户发现
- ✅ 在 mcp-get.com 上可搜索
- ✅ 通过 CLI 可发现
- ✅ GitHub 集成
### 简化安装
```bash
# 不需要:
npm install -g enhanced-fetch-mcp
# 手动编辑配置文件
# 只需要:
mcp-get install enhanced-fetch-mcp
# 一键完成!
```
### 自动更新
- ✅ mcp-get 检查更新
- ✅ 用户可轻松升级
- ✅ 版本管理
---
## 🎯 下一步
1. **立即行动**:
- 创建 `enhanced-fetch-mcp.json`
- Fork mcp-get 仓库
- 提交 PR
2. **发布到 npm**:
```bash
npm publish
```
3. **推广**:
- 在 GitHub 添加 topics: `mcp`, `model-context-protocol`
- 更新 README 添加 mcp-get 安装方式
- 在社区分享
---
现在就开始吧!让更多人能轻松使用 Enhanced Fetch MCP!🚀