Prerequisite
- Flowise instance running and accessible
- Teradata Enterprise MCP server endpoint URL
- LLM API key (such as, OpenAI, Azure OpenAI, or Anthropic)
- Basic understanding of Flowise AgentFlows
- Using Teradata’s customized Flowise build that includes pre integrated MCP Server components (tdflowise image).
- Using AgentFlows v2. If you use a different version, refer to the Flowise documentation.
Flowise is a low code platform for building AI workflows using visual graphs. This procedure explains how to connect Flowise to the Teradata Enterprise MCP Server so that an agent can use Enterprise MCP Tools and interact with Teradata databases.
- Use a browser to go to Flowise.
http://<FlowiseHost>:3000 - Sign in and open the Flowise dashboard.
- Create a AgentFlow.
- In the navigation panel, select Agentflows.
- Select Add new.
- Name your workflow (for example, Teradata Query Agent).The AgentFlow canvas opens.
- Add Start node.
- Select and search for Start in the nodes palette.
- Drag the Start node onto the canvas.
- Add an Agent node from the nodes palette to the canvas.
- Connect the Start node output to the Agent node input.
- Configure the Model parameters.
- In the nodes palette, search for your LLM provider, such as ChatOpenAI or ChatAnthropic.
- Drag the model node onto the canvas.
- Connect the model node to the Chat Model input of the Agent node.
- In the model node configuration,
- Select or create credentials (or API key) for the provider
- Set the model name, such as gpt-4o or claude-3-5-sonnet.
- Set Temperature to 0.7 for balanced responses.
- In the nodes palette, search for Custom MCP and drag it onto the canvas.
- Connect the output of the Custom MCP node to the Tools input of your Agent node.
- Configure the Custom MCP node.
- Transport Type: Select SSE (for URL-based endpoints).
- Configuration: Enter the following JSON in the config field.
{ "url": "http://mcp-server-endpoint/mcp/", "headers": { "Authorization": "Bearer your-token" } }- Replace mcp-server-endpoint with your actual MCP server endpoint.
- Replace your-token with a valid authorization bearer token to access the server.
- Select Refresh Available Actions.The system retrieves the available MCP tools.
- Select the MCP tools that the agent is allowed to use.
- Select the Agent/Worker node.
- In the System Prompt field, define the agent's behavior and constraints.
- Use a prompt template appropriate guiding the agent's behavior for querying Teradata through MCP tools. See Prompts and Prompt Templates.
- Open the chat panel from the lower-right corner of Flowise.
- Test the connection by entering a test prompt, such as "What tables are available in my database source?"
Build a visual graph (agent workflow)
The workflow structure is: Start → Agent → End
Configure the LLM
Configure Teradata Enterprise MCP Server connection
Configure the System Prompt
Save and Test the AgentFlow