Clarify the docs around _meta publisher extensions (#695)
This commit is contained in:
parent
12b5b0f477
commit
0ef5b90ed7
1 changed files with 100 additions and 3 deletions
|
|
@ -14,6 +14,22 @@ The schema contains all field definitions, validation rules, examples, and detai
|
|||
|
||||
The official registry has some more restrictions on top of this. See the [official registry requirements](./official-registry-requirements.md) for details.
|
||||
|
||||
## Extension Metadata with `_meta`
|
||||
|
||||
The optional `_meta` field allows publishers to include custom metadata alongside their server definitions using reverse DNS namespacing.
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"_meta": {
|
||||
"io.modelcontextprotocol.registry/publisher-provided": {
|
||||
// Your custom metadata here
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
When publishing to the official registry, custom metadata must be placed under the key `io.modelcontextprotocol.registry/publisher-provided`. See the [official registry requirements](./official-registry-requirements.md) for detailed restrictions and examples.
|
||||
|
||||
## Examples
|
||||
|
||||
<!-- As a heads up, these are used as part of tests/integration/main.go -->
|
||||
|
|
|
|||
Loading…
Reference in a new issue