resolve-library-id
Resolve a library name into a Context7-compatible library ID, returning the matching libraries.
libraryName必填
io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 1, 2026
Forward Context7 library documentation lookups to the hosted remote MCP endpoint.
本機 stdio MCP 伺服器,將函式庫文件查詢轉送到託管的 Context7 遠端端點,回傳函式庫 ID 與文件。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
參照 儲存庫 中的啟動說明。
libdocs-remote is the hosted variant of the library-docs lookup.
Instead of calling a REST API locally, it forwards each request as a
JSON-RPC tools/call to the hosted Context7 remote MCP endpoint at
https://mcp.context7.com/mcp and returns the answer it gets back.
It understands both plain JSON answers and text/event-stream (SSE)
answers, reading the JSON-RPC payloads out of the data: lines.
Use it when you want the hosted service to do the work and only need a local stdio server (or a small CLI) in front of it.
CONTEXT7_API_KEY is optional. When it is set, it is sent as the
CONTEXT7_API_KEY header documented for the hosted endpoint; when
it is absent, no such header is sent and that is not an error.
Exit codes: 0 success, 1 lookup error, 2 usage error.
The env block is optional.
Upstream failures — HTTP errors, JSON-RPC errors, unreachable hosts — are reported as tool errors with the underlying message.
Tests run entirely on fake-fetch fixtures, including plain-JSON and SSE upstream bodies; no network is used.
MIT — see LICENSE.
來源:README.md,提交 5802022
Resolve a library name into a Context7-compatible library ID, returning the matching libraries.
libraryName必填Fetch current documentation and code examples for a library using its Context7-compatible library ID.
topictokenscontext7CompatibleLibraryID必填已滿足適用檢查項的 90%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
npx @reneturcios/libdocs-remote resolve "next.js"docker run -i ghcr.io/cloudcorprecords/libdocs-remotelibdocs-remote resolve "next.js"libdocs-remote docs /vercel/next.jslibdocs-remote docs /vercel/next.js --topic routing --tokens 20000libdocs-remote --versionnpx -y @reneturcios/libdocs-remote mcp{ "mcpServers": { "libdocs-remote": { "command": "npx", "args": ["-y", "@reneturcios/libdocs-remote", "mcp"], "env": { "CONTEXT7_API_KEY": "your-key-if-you-have-one" } } }}npm installnpm run buildnpm testnpm run dev