mcp-builder by skillcreatorai/ai-agent-skills
npx skills add https://github.com/skillcreatorai/ai-agent-skills --skill mcp-builder创建 MCP 服务器,使 LLM 能够通过精心设计的工具与外部服务进行交互。
理解现代 MCP 设计:
github_create_issue)研究 MCP 协议:
https://modelcontextprotocol.io/sitemap.xml推荐技术栈:
项目结构:
my-mcp-server/
├── src/
│ ├── index.ts # 服务器入口点
│ ├── tools/ # 工具实现
│ └── utils/ # 共享工具函数
├── package.json
└── tsconfig.json
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
工具实现模式:
server.registerTool({
name: "github_create_issue",
description: "创建一个新的 GitHub issue",
inputSchema: z.object({
repo: z.string().describe("仓库名称 (所有者/仓库名)"),
title: z.string().describe("issue 标题"),
body: z.string().optional().describe("issue 正文")
}),
outputSchema: z.object({
id: z.number(),
url: z.string()
}),
annotations: {
readOnlyHint: false,
destructiveHint: false,
idempotentHint: false
},
handler: async (input) => {
// 实现
return { id: 123, url: "https://..." };
}
});
# TypeScript
npm run build
npx @modelcontextprotocol/inspector
# Python
python -m py_compile your_server.py
创建 10 个复杂、现实的问题来测试你的 MCP 服务器:
<evaluation>
<qa_pair>
<question>查找仓库中所有标记为 'bug' 的未关闭 issue</question>
<answer>5</answer>
</qa_pair>
</evaluation>
outputSchema每周安装数
112
代码仓库
GitHub 星标数
953
首次出现
2026年1月20日
安全审计
安装于
opencode95
gemini-cli94
codex88
github-copilot81
cursor80
claude-code79
Create MCP servers that enable LLMs to interact with external services through well-designed tools.
Understand Modern MCP Design:
github_create_issue)Study MCP Protocol:
https://modelcontextprotocol.io/sitemap.xmlRecommended Stack:
Project Structure:
my-mcp-server/
├── src/
│ ├── index.ts # Server entry point
│ ├── tools/ # Tool implementations
│ └── utils/ # Shared utilities
├── package.json
└── tsconfig.json
Tool Implementation Pattern:
server.registerTool({
name: "github_create_issue",
description: "Create a new GitHub issue",
inputSchema: z.object({
repo: z.string().describe("Repository name (owner/repo)"),
title: z.string().describe("Issue title"),
body: z.string().optional().describe("Issue body")
}),
outputSchema: z.object({
id: z.number(),
url: z.string()
}),
annotations: {
readOnlyHint: false,
destructiveHint: false,
idempotentHint: false
},
handler: async (input) => {
// Implementation
return { id: 123, url: "https://..." };
}
});
# TypeScript
npm run build
npx @modelcontextprotocol/inspector
# Python
python -m py_compile your_server.py
Create 10 complex, realistic questions to test your MCP server:
<evaluation>
<qa_pair>
<question>Find all open issues labeled 'bug' in the repo</question>
<answer>5</answer>
</qa_pair>
</evaluation>
outputSchema for structured dataWeekly Installs
112
Repository
GitHub Stars
953
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode95
gemini-cli94
codex88
github-copilot81
cursor80
claude-code79
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
116,600 周安装
Supabase 渗透测试技能帮助 | 24项安全审计工具快速参考与使用指南
107 周安装
Proxychains 网络代理工具:自动解决GitHub/PyPI/npm访问失败和连接超时问题
108 周安装
Windows 基础设施管理员:Active Directory、组策略、PowerShell 自动化与混合身份管理专家
108 周安装
Arize Prompt Optimization - 提示词优化技能详解,提升LLM应用性能与追踪数据分析
188 周安装
Xcode构建性能优化指南:axiom-build-performance 工具使用与Swift编译加速
149 周安装
Nansen Profiler 钱包画像分析器 - 区块链地址余额、交易、盈亏与关联分析工具
133 周安装