The knowledge base ships pre-built, but you can re-scrape it at any time — to pick up updates to the Epic documentation, to target a new UE version, or to add sections that were not included in the initial crawl. The two crawlers are fully independent: the Python API class reference uses a standard HTTP client (no special requirements), while the conceptual guides require Playwright because the Epic Developer Community portal is a Cloudflare-protected Angular SPA.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/davidbuenov/dbv-mcp-server/llms.txt
Use this file to discover all available pages before exploring further.
Updating the Python API Class Reference
knowledge/classes/<ClassName>.md. When finished, it writes a master index at knowledge/index.json containing the class name, file path, category, URL, and up to 30 keywords per class.
Progress is saved automatically every 25 pages to .progress.json, so a --resume run skips any page that was already completed.
Updating Conceptual Guides (requires Playwright)
Why Playwright?
dev.epicgames.com is an Angular single-page application protected by Cloudflare Bot Management. Standard HTTP clients (urllib, curl, requests) receive a 403 Forbidden response because they lack the TLS fingerprint and JavaScript execution profile of a real browser.
The crawler solves this with Playwright (real Chromium headless). There is an additional constraint: Cloudflare degrades the trust score of a browser session after its first internal API call, so a new browser context must be opened for every page. Reusing a context across multiple pages causes 403 errors from the second request onward.
Page discovery does not rely on hardcoded URL lists. The crawler fetches the complete documentation tree from the table_of_content.json endpoint (thousands of entries in a single call) and derives all page URLs from it automatically.
Install Playwright (one time)
Download commands
| Shortcut | Root slug in documentation tree |
|---|---|
pcg | procedural-content-generation-framework-in-unreal-engine |
materials | unreal-engine-materials |
blueprints | blueprints-visual-scripting-in-unreal-engine |
editor | scripting-and-automating-the-unreal-editor |
all to crawl the union of all four shortcuts, or full to crawl the entire documentation tree (all ~24 top-level sections, excluding the Python API and Blueprint API reference stubs that redirect to separate systems).
Parallel Crawling
Each--category <x> run writes to its own isolated shard files so that multiple processes can run simultaneously without file conflicts:
| File | Purpose |
|---|---|
knowledge/index_guides__<x>.json | Shard index for category x |
knowledge/.progress_guides__<x>.json | Completed slugs for category x |
knowledge/.errors_guides__<x>.json | Failed slugs for category x (retried on --resume) |
index_guides.json:
index_guides__*.json files found in the knowledge/ directory into a single index_guides.json, updating the total guide and chunk counts.