Loading...
Loading...
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.
npx skill4agent add arabold/docs-mcp-server docs-managenpx @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 |
# 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*"Successfully scraped 42 pagesnpx @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 |
npx @arabold/docs-mcp-server@latest refresh react --version 19.0.0scrapenpx @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 |
npx @arabold/docs-mcp-server@latest remove react --version 18.3.1scrape--output--verboseLOG_LEVEL=INFO--quiet# 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.1--max-pages--max-depthfile://file:///absolute/path/to/docs--cleanscrape--no-cleanrefresh