Skip to content

chore(seo): disallow /mcp in production robots#27

Merged
vreshch merged 1 commit into
masterfrom
feature/mcp-robots-disallow
Jun 25, 2026
Merged

chore(seo): disallow /mcp in production robots#27
vreshch merged 1 commit into
masterfrom
feature/mcp-robots-disallow

Conversation

@vreshch

@vreshch vreshch commented Jun 25, 2026

Copy link
Copy Markdown
Member

Add /mcp to the production disallow list in packages/landing/src/app/robots.ts.

Why

agentage.io/mcp is served by the new mcp-catalog stack (a separate repo/Swarm stack, routed by Traefik PathPrefix(/mcp)), currently a placeholder scaffold. landing owns agentage.io/robots.txt, so the disallow has to live here. This keeps /mcp out of the search index until the catalog has real content.

Change

const disallow = ['/api/', '/dashboard/'] -> [..., '/mcp'] (prod/indexable branch only). The dev branch already returns a blanket Disallow: /, so dev is unaffected.

Verify

  • Prod robots (agentage.io/robots.txt) gains Disallow: /mcp for * and the AI bots.
  • e2e seo.spec.ts only asserts the non-prod blanket-disallow, so no test change needed.

/mcp is the separate mcp-catalog stack (agentage.io/mcp). Keep it out of
the index until the catalog has real content. Dev stays blanket-noindex.
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

CI - Verify PASSED

Commit: 9facd64851880460efdbeb8eaf4c122b4d28e4d8 · Branch: feature/mcp-robots-disallow

  • ✅ Type check
  • ✅ Lint
  • ✅ Format check
  • ✅ Unit tests
  • ✅ Build
  • ✅ Landing e2e
  • ✅ Showcase e2e

🔗 View workflow run

@vreshch vreshch marked this pull request as ready for review June 25, 2026 20:39
@vreshch vreshch merged commit 549b741 into master Jun 25, 2026
1 check passed
@vreshch vreshch deleted the feature/mcp-robots-disallow branch June 25, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant