Authentication
Authentication to MCP depends on the client integration tool. Connect AI supports both OAuth and Basic Authentication. Basic Authentication requires the Connect AI User Id 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:- 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.
- 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 theops 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:
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.
For durable, named restrictions that you manage in the interface rather than in a URL, use
Toolkits, which expose only the tables and operations you select.
Verify the Server Responds
To confirm that the MCP server is reachable and to list the tools available to your account, send atools/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: