registry/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
adam jones 218b0b422d
Implement flattened _meta format for server extensions (#331)
## Summary

This PR implements the flattened `_meta` format for server extensions as
discussed in #284, replacing the confusing wrapper format with a clean
single-file approach.

**Before (wrapper format):**
```json
{
  "server": { "name": "my-server", "description": "..." },
  "x-publisher": { "build_info": "..." },
  "x-io.modelcontextprotocol.registry": { "id": "...", "published_at": "..." }
}
```

**After (flattened format):**
```json
{
  "name": "my-server",
  "description": "...",
  "_meta": {
    "publisher": { "build_info": "..." },
    "io.modelcontextprotocol.registry": { "id": "...", "published_at": "..." }
  }
}
```

## Key Changes

- **Flattened Format**: Single `ServerJSON` file with structured `_meta`
field
- **Better DX**: Publishers maintain one file instead of separate
server.json + extensions.json
- **MCP Compliance**: Uses standard `_meta` mechanism instead of `x-*`
prefixes
- **Simplified Database**: PostgreSQL now uses simple `id, value` table
structure
- **Type Safety**: Structured `ServerMeta` with known extension fields

## Database Migration

Added migration `003_simplify_to_key_value.sql` that drops the complex
relational structure and creates a simple key-value table. This
significantly simplifies database management.

## Testing

- All core tests passing (validators, service layer)
- Schema validation working for all 10 examples
- Seed data successfully migrated (396 entries)
- Publishing functionality verified

Fixes #284
2025-09-01 19:27:23 +01:00
..
server-json Implement flattened _meta format for server extensions (#331) 2025-09-01 19:27:23 +01:00
server-registry-api Implement flattened _meta format for server extensions (#331) 2025-09-01 19:27:23 +01:00
admin-operations.md feat: add admin operations documentation and scripts for server management (#323) 2025-08-28 23:40:50 +01:00
architecture.md feat: implement OIDC authentication for admin users (#316) 2025-08-27 18:59:49 +01:00
design_principles.md Add NuGet to the MCP Registry, similar to npm and Python 2025-07-07 12:28:19 -06:00
ecosystem-diagram.excalidraw.svg Update documentation structure and content (#302) 2025-08-26 15:58:49 +01:00
faq.md Move publisher CLI from tools/ to cmd/ (#326) 2025-08-29 14:45:36 +01:00
MCP Developers Summit 2025 - Registry Talk Slides.pdf Add 2025-05-26 15:42:55 -07:00
moderation-guidelines.md feat: add admin operations documentation and scripts for server management (#323) 2025-08-28 23:40:50 +01:00
new_package_registry.md Add $schema to server.json specification to enable versioning, IDE autocomplete (#308) 2025-08-27 01:30:25 +01:00
README.md Fix the path for openapi.yaml in README (#314) 2025-08-27 13:50:27 +01:00
roadmap.md Update documentation structure and content (#302) 2025-08-26 15:58:49 +01:00
versioning.md feat: implement server versioning approach with semantic versioning support (#296) 2025-08-26 14:55:38 +01:00

Official Registry Documentation

This extends the main README.

Project Documentation

API & Technical Specifications