Teradata MCP Server

Teradata MCP Server

mcp-teradata•byarturborycki

A Model Context Protocol server that connects to Teradata databases and exposes SQL query, schema inspection, analysis and interactive charting tools.

License: MIT License•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Provides query tools to execute SQL and return tabular results, plus a visualization tool that renders ECharts charts in the MCP client.
  • •Offers schema tools to list databases, list tables and views, and show column names and types.
  • •Includes analysis tools for missing values, negative values, distinct category counts, and mean and standard deviation.
  • •Supports multiple Teradata authentication mechanisms including TD2, LDAP, Kerberos and JWT, with optional OAuth 2.1 via Keycloak.

BEST FOR

  • •Running SQL queries against a Teradata database from an MCP client such as Claude Desktop.
  • •Exploring Teradata schemas and profiling columns for nulls, negatives, distinct counts and statistics.
  • •Visualizing query results as interactive charts inside the MCP client.

ABOUT MCP-TERADATA

Teradata MCP Server is cataloged as an MCP server attributed to arturborycki. A Model Context Protocol server that connects to Teradata databases and exposes SQL query, schema inspection, analysis and interactive charting tools. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Teradata MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which chart types can the visualization tool render?

It supports bar, line, pie, scatter and mixed charts, including grouped, stacked, area, doughnut and bubble variants, across 19 chart types.

Which transports can the server use?

It supports stdio, SSE and Streamable HTTP transports, with OAuth and discovery endpoints available for the HTTP transports.

What OAuth scopes does the server define?

Scopes cover read, write, query execution, administrative access and schema management.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 51dbe4fd1cee · 采集于 2026-11-13 13:55:03 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Teradata MCP Server

A Model Context Protocol (MCP) server for Teradata database with OAuth 2.1 authentication, multiple authentication mechanisms (TD2, LDAP, Kerberos), and interactive data visualization.

Features

  • Multiple Auth Mechanisms — TD2 (default), LDAP, Kerberos, JWT via Teradata LOGMECH
  • OAuth 2.1 with Keycloak integration, JWT validation, scope-based authorization
  • Protected Resource Metadata (RFC 9728 compliant)
  • Interactive Visualization — ECharts-based MCP App with 19 chart types
  • Connection Resilience — automatic retry with exponential backoff
  • Non-blocking I/O — all DB operations run via asyncio.to_thread()
  • Per-tool QueryBand — audit trail for Teradata workload management

Tools

Query Tools

  • query — Execute SQL queries, return plain tabular results
  • visualize_query — Execute SQL and render interactive ECharts charts via MCP App

Schema Tools

  • list_db — List all databases
  • list_tables — List tables/views in a database
  • show_tables_details — Show column names and types for a table

Analysis Tools

  • list_missing_values — Columns with NULL value counts
  • list_negative_values — Columns with negative value counts
  • list_distinct_values — Distinct category counts per column
  • standard_deviation — Mean and standard deviation for a column

MCP App — Interactive Visualization

The visualize_query tool renders results as interactive charts in the MCP client.

CategoryCharts
BarBasic, Grouped, Stacked, Horizontal, Sorted, Waterfall, Rounded, Polar
LineBasic, Smooth, Area, Stacked Area, Step
PiePie, Doughnut, Rose / Nightingale
ScatterScatter, Bubble
MixedBar + Line

Quick Start

Installation

git clone https://github.com/arturborycki/mcp-teradata.git
cd mcp-teradata
uv sync

Run with TD2 (Standard Authentication)

uv run teradata-mcp "teradatasql://user:password@host/database"

Or via environment variable:

export DATABASE_URI="teradatasql://user:password@host/database"
uv run teradata-mcp

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

TD2 (Username/Password)

{
  "mcpServers": {
    "teradata": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/mcp-teradata",
        "run", "teradata-mcp"
      ],
      "env": {
        "DATABASE_URI": "teradatasql://user:password@host/database"
      }
    }
  }
}

LDAP Authentication

{
  "mcpServers": {
    "teradata": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/mcp-teradata",
        "run", "teradata-mcp"
      ],
      "env": {
        "DATABASE_URI": "teradatasql://@host/database",
        "DB_LOGMECH": "LDAP",
        "DB_LOGDATA": "authcid=ldap_user password=ldap_password"
      }
    }
  }
}

The authcid format depends on the LDAP directory:

DirectoryFormat
Active Directory (Simple Bind)authcid=user@domain.com
Active Directory (DIGEST-MD5)authcid=DOMAIN\username
OpenLDAP / Sun DSauthcid=username

Kerberos Authentication

