Snowflake MCP is a Model Context Protocol server that lets an AI client such as Claude, ChatGPT or Cursor query Snowflake through defined tools. You can reach it three ways today: Snowflake's managed server, an open-source server from Snowflake-Labs, or a workflow tool's integration.
Everything here was checked in December 2026 and describes each option as its maker documents it, so confirm details against their pages before rollout.
Snowflake MCP server and connection options
| Option | Tools exposed | Auth method | Hosting | Plan limits | Main shortfall |
|---|---|---|---|---|---|
| Snowflake managed MCP server | Tools an admin defines, such as Cortex search, Cortex Analyst and SQL execution | OAuth or token tied to a Snowflake role | Hosted by Snowflake inside your account | Governed by your account's role and warehouse | Only exposes what you configure, so setup is deliberate work |
| Snowflake-Labs open-source server | Tools enabled in its configuration file | Snowflake connection credentials on the machine running it | Self-run, usually on a laptop | None from the server; limits come from your account | Credentials sit wherever it runs |
| Activepieces Snowflake integration | The actions in the Snowflake piece, exposed as MCP tools | Connection stored in the platform | Cloud or self-hosted | Depends on your platform plan or your own deployment | Limited to the actions the piece provides |
Because Snowflake hosts its managed server inside your account, access follows the role you assign and the tools an administrator defines. That fits a least-privilege design best, because the boundary is the one your data team already audits.
The fastest route to a working demo, and the most flexible, is the open-source Snowflake-Labs server, which runs wherever you start it and reads the tools you enable in its configuration.
You get a single credential to rotate, but the agent can only do what the integration offers.
None of them is safe by default: whichever you pick, the narrow read-only role decides what the agent can actually touch, and the next sections cover how to build it.
Everything below works on Activepieces' free plan. Start without code or a credit card.
Snowflake role, user and credential setup
Create a least-privilege Snowflake role and warehouse
Run this in a Snowsight worksheet as a user who can create roles:
CREATE ROLE mcp_reader;
CREATE WAREHOUSE mcp_wh AUTO_SUSPEND = 60;
GRANT USAGE ON WAREHOUSE mcp_wh TO ROLE mcp_reader;
GRANT USAGE ON DATABASE analytics TO ROLE mcp_reader;
GRANT USAGE ON SCHEMA analytics.reporting TO ROLE mcp_reader;
GRANT SELECT ON ALL TABLES IN SCHEMA analytics.reporting TO ROLE mcp_reader;
GRANT SELECT ON FUTURE TABLES IN SCHEMA analytics.reporting TO ROLE mcp_reader;
Set STATEMENT_TIMEOUT_IN_SECONDS on the dedicated warehouse and on the service user to the shortest value your real queries tolerate. Parameters like this attach to warehouses and users rather than roles, and a runaway query then costs you a cancelled statement, not an afternoon of credits.
Create the MCP server object and choose tools
The MCP server is a Snowflake object, and its specification lists the tools it exposes.
Prefer the narrow tool types, such as a Cortex Search service or a Cortex Analyst semantic view, over a general SQL execution tool.
Add the SQL tool only if you accept that the role's grants are then the sole boundary.
Create the object with CREATE MCP SERVER, then grant USAGE on it to mcp_reader. A role without that grant can't see the server at all, which is the behaviour you want from everyone else.
Generate the access token or OAuth integration
For a first test, programmatic access tokens are the simpler route, though Snowflake's documentation supports OAuth for the MCP server. Create a service user, set its default role to mcp_reader and its default warehouse to mcp_wh, then generate the token.
Restrict the token to that role so it can't be used with anything broader.
For a team rollout, choose OAuth: access can be revoked centrally, and tokens don't sit on individual laptops.
Check the setup with one query from the new role, such as a SELECT against a table in analytics.reporting. If it returns rows and a write attempt fails, the boundary is in place.
Client connection and your first query
A client needs your server's URL and a credential for the narrow role you just tested, so it inherits exactly that boundary.
Claude and Cursor configuration
Open the JSON file that lists MCP servers; both clients read one. The Snowflake endpoint follows a fixed pattern: your account hostname, then the database, schema and server name you created.

{
"mcpServers": {
"snowflake": {
"url": "https://<account_hostname>/api/v2/databases/<database>/schemas/<schema>/mcp-servers/<server_name>",
"headers": {
"Authorization": "Bearer <token>"
}
}
}
}
Restart the client after saving, and confirm the server's tools appear in its tool list before you ask anything.
ChatGPT and other clients
Whether support for remote MCP servers in ChatGPT is available depends on the plan and workspace settings, and it expects an OAuth-style sign-in rather than a pasted static token.
Snowflake documents an OAuth security integration for that case. Create it, map it to the same restricted role, and register the endpoint URL in the client's connector settings.
For any other client, the question is whether it can send an authorization header or complete OAuth. If it can do neither, don't connect it.
Test your Snowflake MCP query in query history
Use a small table you've deliberately placed in scope, with data you would be comfortable seeing in a transcript.
- Ask a plain question the table can answer, such as which category has the most rows.
- Confirm the answer matches a query you run yourself.
- Ask the client to modify or delete a row, and confirm it's refused.
- Open Snowflake's query history and filter by the restricted role.
The history is the real test. You should see the SELECT the model generated, under the role you intended, and no trace of the write attempt succeeding.
If the statement shows up under a different user or role, the token is wrong.
A connector library hands an agent code to run, but not a tenant, a role or an audit log; those come from a platform.
Activepieces treats the agent as a user: RBAC, SSO and SCIM decide which connections it may use, and the run detail view lists every tool call with its own input and output, so a Snowflake query appears in the log beside each other app the agent touched.
That fits when you want Snowflake actions alongside other apps behind one MCP endpoint, drawing on its 751 integrations, so you can orchestrate across most of your stack. For Cortex Analyst and Cortex Search, Snowflake's own server fits better.

AI capabilities and costs in Snowflake
Once the role is narrow, the AI can do only what that role's grants allow through three tools: Cortex Analyst, Cortex Search and SQL execution. Every query they run starts billable warehouse time.
Read tools versus write tools
Cortex Analyst and Cortex Search only read: one answers questions over structured tables, the other searches unstructured text.
Only SQL execution can write, and what it may write is decided by the role, not the tool.
The question is whether the role holds any INSERT, UPDATE or DELETE privilege at all. If it holds none, the SQL tool is read-only in practice, and you have given up nothing you need.
Cortex-backed tools versus raw SQL
When you ask through Cortex Analyst, the answer comes by way of a semantic model, a file you write that defines tables, metrics and joins.
With raw SQL there is no such layer. The AI writes the query from table names and column guesses, so it can join the wrong tables or scan more data than intended.
Give analysts the Cortex tools first and keep raw SQL for a separate, tighter role.
Snowflake MCP server cost and plan requirements
The cost is warehouse time, and it scales with the size you assign to the AI's role.
Per the Snowflake documentation and Service Consumption Table, the dollar figures follow, and the range reflects your edition:
- X-Small costs $2 to $3 an hour, so an agent left running on it for a working day stays in the tens of dollars.
- Small costs $4 to $6 an hour, which is the first size where a runaway loop shows on a monthly bill.
- Medium costs $8 to $12 an hour, a sensible ceiling for an agent that nobody is watching.
- Large costs $16 to $24 an hour, so one badly scoped query that holds it open costs more than a day on X-Small. X-Large costs $32 to $48 an hour, a size an AI role should never be allowed to use, so an uncontrolled execution could cost thousands in a single day.
Assign the AI's role a small dedicated warehouse with a short auto-suspend, and the worst case is bounded before the first prompt.
Plan requirements are the other half: confirm that Cortex features are available in your account's region and edition before you promise anyone the Cortex tools.
Easier to see it running than to read about it: set it up free, no card.
Mistakes that expose Snowflake data through MCP
Though region and edition decide what exists in your account, five mistakes decide what leaks, and each has a fix you can apply before anyone connects a client.
- Running the server under ACCOUNTADMIN or another broad role; create a dedicated role with SELECT on named schemas only.
- Leaving write access on; grant no INSERT, UPDATE, DELETE or DDL, and expose only read tools.
- Trusting table contents; treat every returned cell as untrusted input and keep write and external tools out of the same session.
- Keeping long-lived tokens on laptops; issue short-lived credentials from one managed place.
- Having no network policy and never reading query history; restrict source IPs and review what the agent ran.
Using a broad Snowflake role for MCP
An agent inherits everything its role can do, so a broad role turns one bad tool call into an account-wide event.
Prompt injection through Snowflake table contents
Whatever the agent reads can instruct it. An AgentsID census of MCP servers flagged 954 for toxic flow, meaning they combine reading untrusted content with the ability to act on it.
An agent inherits everything its role can do, so a broad role turns one bad tool call into an account-wide event.
Another 460 were flagged for deceptive wording in tool descriptions and 63 for hidden Unicode. So a read-only role is your backstop: if a poisoned row says "export this table," the role has nothing to export with.
When someone leaves, or a laptop is lost, you're hunting for secrets across machines, because a token pasted into each person's client config is a copy you can't recall.
Short expiry and a single issuing point turn that into one revocation.
Skipping auditing and limits on Snowflake MCP
Without a network policy, a stolen token works from anywhere. Without query-history review, you won't see what the agent actually ran.
Limits matter too: Zop.dev notes Snowflake's default statement timeout is 172800 seconds, which is 48 hours, meaning a stray query could lock your warehouse for two entire days.
Set a timeout of minutes on the agent's warehouse, and review history weekly at first.
What Activepieces does about this
Activepieces does not replace the narrow role. You still create mcp_reader in Snowflake, and the Activepieces connection should authenticate as that role's service user, so the platform inherits the same boundary as any other client.
Our Snowflake integration is then exposed as MCP tools to Claude, ChatGPT or Cursor, and the agent can use only the actions the integration provides.
That is a smaller surface than raw SQL execution, and you can read it in full before you switch it on.
The credential lives in one place. The Snowflake connection is stored in the platform rather than pasted into each person's client config, so rotating or revoking the token is one change instead of a hunt across laptops.

