• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
project logo

cameronpak

mcp-registry-subregistry-api

A Subregistry API for the official MCP Registry
Public
Like
1
mcp-registry-subregistry-api
Home
Code
6
.vtignore
AGENTS.md
README.md
deno.json
main.ts
openapi.yaml
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
10/3/2025
Viewing readonly version of main branch: v12
View latest version
README.md

Subregistry API for the Official MCP Registry

I want to create a subregistry API using the following tech stack:

  • Drizzle
  • Hono
  • mcp-registry-spec-sdk
  • Open API Spec
  • Val.Town Blobs
  • Val.Town SQLite
  • [Zod]

Core Endpoints

  • GET /v0/servers - List all servers with pagination
  • GET /v0/servers/{serverName} - Get latest version of server by server name (URL-encoded)
  • GET /v0/servers/{serverName}/versions/{version} - Get specific version of server (both parameters should be URL-encoded)
  • GET /v0/servers/{serverName}/versions - List all versions of a server
  • POST /v0/publish - Publish new server (optional, registry-specific authentication)

Authentication

  • Read operations: No authentication required
  • Write operations: Registry-specific authentication (if supported) Content Type

All requests and responses use application/json

Pagination

List endpoints use cursor-based pagination for efficient, stable results.

Usage

  • Initial request: Omit the cursor parameter
  • Subsequent requests: Use the nextCursor value from the previous response
  • End of results: When nextCursor is null or empty, there are no more results

Important: Always treat cursors as opaque strings. Never manually construct or modify cursor values.

Plan

  • Validate the Open API spec is 100% up to date
  • Create database tables that meets the Open API spec using Val.Town SQLite and Val.Town Blobs (for storing images) and use the zod types in "npm:mcp-registry-spec-sdk"
  • Create Hono endopints
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.