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