Skip to content

Commit d040534

Browse files
committed
Add Trino MCP server
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ
1 parent 2fd91f8 commit d040534

1 file changed

Lines changed: 119 additions & 0 deletions

File tree

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "tuannvm.trino-mcp-docker",
4+
"name": "Trino (Docker)",
5+
"alias": "trino",
6+
"description": "Connect to a Trino distributed SQL query engine via Docker. Run queries, explore catalogs, schemas, and tables, and inspect query results across federated data sources in an isolated container.",
7+
"logo": "https://avatars.githubusercontent.com/u/1461216?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"database"
11+
],
12+
"tags": [
13+
"trino",
14+
"presto",
15+
"database",
16+
"sql",
17+
"query-engine",
18+
"analytics",
19+
"docker"
20+
],
21+
"transport": {
22+
"type": "stdio",
23+
"command": "docker",
24+
"args": [
25+
"run",
26+
"-i",
27+
"--rm",
28+
"-e",
29+
"TRINO_HOST",
30+
"-e",
31+
"TRINO_PORT",
32+
"-e",
33+
"TRINO_USER",
34+
"-e",
35+
"TRINO_PASSWORD",
36+
"-e",
37+
"TRINO_SCHEME",
38+
"ghcr.io/tuannvm/mcp-trino:latest"
39+
],
40+
"env": {
41+
"TRINO_HOST": "${input:TRINO_HOST}",
42+
"TRINO_PORT": "${input:TRINO_PORT}",
43+
"TRINO_USER": "${input:TRINO_USER}",
44+
"TRINO_PASSWORD": "${input:TRINO_PASSWORD}",
45+
"TRINO_SCHEME": "${input:TRINO_SCHEME}"
46+
},
47+
"metadata": {
48+
"inputs": [
49+
{
50+
"id": "TRINO_HOST",
51+
"label": "Trino Host",
52+
"description": "Hostname or IP of the Trino coordinator. Use host.docker.internal instead of localhost to reach a Trino instance running on the host machine.",
53+
"type": "text",
54+
"required": true,
55+
"placeholder": "trino.example.com"
56+
},
57+
{
58+
"id": "TRINO_PORT",
59+
"label": "Trino Port",
60+
"description": "Port of the Trino coordinator HTTP(S) endpoint.",
61+
"type": "number",
62+
"required": false,
63+
"default": "8080",
64+
"placeholder": "8080"
65+
},
66+
{
67+
"id": "TRINO_USER",
68+
"label": "Trino User",
69+
"description": "Username to authenticate to Trino.",
70+
"type": "text",
71+
"required": false,
72+
"placeholder": "trino"
73+
},
74+
{
75+
"id": "TRINO_PASSWORD",
76+
"label": "Trino Password",
77+
"description": "Password for the Trino user. Optional — leave empty for clusters that do not require password authentication.",
78+
"type": "text",
79+
"required": false,
80+
"secret": true,
81+
"placeholder": "************"
82+
},
83+
{
84+
"id": "TRINO_SCHEME",
85+
"label": "Trino Scheme",
86+
"description": "Connection scheme for the Trino endpoint. Use http for unsecured local clusters or https for TLS-enabled clusters.",
87+
"type": "text",
88+
"required": false,
89+
"default": "http",
90+
"placeholder": "http"
91+
}
92+
]
93+
}
94+
},
95+
"auth": {
96+
"type": "optional_api_key",
97+
"instructions": "Trino host and user identify the connection. A password is optional and only required for clusters configured with password authentication."
98+
},
99+
"contributor": {
100+
"name": "tuannvm",
101+
"github": "tuannvm",
102+
"url": "https://github.com/tuannvm/mcp-trino"
103+
},
104+
"links": {
105+
"repository": "https://github.com/tuannvm/mcp-trino",
106+
"homepage": "https://github.com/tuannvm/mcp-trino",
107+
"documentation": "https://github.com/tuannvm/mcp-trino#readme"
108+
},
109+
"platforms": [
110+
"all"
111+
],
112+
"capabilities": {
113+
"tools": true,
114+
"resources": false,
115+
"prompts": false,
116+
"read_only_mode": true
117+
},
118+
"changelog_url": "https://github.com/tuannvm/mcp-trino/releases"
119+
}

0 commit comments

Comments
 (0)