Skip to content

Instantly share code, notes, and snippets.

@ericzakariasson
Created March 20, 2025 21:43
Show Gist options
  • Save ericzakariasson/ac6c0ff6b44331dcf7254e80a4710b8c to your computer and use it in GitHub Desktop.
Save ericzakariasson/ac6c0ff6b44331dcf7254e80a4710b8c to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": ["mcpServers"],
"properties": {
"mcpServers": {
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "object",
"properties": {
"env": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"oneOf": [
{
"required": ["command", "args"],
"properties": {
"command": {
"type": "string"
},
"args": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
},
"additionalProperties": false
},
{
"required": ["url"],
"properties": {
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
],
"additionalProperties": false
}
}
},
"additionalProperties": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment