-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmcp.json
More file actions
28 lines (28 loc) · 887 Bytes
/
mcp.json
File metadata and controls
28 lines (28 loc) · 887 Bytes
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
{
"mcpServers": {
"cockroachdb-toolbox": {
"command": "toolbox",
"args": ["--config", "tools.yaml", "--stdio"],
"env": {
"COCKROACHDB_HOST": "${COCKROACHDB_HOST}",
"COCKROACHDB_PORT": "${COCKROACHDB_PORT}",
"COCKROACHDB_USER": "${COCKROACHDB_USER}",
"COCKROACHDB_PASSWORD": "${COCKROACHDB_PASSWORD}",
"COCKROACHDB_DATABASE": "${COCKROACHDB_DATABASE}",
"COCKROACHDB_SSLMODE": "${COCKROACHDB_SSLMODE}"
}
},
"cockroachdb-toolbox-http": {
"type": "http",
"url": "http://127.0.0.1:5000/mcp",
"_comment": "SSE transport — run 'toolbox --config tools.yaml' first, then connect via this URL"
},
"cockroachdb-cloud": {
"type": "http",
"url": "https://cockroachlabs.cloud/mcp",
"headers": {
"mcp-cluster-id": "${COCKROACHDB_CLUSTER_ID}"
}
}
}
}