使用说明
SkillsMP MCP服务器
模型上下文协议(MCP)服务器,使AI代理能够从中搜索、发现和安装技能 技能MP 市场。
特性
| 工具 | 说明 |
|---|---|
skillsmp_search |
按关键字分页和排序的搜索技巧 |
skillsmp_ai_search |
使用自然语言的人工智能语义搜索 |
skillsmp_get_skill_content |
从GitHub阅读技能内容(skill.md) |
skillsmp_list_repo_skills |
列出存储库中的可用技能 |
skillsmp_install_skill |
为AI编码代理安装技能 |
需求
- Node.js 18+
- SkillsMP API密钥(在这里买一个)
设置
克劳德代码
claude mcp add skillsmp -- npx -y skillsmp-mcp-server --env SKILLSMP_API_KEY=your_api_key
光标
添加到光标MCP配置(~/.cursor/mcp.json):
{
"mcpServers": {
"skillsmp": {
"command": "npx",
"args": ["-y", "skillsmp-mcp-server"],
"env": {
"SKILLSMP_API_KEY": "your_api_key"
}
}
}
}
克劳德桌面版
添加到您的Claude Desktop配置中:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
视窗: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"skillsmp": {
"command": "npx",
"args": ["-y", "skillsmp-mcp-server"],
"env": {
"SKILLSMP_API_KEY": "your_api_key"
}
}
}
}
开放代码
添加到您的Opencode配置中:
{
"mcp": {
"skillsmp": {
"type": "local",
"command": ["npx", "-y", "skillsmp-mcp-server"],
"env": {
"SKILLSMP_API_KEY": "your_api_key"
},
"enabled": true
}
}
}
谷歌反重力
添加到您的反重力MCP配置中:
{
"mcpServers": {
"skillsmp": {
"command": "npx",
"args": ["-y", "skillsmp-mcp-server"],
"env": {
"SKILLSMP_API_KEY": "your_api_key"
}
}
}
}
鲁代码
添加到您的Roo Code MCP设置中:
{
"mcpServers": {
"skillsmp": {
"command": "npx",
"args": ["-y", "skillsmp-mcp-server"],
"env": {
"SKILLSMP_API_KEY": "your_api_key"
}
}
}
}
GitHub Copilot
添加到您的副驾驶MCP配置中:
{
"mcpServers": {
"skillsmp": {
"command": "npx",
"args": ["-y", "skillsmp-mcp-server"],
"env": {
"SKILLSMP_API_KEY": "your_api_key"
}
}
}
}
环境变量
| 变量 | 必填 | 描述 |
|---|---|---|
SKILLSMP_API_KEY |
是 | 您的技能MP API密钥 |
TRANSPORT |
否 | 运输类型: stdio (默认)或 http |
PORT |
使用HTTP传输时没有 | HTTP端口(默认值:3000) |
用法
配置后,MCP服务器工具可供您的AI助手使用。
检索技巧
Search for Python skills sorted by stars
AI语义搜索
Find skills that help with building REST APIs with authentication
列表存储库技能
What skills are available in anthropics/claude-code?
安装技能
Install the frontend-design skill from anthropics/claude-code to Claude Code
api参考
技能搜索
按关键字搜索技能。
| 参数 | 类型 | 必填 | 默认 | 说明 |
|---|---|---|---|---|
query |
string | 是 | - | 搜索关键字 |
page |
number | 否 | 1 | 页码 |
limit |
number | 否 | 20 | 每页结果数(最多100个) |
sort_by |
string | 否 | 星号 | 排序方式 stars 或 recent |
技能搜索
使用自然语言的人工智能语义搜索。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
query |
string | 是 | 自然语言查询 |
技能_技能_内容
从GitHub存储库中读取技能内容。
| 参数 | 类型 | 必填 | 默认 | 说明 |
|---|---|---|---|---|
owner |
string | 是 | - | GitHub用户名/组织 |
repo |
string | 是 | - | 存储库名称 |
path |
string | 否 | - | 技能文件夹路径 |
branch |
string | 否 | main | Git分支 |
技能清单技能
列出存储库中的所有技能。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
source |
string | 是 | GitHub owner/repo |
技能安装技能
为AI编码代理安装技能。
| 参数 | 类型 | 必填 | 默认 | 说明 |
|---|---|---|---|---|
source |
string | 是 | - | GitHub owner/repo |
skills |
string | 是 | - | 技能名称(逗号分隔) |
agents |
string | 是 | - | 目标代理(逗号分隔) |
global |
boolean | 否 | false | 安装用户级别而不是项目级别 |
支持的代理: claude-code, cursor, codex, opencode, antigravity, github-copilot, roo
HTTP传输
对于远程部署或多客户端场景:
SKILLSMP_API_KEY="your_api_key" TRANSPORT=http PORT=3000 npx skillsmp-mcp-server
发展
来源
git clone https://github.com/anilcancakir/skillsmp-mcp-server.git
cd skillsmp-mcp-server
npm install
npm run build
npm run dev
运行测试
npm run test:run
许可证
MIT许可证-请参阅 许可证 了解详情。
链接
与 模型上下文协议 TypeScript SDK。