xxiii8322766509-context7
1
总安装量
1
周安装量
#44559
全站排名
安装命令
npx skills add https://smithery.ai
Agent 安装分布
amp
1
opencode
1
cursor
1
kimi-cli
1
github-copilot
1
Skill 文档
Context7 via MCP (stdio)
Use the Context7 MCP server through mcporter in stdio mode. This keeps the MCP server local and avoids extra config files.
Quick Checks
npx -y mcporter@latest list --stdio "npx -y @upstash/context7-mcp@latest" --name context7 --schema
Resolve Library ID
npx -y mcporter@latest call --stdio "npx -y @upstash/context7-mcp@latest" --name context7 resolve-library-id \
query="How do I use React hooks?" \
libraryName="react"
Query Docs
npx -y mcporter@latest call --stdio "npx -y @upstash/context7-mcp@latest" --name context7 query-docs \
libraryId="/websites/react_dev" \
query="useEffect cleanup examples"
Optional API Key
If you have a Context7 API key, set CONTEXT7_API_KEY in the environment before running the commands above.