Skip to content

Feature - add Teradata MCP server #5002

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

vilashjagani
Copy link

@vilashjagani vilashjagani commented Aug 1, 2025

Added Teradata MCP server with its creds types , Teradata MCP server will be running Remotely

Add Teradata MCP serve for Agent
image

credential for Teradata MCP
image
TD docs - https://docs.teradata.com/r/Enterprise_IntelliFlex_Lake_VMware/ODBC-Driver-for-Teradata-User-Guide-20.00/Network-Security/Authentication-Mechanisms

** Chatflow MCP server**
image

@vilashjagani vilashjagani marked this pull request as ready for review August 1, 2025 20:58
@vilashjagani vilashjagani changed the title added Teradata MCP server Feature - add Teradata MCP server Aug 1, 2025
Copy link
Author

@vilashjagani vilashjagani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@0xi4o
Copy link
Contributor

0xi4o commented Aug 7, 2025

Hi @vilashjagani. Thank you for your contribution.

Can you add links to documentation for:

  1. Where to get credentials for both bearer token and TD2?
  2. Where to get the MCP Server URL? And if possible, how to set it up locally?

@vilashjagani
Copy link
Author

vilashjagani commented Aug 13, 2025

Hi @0xi4o -
1. Where to get credentials for both bearer token and TD2?

https://docs.teradata.com/r/Enterprise_IntelliFlex_Lake_VMware/ODBC-Driver-for-Teradata-User-Guide-20.00/Network-Security/Authentication-Mechanisms

Teradata users know what TD2 creds - its username and password to connect Teradata DB system
to generate simple basic auth using Teradata DB username and password

import base64

username = input("Enter username: ")
password = input("Enter password: ")

# Combine username and password with colon
user_pass = f"{username}:{password}"

# Encode to base64
basic_auth_creds = base64.b64encode(user_pass.encode()).decode()

print(f"Basic Auth Credentials: {basic_auth_creds}")

same way if Teradata DB is integrated with any IDP provider solution to authenticate based access token issue from IDP -
simple example to generate JWT from IDP provider

 # This will Generate token from IDP
    token_gen_url = f"{auth-idp-provider-fqdn}/protocol/openid-connect/token"
    payload = {
            "grant_type": "password",
            "client_id": client_id,
            "username": username,
            "password": user_password
        }
    
    response = requests.post(token_gen_url , data=payload)

if IDP support Device flow to gen token

device_auth_url = f"{{auth-idp-provider-fqdn}}/protocol/openid-connect/auth/device"
    token_url = f"{{auth-idp-provider-fqdn}/protocol/openid-connect/token"
    response = requests.post(device_auth_url, data={
        "client_id": client_id,
        "scope": "openid"
    })
    
    data = response.json()

  # Show user-friendly URL and Token
    display(print(f"""
    ### 🔐 Authenticate Using Device Flow To Get Access Token - 
    [🌐 Click on Link]({data['verification_uri_complete']})  
    or open `{data['verification_uri']}` and enter this code:  
    # `{data['user_code']}`
    """))

2. Where to get the MCP Server URL? And if possible, how to set it up locally?
this teradata MCP server will be hosted into Teradata account with Teradata Database system so customer have teradata-mcp server URL into their account of teradata

Setup locally - will be published as public facing docs in short time with more details or can be container image itself to run it.

Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@HenryHengZJ
Copy link
Contributor

As we can't get access to Teradata by just signing up, do you have a couple of screenshots that show how would this integration looks like in actual use case?

After this get merged, I think it would be great if docs can be added as well - https://github.com/FlowiseAI/FlowiseDocs

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants