Files
emdash-cms--emdash/docs/public
Matt Kane 831c28b797 feat(docs): add docs-search MCP server (#888)
* feat(docs): add docs-search MCP server

Adds a stateless MCP server at https://docs.emdashcms.com/mcp that
exposes a single search_docs tool over the EmDash documentation,
backed by Cloudflare AI Search.

The docs Worker now wraps the Astro adapter via a custom worker
entrypoint, intercepting /mcp before the asset handler. Sets the
canonical site URL so a sitemap is generated; ships robots.txt
pointing at the sitemap so the AI Search crawler can discover it.

Templates ship .mcp.json, .cursor/mcp.json, and .vscode/mcp.json so
Claude Code, Cursor, and VS Code auto-discover the server. AGENTS.md
in each template references the docs MCP and points to the
configuration page for tools that need manual setup.

The two marketing templates previously ignored the entire .vscode
directory; updated their gitignores so .vscode/mcp.json is committed
while personal IDE settings remain ignored.

* Update docs/src/worker.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* lockfile

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-05-01 16:45:49 +00:00
..