Skip to content

Commit 0726756

Browse files
author
Jeremy Dai
authored
schema update (#23)
1 parent 4f24c2c commit 0726756

File tree

1 file changed

+52
-10
lines changed

1 file changed

+52
-10
lines changed

mcp-registry/schema/server-schema.json

Lines changed: 52 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,16 @@
2727
},
2828
"repository": {
2929
"type": "object",
30-
"required": ["type", "url"],
30+
"required": [
31+
"type",
32+
"url"
33+
],
3134
"properties": {
3235
"type": {
3336
"type": "string",
34-
"enum": ["git"]
37+
"enum": [
38+
"git"
39+
]
3540
},
3641
"url": {
3742
"type": "string"
@@ -43,7 +48,9 @@
4348
},
4449
"author": {
4550
"type": "object",
46-
"required": ["name"],
51+
"required": [
52+
"name"
53+
],
4754
"properties": {
4855
"name": {
4956
"type": "string"
@@ -62,7 +69,22 @@
6269
"categories": {
6370
"type": "array",
6471
"items": {
65-
"type": "string"
72+
"type": "string",
73+
"enum": [
74+
"Databases",
75+
"Dev Tools",
76+
"Productivity",
77+
"Media Creation",
78+
"Web Services",
79+
"Knowledge Base",
80+
"AI Systems",
81+
"System Tools",
82+
"Messaging",
83+
"Finance",
84+
"Analytics",
85+
"Professional Apps",
86+
"MCP Tools"
87+
]
6688
}
6789
},
6890
"tags": {
@@ -76,7 +98,10 @@
7698
"description": "Configuration arguments required by the server",
7799
"additionalProperties": {
78100
"type": "object",
79-
"required": ["description", "required"],
101+
"required": [
102+
"description",
103+
"required"
104+
],
80105
"properties": {
81106
"description": {
82107
"type": "string",
@@ -98,7 +123,9 @@
98123
"description": "Tools provided by this server",
99124
"items": {
100125
"type": "object",
101-
"required": ["name"],
126+
"required": [
127+
"name"
128+
],
102129
"properties": {
103130
"name": {
104131
"type": "string"
@@ -123,12 +150,23 @@
123150
"description": "Different methods to install and run this server",
124151
"additionalProperties": {
125152
"type": "object",
126-
"required": ["type", "command", "args"],
153+
"required": [
154+
"type",
155+
"command",
156+
"args"
157+
],
127158
"properties": {
128159
"type": {
129160
"type": "string",
130161
"description": "Type of installation method",
131-
"enum": ["npm", "python", "docker", "cli", "uvx", "custom"]
162+
"enum": [
163+
"npm",
164+
"python",
165+
"docker",
166+
"cli",
167+
"uvx",
168+
"custom"
169+
]
132170
},
133171
"command": {
134172
"type": "string",
@@ -167,7 +205,11 @@
167205
"type": "array",
168206
"items": {
169207
"type": "object",
170-
"required": ["title", "description", "prompt"],
208+
"required": [
209+
"title",
210+
"description",
211+
"prompt"
212+
],
171213
"properties": {
172214
"title": {
173215
"type": "string"
@@ -182,4 +224,4 @@
182224
}
183225
}
184226
}
185-
}
227+
}

0 commit comments

Comments
 (0)