docs-manage
Original:🇺🇸 English
Translated
Manage the Grounded Docs MCP Server documentation index. Covers scraping and indexing documentation from URLs or local files, refreshing existing indexes with changed content, and removing libraries from the index. Use when you need to add, update, or delete indexed documentation.
16installs
Sourcearabold/docs-mcp-server
Added on
NPX Install
npx skill4agent add arabold/docs-mcp-server docs-manageTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Docs Manage
Index, refresh, and remove library documentation in the local Grounded Docs
store. These commands modify the index and produce plain-text status messages
on stdout.
When to use
- A library is not yet indexed and you need its docs available for search.
- Documentation may be stale and you want to pull in updated pages.
- You want to remove a library or version from the index to free space.
Commands
scrape
Download and index documentation from a URL or local directory.
bash
npx @arabold/docs-mcp-server@latest scrape <library> <url> [options]| Flag | Alias | Default | Description |
|---|---|---|---|
| | Library version label | |
| | config default | Maximum pages to scrape |
| | config default | Maximum navigation depth |
| | config default | Concurrent page requests |
| | Continue on individual page errors | |
| | Crawling boundary | |
| | Follow HTTP redirects | |
| Disable following redirects | ||
| | HTML processing strategy | |
| URL include pattern (repeatable) | ||
| URL exclude pattern (repeatable, takes precedence) | ||
| Custom HTTP header (repeatable) | ||
| Embedding model configuration | ||
| Remote pipeline worker URL | ||
| | Clear existing documents before scraping | |
| Suppress non-error diagnostics | ||
| Enable debug logging |
Examples:
bash
# Scrape React docs, version-tagged
npx @arabold/docs-mcp-server@latest scrape react https://react.dev/reference/react --version 19.0.0
# Scrape local files
npx @arabold/docs-mcp-server@latest scrape mylib file:///Users/me/docs/my-library
# Scrape with depth and page limits
npx @arabold/docs-mcp-server@latest scrape nextjs https://nextjs.org/docs --max-pages 200 --max-depth 3
# Scrape with custom headers (e.g. authentication)
npx @arabold/docs-mcp-server@latest scrape internal-api https://docs.internal.com \
--header "Authorization: Bearer tok_xxx"
# Exclude changelog pages
npx @arabold/docs-mcp-server@latest scrape react https://react.dev/reference/react \
--exclude-pattern "**/changelog*"Output is a plain-text status line, e.g. .
Progress updates appear on stderr during the run.
Successfully scraped 42 pagesrefresh
Re-scrape an existing library version, skipping unchanged pages via HTTP ETags.
bash
npx @arabold/docs-mcp-server@latest refresh <library> [options]| Flag | Alias | Description |
|---|---|---|
| | Version to refresh (omit for latest) |
| Embedding model configuration | |
| Remote pipeline worker URL | |
| Suppress non-error diagnostics | |
| Enable debug logging |
Example:
bash
npx @arabold/docs-mcp-server@latest refresh react --version 19.0.0The library and version must already be indexed. Use for first-time
indexing.
scraperemove
Delete a library (or a specific version) from the index.
bash
npx @arabold/docs-mcp-server@latest remove <library> [options]| Flag | Alias | Description |
|---|---|---|
| | Specific version to remove (omit to remove latest) |
| Remote pipeline worker URL | |
| Suppress non-error diagnostics | |
| Enable debug logging |
Example:
bash
npx @arabold/docs-mcp-server@latest remove react --version 18.3.1This is destructive and cannot be undone. Re-run to re-index.
scrapeOutput behaviour
All three commands write plain-text status messages to stdout and
diagnostics to stderr. The global flag is accepted but has no
effect because the output is plain text, not structured data.
--outputIn non-interactive sessions, diagnostics are suppressed by default. Use
(or set ) to re-enable them. Use to
suppress all non-error diagnostics regardless of session type.
--verboseLOG_LEVEL=INFO--quietTypical workflow
bash
# 1. Index documentation for the first time
npx @arabold/docs-mcp-server@latest scrape react https://react.dev/reference/react --version 19.0.0
# 2. Later, refresh to pick up any changes
npx @arabold/docs-mcp-server@latest refresh react --version 19.0.0
# 3. Clean up old versions
npx @arabold/docs-mcp-server@latest remove react --version 18.3.1Important notes
- Scraping can take time. Large documentation sites with hundreds of pages
may run for several minutes. Use and
--max-pagesto limit scope when you only need a subset.--max-depth - Local files must use the URL scheme (e.g.
file://).file:///absolute/path/to/docs - is on by default for
--clean, meaning existing documents for the same library+version are removed before re-indexing. Passscrapeto append instead.--no-clean - only works on previously indexed content. It uses HTTP ETags to skip pages that have not changed, making it much faster than a full re-scrape.
refresh