Skip to main content
To use MCP from a supported client tool, add the following URL to the Remote MCP Server URL field: https://mcp.cloud.cdata.com/mcp. Once you are connected to the MCP server, you can ask natural-language questions about your data.
New to MCP with Connect AI? Quick Start walks through connecting an agent and running a query in about five minutes, using a public sample file so that no credentials of your own are required.

Authentication

Authentication to MCP depends on the client integration tool. Connect AI supports both OAuth and Basic Authentication. Basic Authentication requires your Connect AI username, which is your email address, and the PAT generated on the Connect AI Personal Access Tokens page. See Authentication for more details.

MCP Tools

LLMs depend on the use of data resources to return data. The Connect AI MCP Server uses the following tools to provide data in response to natural-language questions:
  • getStarted: retrieves the first-run onboarding guide for new Connect AI users, which covers connecting a first data source and running a first query. Agents call this tool only when the user asks for it by name.
  • search_context: searches for datasets and fields relevant to a natural-language question and returns each dataset with its fully qualified name, field descriptions, and join hints. It also returns the connections you can access. Agents call this tool before getTables, getColumns, and queryData instead of browsing metadata with getCatalogs, getSchemas, getTables, and getColumns.
  • getCatalogs: retrieves a list of available connections from Connect AI.
  • getSchemas: retrieves database schemas from Connect AI for a specific catalog. Schemas organize tables and stored procedures within a catalog.
  • getTables: retrieves database tables from Connect AI for a specific catalog and schema.
  • getColumns: retrieves a list of available database columns from Connect AI for a specific catalog, schema, and table. This resource examines the table structure and column definitions.
  • getInstructions: retrieves connector-specific guidance and best practices for a data source, including syntax requirements, data type mappings, and known limitations. It also returns any AI instructions that an administrator added to the connection or virtual schema. Every user who can use the source, such as users with the Query role, and their AI agents receive these instructions. Only administrators can edit or delete them.
  • getProcedures: retrieves stored procedures from Connect AI for a specific catalog and schema. Stored procedures contain executable SQL logic within a schema.
  • getProcedureParameters: retrieves parameter metadata for stored procedures from Connect AI for a specific catalog, schema, and procedure. Parameter metadata includes names, data types, and directions required for proper procedure execution.
  • executeProcedure: executes the stored procedure for the chosen catalog and schema.
  • queryData: executes SQL queries against the connected data sources and retrieves results.
  • execute_insert: inserts rows into a table. The queryData tool accepts only SELECT statements, so writes use this tool instead.
  • execute_update: updates existing rows in a table.
Queries through queryData must use fully qualified table names in the form [Catalog].[Schema].[Table]. Brackets are required around names that contain characters such as hyphens. Results are returned in CSV format.

Limit What an Agent Can Do

Append the ops query parameter to the server URL to narrow the tools the server advertises in its tools/list response. The parameter is narrowing-only: it cannot enable a tool that the server has already turned off. Accepted values: To give an agent read-only access, list the metadata operations and queryData, and leave out the three that write:
The server then advertises these seven tools instead of the full set of thirteen: search_context, getCatalogs, getSchemas, getTables, getColumns, getInstructions, and queryData. An empty or unrecognized value returns HTTP 400 with the JSON-RPC error code -32602. The error message lists every accepted value, so a typo tells you what to use instead.
Do not use the tools query parameter to restrict an agent. Although it accepts universal, sql, and source, it does not narrow the tool list. universal returns every tool, and sql and source cause tools/list to fail with -32601 Method not found. Use ops instead.
For restrictions that you manage in the interface rather than in a URL, create a tool server in the MCP Gateway that includes only the sources the agent needs, and grant the agent’s user access to only those connections in Permissions. Accounts that already have Toolkits can keep using them to choose which tools are exposed.

Verify the Server Responds

To confirm that the MCP server is reachable and to list the tools available to your account, send a tools/list request. This works before any client is configured, which separates a Connect AI problem from a client configuration problem. Create a personal access token on the Personal Access Tokens page, then run the following command:
The response is a JSON-RPC result containing an entry for each tool listed above. If the request returns an authentication error, confirm that the token has not expired on the Security tab of Settings.

Suggested Prompts

To get the most out of MCP integration tools, use specific, detailed prompts. If your prompts are ambiguous, the client tool, such as Microsoft Copilot Studio or Claude, may ask follow-up questions to clarify the data you want to retrieve. Refer to the CData Prompt Library for examples of specific prompts.
Last modified on November 24, 2026