Decide Your Documentation Sources
Decide which documentation sites you want Docy to access. For best results, use the main index or overview pages (e.g., https://docs.crawl4ai.com/
, https://react.dev/
).
Get the Documentation URLs
Prepare a comma-separated list of URLs to your chosen documentation sources.
Example:
https://docs.crawl4ai.com/,https://react.dev/
Or prepare a .docy.urls
file with one URL per line (optional advanced method).
Open the FastMCP Connection Interface
In your environment, locate the place to add ENV variables. This is usually labeled "Install Now" or similar.
Fill in the Environment Variable
In the connection interface, add a new ENV variable:
- Name:
DOCY_DOCUMENTATION_URLS
- Value: (the list of URLs you prepared, e.g.,
https://docs.crawl4ai.com/,https://react.dev/
)
Save and Apply the Configuration
Confirm and save the ENV variable settings in the FastMCP interface. The Docy server will automatically use the URLs you've entered as its documentation sources.
Optional (advanced): Managing Documentation URLs via File
- Instead of using the environment variable, create a file named
.docy.urls
in your project directory.
- Add one documentation URL per line.
- Docy will auto-detect this file and hot-reload changes without needing a restart.
No API keys or tokens are required to set up Docy with documentation URLs. If you need custom caching or advanced configuration (e.g., for cache storage, debug mode, or server port), you can add additional ENV variables using the same method. See the README “Configuration Options” section for optional ENV variable names.