MCP server
MCP Trino
MCP server for Trino distributed SQL query engine access
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 2.2.1
- Listing updated
- 4 days ago
About MCP Trino
MCP Trino is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mcp-trino --env TRINO_HOST='<TRINO_HOST>' --env TRINO_USER='<TRINO_USER>' --env TRINO_PASSWORD='<TRINO_PASSWORD>' -- npx -y https://github.com/tuannvm/mcp-trino/releases/download/v2.2.1/mcp-trino_2.2.1_darwin_arm64.tar.gzAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-trino": {
"command": "npx",
"args": [
"-y",
"https://github.com/tuannvm/mcp-trino/releases/download/v2.2.1/mcp-trino_2.2.1_darwin_arm64.tar.gz"
],
"env": {
"TRINO_HOST": "<TRINO_HOST>",
"TRINO_USER": "<TRINO_USER>",
"TRINO_PASSWORD": "<TRINO_PASSWORD>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-trino": {
"command": "npx",
"args": [
"-y",
"https://github.com/tuannvm/mcp-trino/releases/download/v2.2.1/mcp-trino_2.2.1_darwin_arm64.tar.gz"
],
"env": {
"TRINO_HOST": "<TRINO_HOST>",
"TRINO_USER": "<TRINO_USER>",
"TRINO_PASSWORD": "<TRINO_PASSWORD>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-trino": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"https://github.com/tuannvm/mcp-trino/releases/download/v2.2.1/mcp-trino_2.2.1_darwin_arm64.tar.gz"
],
"env": {
"TRINO_HOST": "<TRINO_HOST>",
"TRINO_USER": "<TRINO_USER>",
"TRINO_PASSWORD": "<TRINO_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-trino": {
"command": "npx",
"args": [
"-y",
"https://github.com/tuannvm/mcp-trino/releases/download/v2.2.1/mcp-trino_2.2.1_darwin_arm64.tar.gz"
],
"env": {
"TRINO_HOST": "<TRINO_HOST>",
"TRINO_USER": "<TRINO_USER>",
"TRINO_PASSWORD": "<TRINO_PASSWORD>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-trino": {
"command": "npx",
"args": [
"-y",
"https://github.com/tuannvm/mcp-trino/releases/download/v2.2.1/mcp-trino_2.2.1_darwin_arm64.tar.gz"
],
"env": {
"TRINO_HOST": "<TRINO_HOST>",
"TRINO_USER": "<TRINO_USER>",
"TRINO_PASSWORD": "<TRINO_PASSWORD>"
}
}
}
}Configuration
TRINO_HOSTTrino server hostnameRequiredTRINO_PORTTrino server portTRINO_USERTrino usernameRequiredTRINO_PASSWORDTrino password
Pricing
Open source
MCP Trino FAQ
Is MCP Trino free?
Yes. MCP Trino is open source, so you can use and self-host it for free.
How do I add MCP Trino to Claude Code?
Run this command in your terminal: claude mcp add mcp-trino --env TRINO_HOST='<TRINO_HOST>' --env TRINO_USER='<TRINO_USER>' --env TRINO_PASSWORD='<TRINO_PASSWORD>' -- npx -y https://github.com/tuannvm/mcp-trino/releases/download/v2.2.1/mcp-trino_2.2.1_darwin_arm64.tar.gz