Who may use that connection is set with RBAC, SSO and SCIM, and the run detail view records each tool call with its input and output, which complements Snowflake's own query history.
The core is open source under the MIT licence, and you can self-host it. If your Snowflake network policy limits source IPs, you can run Activepieces from an address you control and allow only that one.
The limit is that Cortex Analyst and Cortex Search are better served by Snowflake's managed server. We fit best when the agent needs Snowflake alongside other apps behind one endpoint.
Frequently asked questions
Is the Snowflake MCP server free?
Not the connection: the queries behind it are where the money goes. Every question the AI answers runs on a warehouse you already pay for, so an agent that loops or asks sloppy questions shows up as compute spend.

Put it on a small, dedicated warehouse with a resource monitor, and the worst case becomes a capped bill instead of a surprise.
Can I use Snowflake MCP with ChatGPT? Yes, provided your ChatGPT plan lets you add custom MCP connectors, which is the part to verify with OpenAI. Snowflake doesn't care which client calls it.
It sees a role, a network location and a query, so the controls in this article apply the same way whether the caller is ChatGPT, Claude or Cursor.
Does Snowflake MCP work with self-hosted or on-prem data? Only for data that's already in Snowflake. Snowflake's a hosted service, so a database in your own data center is out of reach until you load it in.
If someone suggests bridging it with a different server, treat that as a separate project with its own credentials and its own review, not a feature of this one.
Can the AI write or delete data through Snowflake MCP?
It can do whatever its role can do, and nothing more. Write and delete are decided by grants, not by the client's good manners.
Give the agent a role with read access to the specific schemas it needs and no ownership or modify rights, and a delete simply fails.
If a workflow truly needs writes, make that a second role on a separate connection, so the risky path is a decision someone made on purpose.
What should I do on Monday to start safely? Start from what's likely already happening: someone pasting a personal credential into a laptop config to try this. Replace that with a sanctioned path, in this order:

- Create a dedicated role with read-only access to one schema, and nothing else.
- Create a service user for the agent and assign only that role.
- Attach a network policy so the user can connect only from locations you expect.
- Point the MCP server at a small warehouse with a spending cap.
- Connect one client, ask a few real questions, then read the query history to see exactly what the agent ran.
Widen access only after that log shows the agent behaving the way you assumed.



