Skip to content

fix(mcp): expose directory discovery and hosted ownership proof - #499

Merged
imshashank merged 1 commit into
mainfrom
fix/registry-discovery
Sep 24, 2026
Merged

imshashank merged 1 commit into
mainfrom
fix/registry-discovery

Conversation

@imshashank

@imshashank imshashank commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Orbit's hosted MCP cannot complete MCPub discovery or Glama's HTTP ownership verification because the requested well-known routes are missing. Add deployment-aware /.well-known/mcp.json metadata with the remote endpoint and OAuth requirement, plus Glama's public ownership proof limited to the configured production origin and production request host.

Self-hosted copies advertise their own configured endpoint, including NEXT_PUBLIC_MCP_URL overrides, and return 404 for Noveum's Glama claim. The claim value is public verification metadata, not a credential. OAuth authorization, tool access and workspace policies are unchanged.

Add the corrected Claude Code Marketplace listing to the MCP setup guide, fulfilling the contextual link for its free listing.

Validation: 3 executable route regression cases passed for production, self-hosted and preview/override behavior. Lint, comment policy and types passed. Full isolated bun run verify and remote CI are running; this PR is not yet cleared for merge. No database migration or production secrets are required.

Final verification: the combined current-main tree containing #493, #495 and this PR passed bun run verify with zero failures. All remote checks for this PR pass. Manual review verified deployment-specific URLs, production-only ownership proof, CORS/preflight behavior and the three route regression cases. Greptile's trial is unavailable and CodeRabbit's rate limit is not treated as a completed review.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 56 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: Noveum/orbit/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 9df9af21-f693-4caa-8798-3a38fde654e9

📥 Commits

Reviewing files that changed from the base of the PR and between 8135ae4 and 1a6761c.

📒 Files selected for processing (4)
  • apps/web/src/app/.well-known/glama.json/route.ts
  • apps/web/src/app/.well-known/mcp.json/route.ts
  • apps/web/tests/app/well-known/registry-discovery.test.ts
  • docs/mcp.md

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added documentation Docs, the README, or anything that explains Orbit tests Test coverage and test infrastructure area: web The Next.js app and its UI area: mcp The MCP server, its tools and its OAuth labels Sep 24, 2026
@vercel

vercel Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
orbit Ready Ready Preview Sep 24, 2026 7:59am UTC

Request Review

@imshashank
imshashank merged commit 542f3ba into main Sep 24, 2026
18 checks passed
@imshashank
imshashank deleted the fix/registry-discovery branch September 24, 2026 08:27

This branch was successfully deployed

1 active deployment
Preview — 1a6761c0 Deployed Sep 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: mcp The MCP server, its tools and its OAuth area: web The Next.js app and its UI documentation Docs, the README, or anything that explains Orbit tests Test coverage and test infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant