index.ts - Main SDK client file (add API version support, new methods, updated namespaces)types.ts - Type definitions (add new schemas: Icon, transports, response schemas, update Package, Transport)README.md - Update documentation with new API version, endpoints, migration guidepackage.json - Update version from 0.2.0 to 0.3.0tests/server_list.test.ts - Update to test new version methods and API versioningIMPORTANT: As you complete each task, you must check it off in this markdown file by changing - [ ] to - [x]. This helps track progress and ensures you don't skip any steps.
Example:
- [ ] 1.1 Read file → - [x] 1.1 Read file (after completing)Update the file after completing each sub-task, not just after completing an entire parent task.
1.0 Add API Version Support
apiVersion parameter to MCPRegistryClient constructor with default 'v0'2.0 Update Server Endpoint Methods
getServerByName() to call /versions/latest endpoint internallygetServerVersion(serverName: string, version: string) calling /versions/{version}listServerVersions(serverName: string) calling /versions endpointgetServerByName() using console.warn()encodeURIComponent() for all server names and versions3.0 Update Package Schema
version field optional in PackageSchema (remove from required array)4.0 Update Transport Schemas
StdioTransportSchema with required type: 'stdio'StreamableHttpTransportSchema with required type, url, optional headersSseTransportSchema with required type, url, optional headersTransportSchema to be discriminated union of three transport types5.0 Add URL Template Variables to Remote Transport
variables property to RemoteSchema{curly_braces})6.0 Add Icon Schema
IconSchema with required src fieldmimeType field with enum validation (image/png, image/jpeg, image/jpg, image/svg+xml, image/webp)sizes field with pattern validation (^(\d+x\d+|any)$)theme field with enum validation ('light', 'dark')ServerDetailSchema as optional icons array7.0 Add Additional Schemas from Official Registry
ResponseMetaSchema for API response-level metadata (status, publishedAt, updatedAt, isLatest)ServerMetaSchema for server metadata in responsesServerJSONSchema as alias for ServerDetail (input format)ServerListResponseSchema for list operationsTransportSchema as discriminated union of Stdio, StreamableHttp, SSEVersionBodySchema for version endpoint responsesSignatureTokenExchangeInputSchema for DNS/HTTP signature exchangeOIDCTokenExchangeInputBodySchema for Google OIDC (admin-only)GitHubTokenExchangeInputBodySchema for GitHub authGitHubOIDCTokenExchangeInputBodySchema for GitHub OIDC authMetadataSchema for pagination metadataRepositorySchema fields optional to match live registry dataResponseMetaSchema for API response-level metadata (status, publishedAt, updatedAt, isLatest)ServerMetaSchema for server metadata in responsesServerJSONSchema as alias for ServerDetail (input format)ServerListResponseSchema for list operationsTransportSchema as discriminated union of Stdio, StreamableHttp, SSEVersionBodySchema for version endpoint responsesSignatureTokenExchangeInputSchema for DNS/HTTP signature exchangeOIDCTokenExchangeInputBodySchema for Google OIDC (admin-only)GitHubTokenExchangeInputBodySchema for GitHub authGitHubOIDCTokenExchangeInputBodySchema for GitHub OIDC authMetadataSchema for pagination metadata8.0 Add New Admin Endpoints
PUT /servers/{serverName}/versions/{version} endpoint for updatesDELETE /servers/{serverName}/versions/{version} (optional)9.0 Update Documentation
9.1 Update README to document new apiVersion constructor option
9.2 Update all code examples to show both v0 and v0.1 usage patterns
9.3 Add migration guide section for deprecated getServerByName() method
9.4 Update $schema URL examples to use 2025-12-11 version
9.5 Document new transport types and URL template variables feature
9.6 Document new schemas (Icon, transports, response schemas)
10.0 Version Bump & Release
11.0 Testing & Validation
tests/ directory to ensure no regressionsYou absolutely must output DONE when all phases done.