831c28b797
* 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>
30 lines
683 B
JSON
30 lines
683 B
JSON
{
|
|
"name": "docs",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"generate-types": "wrangler types"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/cloudflare": "^13.1.7",
|
|
"@astrojs/starlight": "^0.38.2",
|
|
"@astrojs/starlight-tailwind": "^5.0.0",
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"agents": "^0.12.0",
|
|
"astro": "^6.1.3",
|
|
"sharp": "^0.34.5",
|
|
"starlight-utils": "^1.0.0",
|
|
"tailwindcss": "^4.1.18",
|
|
"wrangler": "catalog:",
|
|
"zod": "^4.4.1"
|
|
},
|
|
"overrides": {
|
|
"vite": "^7"
|
|
}
|
|
} |