Connect Snowflake MCP to ClickUp so your AI tools can query your Snowflake data in natural language: search unstructured data with Cortex Search, ask questions of your semantic models with Cortex Analyst, run Cortex Agents, run SQL, and call your own custom tools. This guide covers the one-time Snowflake setup an administrator needs to do, then how to connect from ClickUp using OAuth 2.0. Plan for about 15 minutes.
Snowflake MCP is customer-managed. There's no shared Snowflake server to point at. You create your own MCP server in your Snowflake account and choose exactly which tools and data it exposes.
What you need
- A ClickUp Workspace on a plan that supports MCP integrations
- A Snowflake account with access to the Snowflake-managed MCP server (Cortex)
- The
ACCOUNTADMINrole, or a role with theCREATE INTEGRATIONprivilege, to register ClickUp as an OAuth client - A role that can create an MCP server in your chosen database and schema
- The Cortex objects you want to expose, for example a Cortex Search service, a semantic view, or an agent
When you finish the Snowflake steps, you'll bring three things back to ClickUp: your MCP server URL, your client ID and client secret, and optionally the role ClickUp should use.
Step 1: Create the MCP server
The MCP server object defines which tools ClickUp can see. Run CREATE MCP SERVER in a Snowsight worksheet in the database and schema you want the server to live in.
CREATE MCP SERVER my_db.my_schema.clickup_mcp
FROM SPECIFICATION $$
tools:
- name: "product-search"
type: "CORTEX_SEARCH_SERVICE_QUERY"
identifier: "my_db.my_schema.product_search_service"
title: "Product search"
description: "Searches product documentation"
$$;
Add one entry under tools for each Cortex Search service, semantic view, agent, or custom function you want to expose.
For the full tool specification, see Snowflake's CREATE MCP SERVER reference.
Step 2: Register ClickUp as an OAuth client
Create a security integration so ClickUp can sign people in with Snowflake OAuth. Run this as ACCOUNTADMIN (or a role with CREATE INTEGRATION):
CREATE SECURITY INTEGRATION clickup_mcp_integration
TYPE = OAUTH
OAUTH_CLIENT = CUSTOM
ENABLED = TRUE
OAUTH_CLIENT_TYPE = 'CONFIDENTIAL'
OAUTH_REDIRECT_URI = 'https://search.clickup-prod.com/connect/snowflakemcp'
OAUTH_ISSUE_REFRESH_TOKENS = TRUE
OAUTH_REFRESH_TOKEN_VALIDITY = 7776000
OAUTH_USE_SECONDARY_ROLES = NONE;
The redirect URI must be exactly https://search.clickup-prod.com/connect/snowflakemcp. If your team already has a Snowflake integration for ClickUp with a different redirect URI, ask your admin to add this one. Otherwise the sign-in step fails.
Then get the client credentials. Use the integration name in uppercase:
SELECT SYSTEM$SHOW_OAUTH_CLIENT_SECRETS('CLICKUP_MCP_INTEGRATION');
Copy what you need:
- Copy the
OAUTH_CLIENT_IDvalue from the JSON output. - Copy the
OAUTH_CLIENT_SECRETvalue and store it somewhere secure.
Note: OAUTH_REFRESH_TOKEN_VALIDITY = 7776000 keeps people signed in for 90 days. After that, they need to reconnect in ClickUp.
For the full reference, see Snowflake's guide to configuring OAuth for custom clients.
Step 3: Grant access to the server and its tools
Create a dedicated role that ClickUp users connect with, and grant it access to the MCP server and to every object behind its tools.
CREATE ROLE IF NOT EXISTS mcp_access_role;
GRANT USAGE ON DATABASE my_db TO ROLE mcp_access_role;
GRANT USAGE ON SCHEMA my_db.my_schema TO ROLE mcp_access_role;
GRANT USAGE ON MCP SERVER my_db.my_schema.clickup_mcp TO ROLE mcp_access_role;
-- Repeat for each object your tools use
GRANT USAGE ON CORTEX SEARCH SERVICE my_db.my_schema.product_search_service TO ROLE mcp_access_role;
-- Give the role to each person who will connect, and make it their default
GRANT ROLE mcp_access_role TO USER <user_name>;
ALTER USER <user_name> SET DEFAULT_ROLE = mcp_access_role;
If you leave Role scope (optional) empty when connecting in ClickUp, Snowflake uses your user’s default role. Set the role granted access to the MCP server and its tools as your default before connecting. Granting the role to your user alone does not make it the default.
To use a different role without changing your default, enter its scope in ClickUp, for example session:role:MCP_ACCESS_ROLE. Role names are case-sensitive.
Grant USAGE ON MCP SERVER and the tool grants to the same role people sign in with. If they go to a different role, sign-in works but ClickUp reports Connected, but this role can't see any tools. Check the GRANT USAGE statements on the tools themselves. or MCP server ... does not exist or not authorized. This is the most common setup mistake.
If a user's default role doesn't exist or isn't granted to them, sign-in fails with User's configured default role ... does not exist or not authorized. Grant the role and set it as their default, as shown above. You can also pick the role explicitly in ClickUp (see Step 5).
Step 4: Build your server URL {#server-url}
Use your Snowflake account hostname and the database, schema, and MCP server name from Step 1 to build your MCP server URL:
https://<org-account>.snowflakecomputing.com/api/v2/databases/<DATABASE>/schemas/<SCHEMA>/mcp-servers/<MCP_SERVER_NAME>
To find the server’s database, schema, and name, run:
SHOW MCP SERVERS IN ACCOUNT;
For the example in this guide, replace <org-account> with your account hostname:
https://<org-account>.snowflakecomputing.com/api/v2/databases/MY_DB/schemas/MY_SCHEMA/mcp-servers/CLICKUP_MCP
Copy the completed URL. You’ll paste it into ClickUp in Step 5.
Use the organization-account hostname with hyphens, not underscores. Copy the database, schema, and server names exactly as shown in Snowflake. Unquoted SQL identifiers are stored in uppercase; quoted identifiers preserve their case.
Step 5: Connect in ClickUp
To connect in ClickUp:
- Open the App Center.
- Find Snowflake.
- Click Connect to open the guided setup.
- Paste your MCP server URL from Step 4.
- Check that the redirect URI shown in ClickUp matches the one in your security integration.
- Paste your Client ID and Client Secret from Step 2.
- Optional: in Role scope, enter the role ClickUp should use, in the form
session:role:MCP_ACCESS_ROLE. Leave it empty to use your default role. Role names are case-sensitive. - Click Next.
- Sign in to Snowflake as a user who has the MCP access role, and approve access.
- Wait for ClickUp to validate the connection and load your tools.
If ClickUp says it connected but can't see any tools, the role you signed in with is missing grants. Go back to Step 3.
Personal and Workspace connections
You choose one of two connection scopes during the guided setup.
- Personal connection: only you can use the Snowflake tools in ClickUp. Every tool call runs as your Snowflake user, with your role's privileges.
- Workspace connection: any Workspace member can use the Snowflake tools. Each person still signs in to Snowflake individually, so they need their own Snowflake user with the MCP access role. Everyone shares the same security integration and MCP server, but each person has their own authorization.
Available tool types
Your MCP server exposes only the tools you define in Step 1. Snowflake supports these tool types:
| Tool type | What it does |
| Cortex Search | Searches unstructured data, like documents or tickets, through a Cortex Search service |
| Cortex Analyst | Answers questions about structured data using a semantic view |
| Cortex Agents | Runs a Cortex Agent you've built in Snowflake |
| SQL execution | Runs SQL with the connecting user's role |
| Custom tools | Calls your own user-defined functions or stored procedures |
Limitations
- Grants on the wrong role. The role used to connect needs access to the MCP server and every object behind its tools. Granting access to another role is not enough. If you leave Role scope empty in ClickUp, Snowflake uses your default role. See Step 3.
-
Admin roles are blocked. Snowflake OAuth blocks
ACCOUNTADMIN,SECURITYADMIN,ORGADMIN, andGLOBALORGADMINby default. Use a dedicated, least-privilege role. - Each account needs its own setup. This setup uses a manually registered OAuth client. Each Snowflake account needs its own security integration, MCP server, and client credentials.
- Underscores in the hostname break the connection. Use the organization-account hostname with hyphens. Do not change underscores in database, schema, or server names.
- Network restrictions can prevent access. Your Snowflake account must be reachable from ClickUp. If network policies restrict access or your account is accessible only through PrivateLink, ask your Snowflake and network administrators to confirm connectivity.
- SQL execution permissions. SQL execution is read-only by default. If you disable read-only mode, the tool can modify data within the connecting role’s privileges.
- Compute costs. Tool calls can consume Snowflake warehouse and Cortex credits. Monitor usage when making the integration available to more people or agents.
- Refresh tokens expire. The settings in Step 2 configure a 90-day refresh-token lifetime. When a refresh token expires, reconnect in ClickUp.
Disconnect or revoke access
To disconnect in ClickUp:
- Open the App Center.
- Find Snowflake.
- Click Disconnect.
Disconnecting in ClickUp does not remove the security integration or MCP server from Snowflake.
To disable access through the security integration, ask a Snowflake administrator to run:
ALTER SECURITY INTEGRATION clickup_mcp_integration SET ENABLED = FALSE;
To remove the security integration permanently, run:
DROP SECURITY INTEGRATION clickup_mcp_integration;
Disabling or removing the security integration affects everyone who uses it, not just your ClickUp connection.
Security recommendations
- Use least-privilege access. Grant the connecting role only the privileges required by the tools you expose.
-
Keep SQL read-only. Keep
read_only: truefor SQL execution tools unless you specifically need writes. Consider exposing curated Cortex tools instead of general SQL execution. -
Select the role explicitly. Enter
session:role:MCP_ACCESS_ROLEin ClickUp’s Role scope field to select the dedicated role without changing the user’s default. -
Restrict permitted roles. Use
ALLOWED_ROLES_LISTon the security integration to limit which roles users can authorize. -
Shorten the refresh-token lifetime if needed. Reduce
OAUTH_REFRESH_TOKEN_VALIDITYto require more frequent reauthentication. - Review network access. Work with your security team to configure network policies that permit the required connections without allowing unnecessary access.