Skip to main content
Glama
Teradata

Teradata MCP Server

Official
by Teradata
constants.py2.64 kB
# -------------------------------------------------------------------------------# # Copyright (C) 2025 by Teradata Corporation. # # All Rights Reserved. # # # # File: constants.py # # # # Description: # # This template defines default constants and settings # # for generated tools, such as: # # - Internal service URLs # # - Supported authentication types # # - Default timeouts and error messages # # # # ⚠️ WARNING: # # DO NOT expose or commit credentials/secrets in version control. # # # # Customize by replacing `{{app_name}}` with the appropriate name. # # TD_{{app_name.upper()}}_URL = "https://private-td-url.com" # # Supported authentication methods # # TD_{{app_name.upper()}}_SUPPORTED_AUTH_TYPES = ["BasicAuth", "JWTAuth"] # # Optional: Default timeout (in seconds) # # DEFAULT_TIMEOUT = 30 # # Optional: Common error messages # # ERROR_INVALID_INPUT = "The input provided is invalid." # # # # Optional: Feature toggles # # TD_FEATURE_X_ENABLED = True # # -------------------------------------------------------------------------------# import os from dotenv import load_dotenv load_dotenv() TD_VS_BASE_URL = os.getenv("TD_BASE_URL", None) TD_PAT_TOKEN = os.getenv("TD_PAT") or None TD_PEM_FILE = os.getenv("TD_PEM") or None DATABASE_URI = os.getenv("DATABASE_URI", None) # e.g., "teradatasql://user:password@host/database"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Teradata/teradata-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server