- MCP server Recommended: You choose which tools it offers, such as running SQL or querying a Cortex Search service.
- HTTP API: Snowflake’s SQL API, for running SQL statements directly.
- Your Snowflake account identifier. Open your user menu in Snowsight and choose Connect a tool to Snowflake to find it in Account Details.
- A Snowflake user for agents, with a role that has access to the data they should query, and a programmatic access token for it.
- The Manage Nexus sources permission in incident.io.
Create a programmatic access token
- In Snowsight, go to Governance & security → Users & roles and select the user.
- Under Programmatic access tokens, click Generate new token.
- Restrict the token to the role agents should use, set an expiry, and copy the token.
Connect the MCP server
Snowflake’s MCP server is one you create in your account, so its URL includes the database, schema and name you give it.- In Snowflake, create the server with
CREATE MCP SERVER, choosing the tools it offers, and grant USAGE on it to the agent’s role. - From Extensions, add a connector and choose MCP server.
- Leave network access as Public internet, and give the connector a display name such as
Snowflake. - Enter your server URL, and click Check URL. It takes the form
https://<account identifier>.snowflakecomputing.com/api/v2/databases/<database>/schemas/<schema>/mcp-servers/<name>. Use hyphens, not underscores, in the account identifier. - Under Authentication, choose Bearer token and enter your programmatic access token.
- Review which tools are enabled and the connector’s default policy, then save.
Connect the HTTP API
- From Extensions, add a connector and choose HTTP API.
- Paste Snowflake’s SQL API OpenAPI document.
- Enter
https://<account identifier>.snowflakecomputing.comas the base URL, using your own account identifier. - Under authentication, choose Bearer token and enter your programmatic access token.
- Test the connection, review which operations are enabled and the connector’s default policy, then save.
POST, so the SQL API’s operations start under the Write policy, which is off by default. If the agent’s role can only read, re-class them as Read. See Connectors for how to control which tools agents can call, and from where.