Koskamo

TernoDBI MCP

TernoDBI is a Model Context Protocol server that allows AI agents to securely query databases and business tools via natural language. It supports Postgres, MySQL, Snowflake, BigQuery, and more, enforcing SQLShield for read-only access and row-level security.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

TernoDBI MCP logo, by terno-aiCommunity listingLocal stdioSource reviewed; not executedPublished by terno-ai
You need:pip install terno-dbiGenerate an access token , bound to your organisation and a user
Vendor documentation

What you can do with it

  • Query databases using natural language
  • Connect business tools like Google Ads and Salesforce
  • Enforce row-level security on queries
  • Manage database schema metadata for LLMs

Source and maintenance

Community listingRegistry 1.0.39
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

terno-dbi 1.0.39

pypiuvx
terno-dbi package definition
{
  "version": "1.0.39",
  "transport": "stdio",
  "identifier": "terno-dbi",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "registryBaseUrl": "https://pypi.org",
  "packageArguments": [
    {
      "type": "positional",
      "value": "query",
      "valueHint": "server",
      "description": "Tool registry to expose. 'query' is read-only; use 'admin' for schema, memory and organisation-prompt writes."
    }
  ],
  "runtimeArguments": [
    {
      "type": "positional",
      "value": "--from",
      "valueHint": "--from"
    },
    {
      "type": "positional",
      "value": "terno-dbi",
      "valueHint": "package"
    },
    {
      "type": "positional",
      "value": "dbi-mcp",
      "valueHint": "entrypoint"
    }
  ],
  "environmentVariables": [
    {
      "name": "TERNODBI_API_URL",
      "default": "http://127.0.0.1:8376",
      "isRequired": true,
      "description": "Base URL of the TernoDBI server. Use http://127.0.0.1:8376 for a local 'ternodbi start'."
    },
    {
      "name": "TERNODBI_API_KEY",
      "isRequired": true,
      "description": "Access token minted with 'ternodbi manage issue_token'. Use a query token for the read-only server and an admin token for the admin server."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "ternodbi-mcp-terno-dbi": {
      "command": "uvx",
      "args": [
        "terno-dbi==1.0.39",
        "query"
      ],
      "env": {
        "TERNODBI_API_URL": "<YOUR_TERNODBI_API_URL>",
        "TERNODBI_API_KEY": "<YOUR_TERNODBI_API_KEY>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "ternodbi-mcp-terno-dbi": {
      "command": "uvx",
      "args": [
        "terno-dbi==1.0.39",
        "query"
      ],
      "env": {
        "TERNODBI_API_URL": "<YOUR_TERNODBI_API_URL>",
        "TERNODBI_API_KEY": "<YOUR_TERNODBI_API_KEY>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "ternodbi-mcp-terno-dbi": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "terno-dbi==1.0.39",
        "query"
      ],
      "env": {
        "TERNODBI_API_URL": "<YOUR_TERNODBI_API_URL>",
        "TERNODBI_API_KEY": "<YOUR_TERNODBI_API_KEY>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "ternodbi-mcp-terno-dbi": {
      "command": "uvx",
      "args": [
        "terno-dbi==1.0.39",
        "query"
      ],
      "env": {
        "TERNODBI_API_URL": "<YOUR_TERNODBI_API_URL>",
        "TERNODBI_API_KEY": "<YOUR_TERNODBI_API_KEY>"
      }
    }
  }
}

Let your agent find its tools

Find servers like TernoDBI MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.