database
Snowflake MCP, CLI, and Lua Integration for AI Agents
Snowflake integration docs for AI agents: MCP gateway setup, Snowflake CLI commands, Lua API reference, credentials, and function schemas.
9 functions 8 read 1 write Manual OAuth token auth
Snowflake for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
snowflake- route_slug
snowflake- package
snowflake- auth_strategy
oauth2_manual_tokenManual OAuth token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Snowflake CLIHeadless setup and direct function calls. Snowflake MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Snowflake MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Snowflake.
Claude Code Snowflake MCP setup for Claude Code. Cursor Snowflake MCP setup for Cursor. Codex Snowflake MCP setup for Codex. OpenAI Agents Snowflake MCP setup for OpenAI Agents SDK. Claude Agent SDK Snowflake MCP setup for Claude Agent SDK. Vercel AI SDK Snowflake MCP setup for Vercel AI SDK. LangChain Snowflake MCP setup for LangChain. LangGraph Snowflake MCP setup for LangGraph. CrewAI Snowflake MCP setup for CrewAI. MCP clients Snowflake MCP setup for Generic MCP Clients.
Snowflake CLI Matrix
Use these pages for direct Snowflake CLI workflows in scripts, CI, cron, and agent wrappers.
CI Snowflake CLI for CI. Cron Jobs Snowflake CLI for cron jobs. Shell Scripts Snowflake CLI for shell scripts. Headless Automation Snowflake CLI for headless automation. Coding Agents Snowflake CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
snowflake.snowflake_execute_query | Write write | 4 | Execute a SQL statement on Snowflake. Returns column metadata and result rows. Optionally specify warehouse, database, and schema context. |
snowflake.snowflake_list_databases | Read read | 0 | List all databases in the Snowflake account. Returns database names, identifiers, and creation timestamps. |
snowflake.snowflake_get_database | Read read | 1 | Get details for a specific Snowflake database, including retention time, owner, and size. |
snowflake.snowflake_list_schemas | Read read | 1 | List all schemas within a Snowflake database. Returns schema names and metadata. |
snowflake.snowflake_list_tables | Read read | 2 | List all tables within a Snowflake database schema. Returns table names, types, and metadata. |
snowflake.snowflake_describe_table | Read read | 3 | Describe a Snowflake table — get column names, data types, nullable, default values, and other metadata. |
snowflake.snowflake_list_warehouses | Read read | 0 | List all warehouses in the Snowflake account. Returns warehouse names, sizes, and status. |
snowflake.snowflake_get_warehouse | Read read | 1 | Get details for a specific Snowflake warehouse, including size, type, auto-suspend, and auto-resume settings. |
snowflake.snowflake_get_current_user | Read read | 0 | Get the current authenticated Snowflake user and session information. |