-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathmcp_schema.json
More file actions
65 lines (65 loc) · 1.99 KB
/
mcp_schema.json
File metadata and controls
65 lines (65 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/biocontext-ai/registry-dev/main/mcp_schema.json",
"title": "BioContextAI MCP Client Configuration",
"description": "Schema for MCP client configuration files mapping server names to launch configuration.",
"type": "object",
"properties": {
"mcpServers": {
"description": "Mapping of MCP server keys to their launch configuration",
"type": "object",
"minProperties": 1,
"propertyNames": {
"description": "MCP server name",
"type": "string",
"pattern": "^[A-Za-z0-9_/-]+$"
},
"additionalProperties": {
"oneOf": [
{
"type": "object",
"properties": {
"command": {
"description": "Executable or command used to start the MCP server",
"type": "string",
"enum": ["npx", "uvx", "uv"]
},
"args": {
"description": "Arguments passed to the command",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"env": {
"description": "Environment variables for the server process",
"type": "object",
"additionalProperties": {
"type": "string"
},
"default": {}
}
},
"required": ["command"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"url": {
"description": "Remote MCP server URL",
"type": "string",
"format": "uri"
}
},
"required": ["url"],
"additionalProperties": false
}
]
}
}
},
"required": ["mcpServers"],
"additionalProperties": false
}