> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# Exclude pages from a web import with the Knowledge API and the MCP server

The Knowledge API now reads and sets the pages that a web import leaves out. Every source response returns `exclude_paths`, and `PATCH /v2/knowledge/sources/{id}` accepts it. Send a list to replace the paths, or `null` or an empty list to remove them. A change applies from the next sync.

The MCP server's `edit_agent_config` sets `exclude_paths` on a website import, and `list_entities` returns it at full detail.

The dashboard already has this setting. See [Exclude pages from a web import](/2026-11-12-web-import-exclude-pages) and [Web import](/docs/knowledge/content-ingestion/web-import).