{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.alaturqua/mcp-trino-python",
  "slug": "mcp-trino-python",
  "title": "Trino",
  "summary": "Query Trino and inspect or maintain Iceberg tables: catalogs, schemas, SQL, snapshots.",
  "version": "0.8.2",
  "serverKey": "mcp-trino-python",
  "pageUrl": "https://mcpkglabs.com/tool/mcp-trino-python",
  "installMdUrl": "https://mcpkglabs.com/tool/mcp-trino-python/install.md",
  "trust": {
    "score": 94,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T16:22:51.909052192Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "--from",
        "mcp-trino-python==0.8.2",
        "mcp-trino"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-trino-python -e TRINO_HOST=localhost -e TRINO_USER=trino -- uvx --from mcp-trino-python==0.8.2 mcp-trino"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-trino-python\": {\n      \"args\": [\n        \"--from\",\n        \"mcp-trino-python==0.8.2\",\n        \"mcp-trino\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"TRINO_HOST\": \"localhost\",\n        \"TRINO_USER\": \"trino\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-trino-python\": {\n      \"args\": [\n        \"--from\",\n        \"mcp-trino-python==0.8.2\",\n        \"mcp-trino\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"TRINO_HOST\": \"localhost\",\n        \"TRINO_USER\": \"trino\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"TRINO_HOST\",\n      \"id\": \"trino-host\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"TRINO_USER\",\n      \"id\": \"trino-user\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-trino-python\": {\n      \"args\": [\n        \"--from\",\n        \"mcp-trino-python==0.8.2\",\n        \"mcp-trino\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"TRINO_HOST\": \"${input:trino-host}\",\n        \"TRINO_USER\": \"${input:trino-user}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-trino-python]\ncommand = \"uvx\"\nargs = [\"--from\", \"mcp-trino-python==0.8.2\", \"mcp-trino\"]\nenv = { \"TRINO_HOST\" = \"localhost\", \"TRINO_USER\" = \"trino\" }"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    },
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TRINO_HOST",
        "-e",
        "TRINO_USER",
        "ghcr.io/alaturqua/mcp-trino-python:0.8.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-trino-python -e TRINO_HOST=localhost -e TRINO_USER=trino -- docker run -i --rm -e TRINO_HOST -e TRINO_USER ghcr.io/alaturqua/mcp-trino-python:0.8.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-trino-python\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"TRINO_HOST\",\n        \"-e\",\n        \"TRINO_USER\",\n        \"ghcr.io/alaturqua/mcp-trino-python:0.8.2\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"TRINO_HOST\": \"localhost\",\n        \"TRINO_USER\": \"trino\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-trino-python\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"TRINO_HOST\",\n        \"-e\",\n        \"TRINO_USER\",\n        \"ghcr.io/alaturqua/mcp-trino-python:0.8.2\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"TRINO_HOST\": \"localhost\",\n        \"TRINO_USER\": \"trino\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"TRINO_HOST\",\n      \"id\": \"trino-host\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"TRINO_USER\",\n      \"id\": \"trino-user\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-trino-python\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"TRINO_HOST\",\n        \"-e\",\n        \"TRINO_USER\",\n        \"ghcr.io/alaturqua/mcp-trino-python:0.8.2\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"TRINO_HOST\": \"${input:trino-host}\",\n        \"TRINO_USER\": \"${input:trino-user}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-trino-python]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"TRINO_HOST\", \"-e\", \"TRINO_USER\", \"ghcr.io/alaturqua/mcp-trino-python:0.8.2\"]\nenv = { \"TRINO_HOST\" = \"localhost\", \"TRINO_USER\" = \"trino\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "TRINO_HOST",
      "required": true,
      "secret": false,
      "description": "Trino server hostname",
      "help": "Trino server hostname",
      "default": "localhost",
      "placeholder": "localhost"
    },
    {
      "name": "TRINO_PORT",
      "required": false,
      "secret": false,
      "description": "Trino server port",
      "help": "Trino server port",
      "default": "8080",
      "placeholder": "8080"
    },
    {
      "name": "TRINO_USER",
      "required": true,
      "secret": false,
      "description": "Trino username",
      "help": "Trino username",
      "default": "trino",
      "placeholder": "trino"
    },
    {
      "name": "TRINO_PASSWORD",
      "required": false,
      "secret": true,
      "description": "Trino password (enables basic auth; use with https)",
      "help": "Trino password (enables basic auth; use with https)",
      "placeholder": "<TRINO_PASSWORD>"
    },
    {
      "name": "TRINO_HTTP_SCHEME",
      "required": false,
      "secret": false,
      "description": "http or https",
      "help": "http or https",
      "default": "http",
      "placeholder": "http"
    },
    {
      "name": "TRINO_CATALOG",
      "required": false,
      "secret": false,
      "description": "Default catalog",
      "help": "Default catalog",
      "placeholder": "<TRINO_CATALOG>"
    },
    {
      "name": "TRINO_SCHEMA",
      "required": false,
      "secret": false,
      "description": "Default schema",
      "help": "Default schema",
      "placeholder": "<TRINO_SCHEMA>"
    },
    {
      "name": "TRINO_READ_ONLY",
      "required": false,
      "secret": false,
      "description": "Allow only read statements and hide maintenance tools",
      "help": "Allow only read statements and hide maintenance tools",
      "default": "false",
      "placeholder": "false"
    }
  ],
  "expectedTools": [
    "show_catalogs",
    "show_schemas",
    "show_tables",
    "describe_table",
    "show_create_table",
    "show_create_view",
    "show_stats",
    "show_catalog_tree",
    "show_query_history",
    "execute_query",
    "optimize",
    "optimize_manifests",
    "expire_snapshots",
    "show_table_properties",
    "show_table_history",
    "show_metadata_log_entries",
    "show_snapshots",
    "show_manifests",
    "show_partitions",
    "show_files",
    "show_entries",
    "show_refs"
  ],
  "agentSteps": [
    "Ask the user for: TRINO_HOST, TRINO_USER. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: show_catalogs, show_schemas, show_tables, describe_table, show_create_table, show_create_view, show_stats, show_catalog_tree, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T16:22:51.909052192Z"
}
