Skip to main content
Glama
docs-mcp-server

docs-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYYesYour 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_docs searches one library. Pass version when 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_libraries for the exact names and versions.

  • fetch_url is for libraries that are not indexed: read their documentation to answer now. scrape_docs can index a library so later searches find it. Indexing runs in the background: check progress with get_job_info and search once the job has completed.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 replace is true; use refresh_version to update an existing version in place.

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:

  • {library: "react", query: "hooks lifecycle"} -> matches latest version of React

  • {library: "react", version: "18.0.0", query: "hooks lifecycle"} -> matches React 18.0.0 or earlier

  • {library: "typescript", version: "5.x", query: "ReturnType example"} -> any TypeScript 5.x.x version

  • {library: "typescript", version: "5.2.x", query: "ReturnType example"} -> any TypeScript 5.2.x version

read_pageA

Read the full content of an indexed documentation page, for example a URL returned by search_docs or list_pages. Long pages are returned in parts; the response says how to continue.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
librariesList all indexed libraries
jobsList indexing jobs, optionally filtering by status.

TDQS

A4/5.0

Scored across 12 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness5/5

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.

Maintenance

ActivityNo data
ResponsivenessOutdated data