-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathcom.tidb-mcp-uvx.json
More file actions
111 lines (111 loc) · 3.21 KB
/
Copy pathcom.tidb-mcp-uvx.json
File metadata and controls
111 lines (111 loc) · 3.21 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
{
"$schema": "../schemas/server-definition.schema.json",
"id": "com.tidb-mcp-uvx",
"name": "TiDB (uvx)",
"alias": "tidb",
"description": "Connect to a TiDB or TiDB Cloud database. List databases and tables, run read-only queries, execute data-modifying SQL, and manage database users.",
"logo": "https://avatars.githubusercontent.com/u/11855343?v=4",
"schema_version": "2.1",
"categories": [
"database"
],
"tags": [
"tidb",
"tidb-cloud",
"database",
"sql",
"mysql",
"pingcap"
],
"transport": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"pytidb[mcp]",
"tidb-mcp-server"
],
"env": {
"TIDB_HOST": "${input:TIDB_HOST}",
"TIDB_PORT": "${input:TIDB_PORT}",
"TIDB_USERNAME": "${input:TIDB_USERNAME}",
"TIDB_PASSWORD": "${input:TIDB_PASSWORD}",
"TIDB_DATABASE": "${input:TIDB_DATABASE}"
},
"metadata": {
"inputs": [
{
"id": "TIDB_HOST",
"label": "TiDB Host",
"description": "Hostname of your TiDB server. For TiDB Cloud, use the gateway host shown in the connection dialog.",
"type": "text",
"required": true,
"secret": false,
"placeholder": "gateway01.xxx.prod.aws.tidbcloud.com"
},
{
"id": "TIDB_PORT",
"label": "TiDB Port",
"description": "Port of your TiDB server. Defaults to 4000.",
"type": "number",
"required": false,
"secret": false,
"default": "4000",
"placeholder": "4000"
},
{
"id": "TIDB_USERNAME",
"label": "TiDB Username",
"description": "Database username. For TiDB Cloud this looks like '<prefix>.root'.",
"type": "text",
"required": true,
"secret": false,
"placeholder": "xxxxxxxx.root"
},
{
"id": "TIDB_PASSWORD",
"label": "TiDB Password",
"description": "Password for the TiDB user.",
"type": "text",
"required": true,
"secret": true,
"placeholder": "********************"
},
{
"id": "TIDB_DATABASE",
"label": "TiDB Database",
"description": "Default database to connect to. Defaults to 'test'.",
"type": "text",
"required": true,
"secret": false,
"default": "test",
"placeholder": "test"
}
]
}
},
"auth": {
"type": "api_key",
"instructions": "Provide your TiDB connection details (host, port, username, password, database). For TiDB Cloud, create a cluster and copy the connection parameters from the cluster's Connect dialog."
},
"contributor": {
"name": "PingCAP",
"github": "pingcap",
"url": "https://www.pingcap.com"
},
"links": {
"repository": "https://github.com/pingcap/pytidb",
"homepage": "https://www.pingcap.com",
"documentation": "https://pingcap.github.io/ai/integrations/tidb-mcp-server/"
},
"platforms": [
"all"
],
"capabilities": {
"tools": true,
"resources": false,
"prompts": false,
"read_only_mode": false
},
"changelog_url": "https://github.com/pingcap/pytidb/releases"
}