createContext7Client
createContext7Client():
Promise<any>
Defined in: mcp.ts:359
Create Context7 MCP client for library documentation lookup
CRITICAL for preventing hallucinations! Provides access to up-to-date library documentation so the AI can reference-check instead of making up API details.
Tools provided:
- resolve-library-id: Find Context7 library ID from name
- get-library-docs: Get documentation for a library
Uses HTTP transport to Context7’s cloud service. Requires CONTEXT7_API_KEY environment variable.
Returns
Section titled “Returns”Promise<any>