Snowflake MCP Server
Published
At a glance
- Category
- Data & analytics
- GitHub repository
- Snowflake-Labs/sfguide-getting-started-with-snowflake-mcp-server
- Watch out for
- Supports tools only; resources, prompts and sampling are not supported.
Snowflake's current MCP server is managed inside Snowflake itself: you create it as a database object and Snowflake hosts the endpoint. The earlier Snowflake-Labs/mcp project is marked deprecated and no longer maintained, and its README sends users to the managed server. The Snowflake-Labs getting-started repository holds the setup SQL and sample files for Snowflake's quickstart guide.
You decide which tools a server exposes. Each one maps to something in your account: a Cortex Agent, a Cortex Search service, Cortex Analyst over a semantic view, SQL execution, or your own UDFs and stored procedures. Snowflake recommends exposing a single Cortex Agent as the client-facing tool for governed business data, so the agent decides internally whether to search documents or query tables.
Access control is ordinary Snowflake privileges. USAGE on the MCP server lets a role connect and list tools, but each tool needs its own grant too, such as USAGE on the search service or SELECT on the semantic view. The default authentication is Snowflake OAuth through a security integration, and you can bind a server to an external identity provider such as Okta or Microsoft Entra ID.
How it connects
Your AI app
An assistant or agent that supports MCP
Snowflake MCP Server
Runs as
- Remote (HTTP)
Gives the agent
- Cortex Agents
- Search
- Analyst
- SQL
- Custom tools
Snowflake
Signs in with
- OAuth / browser sign-in
What it can do
- Cortex Agents
- CORTEX_AGENT_RUN exposes a Cortex Agent; CODING_AGENT provides a coding agent without a stored agent object.
- Search
- CORTEX_SEARCH_SERVICE_QUERY queries a Cortex Search service over unstructured data.
- Analyst
- CORTEX_ANALYST_MESSAGE answers questions over structured data through semantic views.
- SQL
- SYSTEM_EXECUTE_SQL runs SQL, read-only by default.
- Custom tools
- GENERIC wraps a UDF or stored procedure as a tool.
Setting it up
Run CREATE MCP SERVER with a YAML specification listing the tools you want, then grant roles USAGE on the server and on each underlying object. SHOW MCP SERVERS, DESCRIBE MCP SERVER and DROP MCP SERVER manage it afterwards. Set up an OAuth security integration and fetch the client credentials with SYSTEM$SHOW_OAUTH_CLIENT_SECRETS, since dynamic client registration is not supported. Point your MCP client at https://<account_url>/api/v2/databases/<db>/schemas/<schema>/mcp-servers/<name>, using hyphens rather than underscores in the hostname. The quickstart repo's setup.sql walks through a sample.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Answering business questions through one governed Cortex Agent
- Searching contracts or support tickets indexed in Cortex Search
- Running read-only SQL from an IDE assistant
- Exposing an approved stored procedure as a tool
Limitations and things to watch
- Supports tools only; resources, prompts and sampling are not supported.
- At most 50 tools per server.
- Generic and SQL tool responses are truncated at 250 KB.
- MCP server objects are not replicated in failover groups and must be recreated on secondary accounts.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /Snowflake-Labs/sfguide-getting-started-with-snowflake-mcp-server
- github.com /Snowflake-Labs/mcp
- docs.snowflake.com /en/user-guide/snowflake-cortex/cortex-agents-mcp
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.