MCP server
Trino
Run read-only SQL against Trino and browse its catalogs, schemas and tables.
- Pricing
- Open source
- Runs
- Remotely
- Version
- 2.0.0
- Listing updated
- 3 days ago
About Trino
Trino is an open-source MCP server. It runs as a hosted remote server, so there is nothing to install locally.
Install
Run in a terminal
claude mcp add trino --env MCP_SERVICE_TOKEN='<MCP_SERVICE_TOKEN>' -- docker run -i --rm -e MCP_SERVICE_TOKEN docker.io/magureai/mcp-trino:2.0.0Add to claude_desktop_config.json
{
"mcpServers": {
"trino": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_SERVICE_TOKEN",
"docker.io/magureai/mcp-trino:2.0.0"
],
"env": {
"MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"trino": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_SERVICE_TOKEN",
"docker.io/magureai/mcp-trino:2.0.0"
],
"env": {
"MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"trino": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_SERVICE_TOKEN",
"docker.io/magureai/mcp-trino:2.0.0"
],
"env": {
"MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"trino": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_SERVICE_TOKEN",
"docker.io/magureai/mcp-trino:2.0.0"
],
"env": {
"MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"trino": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_SERVICE_TOKEN",
"docker.io/magureai/mcp-trino:2.0.0"
],
"env": {
"MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
}
}
}
}Configuration
MCP_MODEAuth mode. The image defaults to platform; hosted and local need more settings, see docs/configuration.md.MCP_SERVICE_TOKENShared secret callers send as X-Service-Token in platform mode.
Pricing
Open source
Trino FAQ
Is Trino free?
Yes. Trino is open source, so you can use and self-host it for free.
How do I add Trino to Claude Code?
Run this command in your terminal: claude mcp add trino --env MCP_SERVICE_TOKEN='<MCP_SERVICE_TOKEN>' -- docker run -i --rm -e MCP_SERVICE_TOKEN docker.io/magureai/mcp-trino:2.0.0