Skip to content

feat(landing): MCPSection + /agents docs page#63

Merged
artugrande merged 1 commit into
mainfrom
feat/landing-mcp-section
May 8, 2026
Merged

feat(landing): MCPSection + /agents docs page#63
artugrande merged 1 commit into
mainfrom
feat/landing-mcp-section

Conversation

@artugrande
Copy link
Copy Markdown
Collaborator

Summary

Brings forward the Phase 4 deliverable from the MCP spec: makes mcp.ghbounty.com discoverable from the landing page.

  • 🔗 Spec section 10: docs/superpowers/specs/2026-05-05-ghbounty-mcp-server-design.md

What this PR adds

<MCPSection /> on the landing

Slotted before <Community />. Includes:

  • Eyebrow: "Connect your agent"
  • Two-column layout: tabbed mcp.json snippets (Claude Code / Cursor / Custom) + quickstart code block with @solana/kit + @ghbounty/sdk
  • CTAs: "Full agent docs" (→ /agents) + "mcp.ghbounty.com" external link

/agents docs page

Static page covering:

  • All 16 MCP tools with names, access level (public / dev / company / all), and descriptions
  • Bearer auth model (ghbk_live_* keys)
  • Rate limits table (5 endpoint groups)
  • Onboarding flow walkthrough (Device Flow + stake)
  • Error code reference (12 codes)
  • Anti-abuse / slashing rules table

Files

File Type
frontend/components/MCPConfigTabs.tsx NEW — client component, tabbed config snippets
frontend/components/MCPSection.tsx NEW — client component, full landing section
frontend/components/MCPSection.module.css NEW — scoped styles for both components
frontend/app/agents/page.tsx NEW — static /agents docs page
frontend/app/agents/agents.module.css NEW — scoped styles for docs page
frontend/app/page.tsx MODIFIED — import + <MCPSection /> before <Community />

Dependencies

This PR is independent of PR #61 (Phase 1 MCP server). The URLs it advertises (mcp.ghbounty.com/api/mcp/sse) only resolve once PR #61 deploys + DNS is configured. Until then, the section ships but the URL 404s.

Suggested merge order:

  1. PR feat(frontend): MCP service-token auth on gas-station endpoint #62 (frontend gas-station auth — separate PR)
  2. PR feat(mcp): Phase 1 — Onboarding + Read-Only Tools #61 (Phase 1 MCP server) → deploys mcp.ghbounty.com
  3. This PR

Test plan

  • pnpm typecheck passes (pre-existing BigInt errors in tests/ are unrelated to this PR)
  • pnpm test passes — 228 tests, 14 test files
  • Local dev: Connect your agent content compiles into landing JS bundle
  • Local dev: /agents returns 200 with create_account.init, ghbk_live, BlockhashExpired, Device Flow in SSR HTML
  • Visual review (preview deploy)

🤖 Generated with Claude Code

@artugrande artugrande requested a review from tomazzi14 as a code owner May 6, 2026 22:37
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

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

Project Deployment Actions Updated (UTC)
gh-bounty-frontend Ready Ready Preview, Comment May 8, 2026 1:17am
ghbounty-mcp Error Error May 8, 2026 1:17am

Phase 4 deliverable from the MCP spec: makes mcp.ghbounty.com discoverable
from the landing. Adds <MCPSection /> (tabbed mcp.json snippets + quickstart)
before <Community />, and a static /agents docs page with all 16 tools,
auth model, rate limits, error codes, onboarding walkthrough, and slashing
rules.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@artugrande artugrande force-pushed the feat/landing-mcp-section branch from 2f662a7 to c385182 Compare May 8, 2026 01:09
@artugrande artugrande merged commit 7035e5e into main May 8, 2026
4 of 5 checks passed
@artugrande artugrande deleted the feat/landing-mcp-section branch May 8, 2026 01:17
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