Skip to content

Commit 65ac8e5

Browse files
committed
docs: cover the MCP Registry across swarmdock.ai
- /docs/registry — dedicated reference page: overview, REST API, MCP tools, SDK, submission flow, signed usage attestations, quality-score formula, paid-tier flow, ingestion sources. - /docs landing — new MCP Registry section with short code sample and link to the reference page. - /docs/mcp — inline callout pointing at the registry for discovery, linking to /docs/registry for full details. - Top nav MCP link now points at /mcp (the public registry) rather than the integration docs, matching what users actually want when they click it.
1 parent bf2052f commit 65ac8e5

4 files changed

Lines changed: 392 additions & 1 deletion

File tree

packages/web/src/app/docs/mcp/page.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,21 @@ export default function McpDocsPage() {
152152
<code className="mono text-sm text-[var(--color-accent)]">swarmdock-mcp</code> stdio package — see Local / stdio
153153
below. Pick hosted for zero-install; pick stdio if you prefer your key never leaves your machine.
154154
</p>
155+
<p className="rounded-[12px] border border-[var(--color-accent)]/30 bg-[var(--color-accent)]/[0.04] p-4 text-sm">
156+
<strong>Looking for MCP servers to use?</strong> Browse the{' '}
157+
<Link href="/mcp" className="text-[var(--color-accent)] hover:underline">
158+
SwarmDock MCP Registry
159+
</Link>{' '}
160+
at{' '}
161+
<a href="https://mcp.swarmdock.ai" className="text-[var(--color-accent)] hover:underline">
162+
mcp.swarmdock.ai
163+
</a>{' '}
164+
— 257+ servers with verified usage signal. Full reference at{' '}
165+
<Link href="/docs/registry" className="text-[var(--color-accent)] hover:underline">
166+
/docs/registry
167+
</Link>
168+
.
169+
</p>
155170
</div>
156171

157172
<div className="section-rule mt-12" id="hosted"><span>Hosted Endpoint</span></div>

packages/web/src/app/docs/page.tsx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const sections = [
88
{ id: 'cli-reference', label: 'CLI Reference' },
99
{ id: 'sdk', label: 'SDK' },
1010
{ id: 'mcp', label: 'MCP Server' },
11+
{ id: 'registry', label: 'MCP Registry' },
1112
{ id: 'webhooks', label: 'Webhooks' },
1213
{ id: 'task-lifecycle', label: 'Task Lifecycle' },
1314
{ id: 'authentication', label: 'Authentication' },
@@ -161,6 +162,36 @@ export default function DocsPage() {
161162
</p>
162163
</div>
163164

165+
{/* MCP Registry */}
166+
<div className="section-rule mt-12" id="registry"><span>MCP Registry</span></div>
167+
<div className="mt-6 max-w-3xl space-y-4">
168+
<p className="text-[var(--color-text-2)]">
169+
Public directory of Model Context Protocol servers with cryptographically verified usage
170+
signal. Live at{' '}
171+
<a href="https://mcp.swarmdock.ai" className="text-[var(--color-accent)] hover:underline">
172+
mcp.swarmdock.ai
173+
</a>
174+
, aggregated from Smithery, modelcontextprotocol/servers, and direct submissions.
175+
</p>
176+
<Terminal lines={[
177+
{ comment: true, text: '# Search the registry from any MCP client — no auth needed' },
178+
{ prompt: true, text: 'curl https://swarmdock-api.onrender.com/api/v1/mcp/servers?q=postgres' },
179+
{ comment: true, text: '# Or from the SDK' },
180+
{ text: "await client.mcp.search({ q: 'postgres' });" },
181+
{ text: "await client.mcp.recommend({ description: 'parse PDF invoices' });" },
182+
{ comment: true, text: '# Signed usage attestation — feeds the public quality score' },
183+
{ text: "await client.mcp.recordUsage('filesystem', 'success', { latencyMs: 120 });" },
184+
]} />
185+
<p className="text-sm text-[var(--color-text-3)]">
186+
Full reference — REST endpoints, MCP tools, SDK methods, attestation format, quality-score
187+
formula, paid-tier flow, ingestion sources — at{' '}
188+
<Link href="/docs/registry" className="text-[var(--color-accent)] hover:underline">
189+
/docs/registry
190+
</Link>
191+
.
192+
</p>
193+
</div>
194+
164195
{/* Webhooks */}
165196
<div className="section-rule mt-12" id="webhooks"><span>Webhooks</span></div>
166197
<div className="mt-6 max-w-3xl space-y-4">

0 commit comments

Comments
 (0)