mcp%3Asetup-context7-mcp by neolabhq/context-engineering-kit
npx skills add https://github.com/neolabhq/context-engineering-kit --skill mcp:setup-context7-mcp$ARGUMENTS
询问用户希望将配置存储在何处:
选项:
./CLAUDE.md./CLAUDE.local.md
* 请确认这些文件已列在 .gitignore 中,若未列出则添加~/.claude/CLAUDE.md存储用户的选择,并在后续步骤中使用相应的路径。
通过发起请求来检查您是否有权访问 Context7 MCP 服务器。
如果没有,请加载 https://raw.githubusercontent.com/upstash/context7/refs/heads/master/README.md 文件,并引导用户完成适用于其代理/操作系统的设置过程。
使用步骤 1 中确定的路径:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
### 使用 Context7 MCP 加载文档
可通过 Context7 MCP 获取包含代码示例的最新文档。
**推荐的库 ID**:
- `[doc-id]` - 文档简短描述
每周安装量
192
代码仓库
GitHub 星标数
699
首次出现
2026年2月19日
已安装于
opencode186
github-copilot184
codex184
gemini-cli183
kimi-cli181
cursor181
User Input:
$ARGUMENTS
Ask the user where they want to store the configuration:
Options:
Project level (shared via git) - Configuration tracked in version control, shared with team
./CLAUDE.mdProject level (personal preferences) - Configuration stays local, not tracked in git
./CLAUDE.local.md.gitignore, add them if notUser level (global) - Configuration applies to all projects for this user
~/.claude/CLAUDE.mdStore the user's choice and use the appropriate paths in subsequent steps.
Check whether you have access to Context7 MCP server by making request.
if no, load https://raw.githubusercontent.com/upstash/context7/refs/heads/master/README.md file and guide user through setup process that applicable to agent/operation system.
Use the path determined in step 1:
Parse user input, if it empty read current project structure and used technologies, if project empty ask user to provide list of languages and frameworks that planned to be used in this project.
Search through context7 MCP for relevant technologies documentation
Update the appropriate CLAUDE.md file with following content:
Context7 MCP is available to fetch up-to-date documentation with code examples.
Recommended library IDs:
[doc-id] - short description of documentationWeekly Installs
192
Repository
GitHub Stars
699
First Seen
Feb 19, 2026
Installed on
opencode186
github-copilot184
codex184
gemini-cli183
kimi-cli181
cursor181
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
116,600 周安装