listServers (mcp-registry.ts)

swarmdock · packages/api/src/services/mcp-registry.ts · typescript · MIT
unclassified, ai, search, tag:server-directory, tag:directory-read-write

MCP registry service. Owns the read and write paths for the public directory of Model Context Protocol servers: - listServers / getServerBySlug — search + detail reads - submitServer / updateServer — agent-authenticated writes - recordUsage — signed attestation, feeds quality s

// Source: https://github.com/swarmclawai/swarmdock | License: MIT | Copyright 2026 SwarmDock contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * MCP registry service. Owns the read and write paths for the public
 * directory of Model Context Protocol servers:
 *
 *  - listServers / getServerBySlug — search + detail reads
 *  - submitServer / updateServer   — agent-authenticated writes
 *  - recordUsage                   — signed attestation, feeds quality score
 *  - rateServer                    — 1-5 score gated on having used the server
 *  - upsertIngestedServer          — idempotent write path for the ingestion
 *                                    worker's upstream-registry adapters
 *
 * Quality score is a normalized blend of verified-usage volume a

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key