{
  "mcpServers": {
    "teradata": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/mcp-teradata",
        "run", "teradata-mcp"
      ],
      "env": {
        "DATABASE_URI": "teradatasql://@host/database",
        "DB_LOGMECH": "KRB5"
      }
    }
  }
}

OAuth-Enabled Configuration

{
  "mcpServers": {
    "teradata": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/mcp-teradata",
        "run", "teradata-mcp"
      ],
      "env": {
        "DATABASE_URI": "teradatasql://user:password@host/database",
        "OAUTH_ENABLED": "true",
        "KEYCLOAK_URL": "https://your-keycloak.example.com",
        "KEYCLOAK_REALM": "teradata-realm",
        "KEYCLOAK_CLIENT_ID": "teradata-mcp",
        "KEYCLOAK_CLIENT_SECRET": "your-secret",
        "OAUTH_RESOURCE_SERVER_URL": "https://your-mcp-server.example.com"
      }
    }
  }
}

Environment Variables

Database Connection

VariableDescriptionDefault
DATABASE_URITeradata connection URL (teradatasql://user:pass@host/db)—
DB_LOGMECHAuthentication mechanism: TD2, LDAP, KRB5, TDNEGO, JWTTD2
DB_LOGDATALDAP/JWT credentials (e.g., authcid=user password=pass)—
DB_SSL_MODETLS mode: ALLOW, PREFER, REQUIRE, VERIFY-CA, VERIFY-FULL—
DB_ENCRYPT_DATAEnable transport encryptiontrue

Connection Resilience

VariableDescriptionDefault
DB_MAX_RETRIESMax reconnection attempts3
DB_INITIAL_BACKOFFInitial backoff delay (seconds)1.0
DB_MAX_BACKOFFMax backoff delay (seconds)30.0

MCP Transport

VariableDescriptionDefault
MCP_TRANSPORTTransport: stdio, sse, streamable-httpstdio
MCP_HOSTBind address for HTTP transportslocalhost
MCP_PORTPort for HTTP transports8000
MCP_PATHPath for streamable-http/mcp/

OAuth 2.1

VariableDescriptionDefault
OAUTH_ENABLEDEnable OAuth authenticationfalse
KEYCLOAK_URLKeycloak server URL—
KEYCLOAK_REALMKeycloak realm name—
KEYCLOAK_CLIENT_IDOAuth client ID—
KEYCLOAK_CLIENT_SECRETOAuth client secret—
OAUTH_RESOURCE_SERVER_URLResource server URL—
OAUTH_REQUIRED_SCOPESRequired scopes (comma-separated)—
OAUTH_VALIDATE_AUDIENCEValidate token audiencetrue
OAUTH_VALIDATE_SCOPESValidate token scopestrue
OAUTH_REQUIRE_HTTPSRequire HTTPS for OAuth URLstrue
CORS_ALLOWED_ORIGINSCORS allowed origins*

OAuth Scopes

ScopeDescription
teradata:readRead access to database resources
teradata:writeWrite access to database resources
teradata:queryExecute SQL queries
teradata:adminAdministrative access
teradata:schemaSchema management operations

Transport Compatibility

TransportOAuthDiscovery EndpointsUse Case
stdioN/AN/AClaude Desktop, CLI clients
SSEFullAvailableWeb applications
Streamable HTTPFullAvailableAPI integrations

Discovery endpoints (when OAuth enabled):

  • /.well-known/oauth-protected-resource — RFC 9728 metadata
  • /.well-known/mcp-server-info — MCP capabilities
  • /health — Health check

Docker Deployment

Development

docker compose up -d

With OAuth

docker compose -f docker-compose.oauth.yml up -d

Build

uv build

Troubleshooting

Database connection issues:

  • Verify DATABASE_URI format: teradatasql://user:pass@host/database
  • Check network connectivity to Teradata server
  • For LDAP: ensure DB_LOGMECH=LDAP and DB_LOGDATA are set correctly
  • Connection issues are automatically retried (configurable via DB_MAX_RETRIES)

LDAP authentication fails:

  • Verify the Teradata server has LDAP configured in TDGSS
  • Check authcid format matches your directory type
  • Escape special characters in passwords (@ → \@, spaces → use quotes)

Permission denied errors:

  • Verify user has required OAuth scopes
  • Check Keycloak role assignments
  • visualize_query requires teradata:query scope (not just teradata:read)

Debug logging:

export LOG_LEVEL=DEBUG
uv run teradata-mcp

License

MIT License. See LICENSE for details.

Acknowledgments

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Teradata MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-teradata)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage