You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor package registry documentation and schema: remove on-device specific fields and update changelog; those fields now go into _meta under com.microsoft.windows (or other vendor-specific namespace)
Copy file name to clipboardExpand all lines: docs/reference/api/openapi.yaml
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -337,13 +337,6 @@ components:
337
337
description: A mapping of environment variables to be set when running the package.
338
338
items:
339
339
$ref: '#/components/schemas/KeyValueInput'
340
-
manifest:
341
-
type: object
342
-
description: Optional embedded MCPB manifest describing an on-device server. Only used when registryType is 'on_device'.
343
-
additionalProperties: true
344
-
__dirname:
345
-
type: string
346
-
description: Optional local directory path containing the on-device server implementation (analogous to Node.js __dirname). Only used when registryType is 'on_device'.
Copy file name to clipboardExpand all lines: docs/reference/server-json/CHANGELOG.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,7 @@ Changes to the server.json schema and format.
5
5
## Unreleased
6
6
7
7
### Added
8
-
- Support for `on_device``registryType` for pre-installed/system-managed MCP servers.
9
-
- New optional `manifest` field on package objects (used with `on_device`) to embed an MCPB-style manifest.
10
-
- New optional `__dirname` field on package objects to specify the local directory containing on-device server assets.
11
-
8
+
- Support for `on_device``registryType` for pre-installed/system-managed MCP servers. For servers marked as such, registries provide MCPB manifests and `__dirname` in `server._meta`.
Copy file name to clipboardExpand all lines: docs/reference/server-json/server.schema.json
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -192,10 +192,6 @@
192
192
},
193
193
"Package": {
194
194
"properties": {
195
-
"__dirname": {
196
-
"description": "Optional local directory path containing the on-device server implementation (analogous to Node.js __dirname). Only used when registryType is 'on_device'.",
197
-
"type": "string"
198
-
},
199
195
"environmentVariables": {
200
196
"description": "A mapping of environment variables to be set when running the package.",
201
197
"items": {
@@ -217,11 +213,6 @@
217
213
],
218
214
"type": "string"
219
215
},
220
-
"manifest": {
221
-
"additionalProperties": true,
222
-
"description": "Optional embedded MCPB manifest describing an on-device server. Only used when registryType is 'on_device'.",
223
-
"type": "object"
224
-
},
225
216
"packageArguments": {
226
217
"description": "A list of arguments to be passed to the package's binary.",
// Manifest is an optional embedded MCPB manifest describing an on-device server. Only used when registryType == on_device.
35
-
Manifestmap[string]any`json:"manifest,omitempty"`
36
-
// Dirname is the directory on the local filesystem containing the on-device server (mirrors Node.js __dirname semantics for discovery). Only used when registryType == on_device.
37
-
Dirnamestring`json:"__dirname,omitempty"`
38
34
}
39
35
40
36
// Repository represents a source code repository as defined in the spec
0 commit comments