-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathcom.cockroachdb-mcp-docker.json
More file actions
145 lines (145 loc) · 4.57 KB
/
Copy pathcom.cockroachdb-mcp-docker.json
File metadata and controls
145 lines (145 loc) · 4.57 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"$schema": "../schemas/server-definition.schema.json",
"id": "com.cockroachdb-mcp-docker",
"name": "CockroachDB (Docker)",
"alias": "cockroachdb",
"description": "Connect to CockroachDB clusters via Docker. Run SQL queries and transactions, manage databases, tables, indexes, users and privileges, monitor cluster health and jobs, and perform vector search, backups, changefeeds, and multi-region operations.",
"logo": "https://avatars.githubusercontent.com/u/105490765?v=4",
"schema_version": "2.1",
"categories": [
"database"
],
"tags": [
"cockroachdb",
"crdb",
"database",
"sql",
"distributed",
"postgres",
"docker"
],
"transport": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CRDB_HOST",
"-e",
"CRDB_PORT",
"-e",
"CRDB_DATABASE",
"-e",
"CRDB_USERNAME",
"-e",
"CRDB_PWD",
"-e",
"CRDB_SSL_MODE",
"mcp/cockroachdb:latest"
],
"env": {
"CRDB_HOST": "${input:CRDB_HOST}",
"CRDB_PORT": "${input:CRDB_PORT}",
"CRDB_DATABASE": "${input:CRDB_DATABASE}",
"CRDB_USERNAME": "${input:CRDB_USERNAME}",
"CRDB_PWD": "${input:CRDB_PWD}",
"CRDB_SSL_MODE": "${input:CRDB_SSL_MODE}"
},
"metadata": {
"inputs": [
{
"id": "CRDB_HOST",
"label": "CockroachDB Host",
"description": "Host name or address of a CockroachDB node or load balancer. Use host.docker.internal instead of localhost/127.0.0.1 to reach a CockroachDB instance running on the host machine.",
"type": "text",
"required": false,
"secret": false,
"default": "127.0.0.1",
"placeholder": "host.docker.internal"
},
{
"id": "CRDB_PORT",
"label": "CockroachDB Port",
"description": "Port number of the SQL interface of the CockroachDB node or load balancer.",
"type": "number",
"required": false,
"secret": false,
"default": "26257",
"placeholder": "26257"
},
{
"id": "CRDB_DATABASE",
"label": "Database",
"description": "Database name to use as the current database.",
"type": "text",
"required": false,
"secret": false,
"default": "defaultdb",
"placeholder": "defaultdb"
},
{
"id": "CRDB_USERNAME",
"label": "Username",
"description": "The SQL user that will own the client session.",
"type": "text",
"required": false,
"secret": false,
"default": "root",
"placeholder": "root"
},
{
"id": "CRDB_PWD",
"label": "Password",
"description": "The SQL user's password. Leave empty for insecure clusters that do not require a password.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "********"
},
{
"id": "CRDB_SSL_MODE",
"label": "SSL Mode",
"description": "Which type of secure connection to use. Set to verify-full and provide certificate paths for CockroachDB Cloud or secure clusters.",
"type": "select",
"required": false,
"secret": false,
"default": "disable",
"options": [
{ "value": "disable", "label": "disable" },
{ "value": "allow", "label": "allow" },
{ "value": "prefer", "label": "prefer" },
{ "value": "require", "label": "require" },
{ "value": "verify-ca", "label": "verify-ca" },
{ "value": "verify-full", "label": "verify-full" }
]
}
]
}
},
"auth": {
"type": "api_key",
"instructions": "Provide CockroachDB connection details (host, port, database, username, password). For CockroachDB Cloud or secure clusters, set CRDB_SSL_MODE to verify-full and supply the CA/cert/key paths."
},
"contributor": {
"name": "amineelkouhen",
"github": "amineelkouhen",
"url": "https://github.com/amineelkouhen/mcp-cockroachdb"
},
"links": {
"repository": "https://github.com/amineelkouhen/mcp-cockroachdb",
"homepage": "https://www.cockroachlabs.com",
"documentation": "https://github.com/amineelkouhen/mcp-cockroachdb#readme"
},
"platforms": [
"all"
],
"capabilities": {
"tools": true,
"resources": false,
"prompts": false,
"read_only_mode": false
},
"changelog_url": "https://github.com/amineelkouhen/mcp-cockroachdb/releases"
}