docs-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | Yes | Your OpenAI API key for generating vector embeddings |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server searches up-to-date documentation for libraries and packages. When a question depends on a library's API or behavior, search here before answering from memory.
search_docssearches one library. Passversionwhen the project uses a specific version; without it, the newest indexed version is searched when there is one.Library names must match an indexed library. If a search cannot find the library, call
list_librariesfor the exact names and versions.fetch_urlis for libraries that are not indexed: read their documentation to answer now.scrape_docscan index a library so later searches find it. Indexing runs in the background: check progress withget_job_infoand search once the job has completed.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| scrape_docsA | Scrape and index documentation from a URL for a library. Use this tool to index a new library or a new version. Scraping a library version that already exists is rejected unless |
| refresh_versionA | Re-scrape a previously indexed library version, updating only changed pages. |
| search_docsA | Search up-to-date documentation for a library or package. Examples:
|
| read_pageA | Read the full content of an indexed documentation page, for example a URL returned by |
| list_pagesB | List the indexed pages of a library version, with an optional URL filter and pagination. |
| list_librariesA | List all indexed libraries and their versions. Use this to find the correct library name. |
| find_versionB | Find the best matching version for a library. Use to identify available or closest versions. |
| list_jobsB | List all indexing jobs. Optionally filter by status. |
| get_job_infoA | Get details for a specific indexing job. Use the 'list_jobs' tool to find the job ID. |
| cancel_jobA | Cancel a queued or running indexing job. Use the 'list_jobs' tool to find the job ID. |
| remove_docsA | Remove indexed documentation for a library version. Use only if explicitly instructed. |
| fetch_urlA | Fetch a single URL and convert its content to Markdown. Use this tool to read the content of any web page. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| libraries | List all indexed libraries |
| jobs | List indexing jobs, optionally filtering by status. |
TDQS
Scored across 12 tools
Each tool targets a clearly distinct action or resource: indexing (scrape_docs, refresh_version), retrieval (search_docs, read_page, list_pages), library/version discovery (list_libraries, find_version), job management (list_jobs, get_job_info, cancel_job), removal (remove_docs), and generic URL fetching (fetch_url). Potential overlaps like scrape_docs vs refresh_version and read_page vs fetch_url are explicitly clarified by the descriptions.
All tool names use snake_case and follow a predictable verb_noun pattern: list_pages, scrape_docs, refresh_version, search_docs, read_page, list_libraries, find_version, list_jobs, get_job_info, cancel_job, remove_docs, fetch_url. There are no mixed conventions or vague standalone verbs.
The 12 tools are well-scoped for a documentation indexing and search server. Each tool earns its place across indexing, search/read, library/version discovery, job management, and removal, with no obvious redundancy or missing operational area.
The tool surface covers the full lifecycle: creating indexes (scrape_docs), updating them (refresh_version), reading/searching content (search_docs, read_page, list_pages), discovering libraries/versions (list_libraries, find_version), managing indexing jobs (list_jobs, get_job_info, cancel_job), deleting docs (remove_docs), and fetching arbitrary URLs (fetch_url). No significant gaps or dead ends are apparent for the stated domain.