Context7

From RTGS2017/NagaAgent · View interactive version

Context7 is an AI agent skill from the GitHub repository RTGS2017/NagaAgent. Context7 MCP via mcporter (stdio). Use for library/API docs, setup, and configuration guidance with up-to-date sources.

How to use this skill

Skill file

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.