
yannbrrd/simple_snowflake_mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
A production-ready MCP server that provides seamless Snowflake integration with advanced features including configurable logging, resource subscriptions, and comprehensive error handling.
Обзор
A production-ready MCP server that provides seamless Snowflake integration with advanced features including configurable logging, resource subscriptions, and comprehensive error handling. Designed to work seamlessly behind corporate proxies. The server exposes the following MCP tools to interact with Snowflake: - : Executes a SQL query on Snowflake and returns the result. Supports json (default), markdown, and csv output via the format argument. - : Executes a SQL query with server-enforced read-only protection. In read-only mode (the default) only SELECT, SHOW, DESCRIBE, EXPLAIN, and WITH statements (without DML) are allowed. Read-only mode is governed and cannot be relaxed by the caller. Supports a limit, an offset for paging, and markdown (default)/json/csv output via format. When a result is truncated the response includes the offset for the next page. - : Returns current Snowflake connection information and server status. - : Lists available Data Warehouses (DWH) on Snowflake.
README
Показан фрагмент оригинального README. Открыть оригинал.
Simple Snowflake MCP server
Enhanced Snowflake MCP Server with comprehensive configuration system and full MCP protocol compliance.
A production-ready MCP server that provides seamless Snowflake integration with advanced features including configurable logging, resource subscriptions, and comprehensive error handling. Designed to work seamlessly behind corporate proxies.
For release details, see CHANGELOG.md.
Tools
The server exposes the following MCP tools to interact with Snowflake:
Database Operations:
- execute-snowflake-sql: Executes a SQL query on Snowflake and returns the result. Supports
json(default),markdown, andcsvoutput via theformatargument. - execute-query: Executes a SQL query with server-enforced read-only protection. In read-only mode (the default) only
SELECT,SHOW,DESCRIBE,EXPLAIN, andWITHstatements (without DML) are allowed. Read-only mode is governed solely by server configuration and cannot be relaxed by the caller. Supports alimit, anoffsetfor paging, andmarkdown(default)/json/csvoutput viaformat. When a result is truncated the response includes theoffsetfor the next page.
Discovery and Metadata:
- get-connection-info: Returns current Snowflake connection information and server status.
- list-snowflake-warehouses: Lists available Data Warehouses (DWH) on Snowflake. Pass
include_details: falsefor names only. - list-databases: Lists all accessible Snowflake databases. Supports a
patternfilter (wildcards) andinclude_details. - list-schemas: Lists schemas in a
database. Supports apatternfilter (wildcards) andinclude_details. - list-tables: Lists tables in a
database/schema. Supports apatternfilter (wildcards) andinclude_details. - list-views: Lists views in a
database/schema. Supports apatternfilter (wildcards) andinclude_details. - describe-table: Returns the columns and types of a
database/schema/table(works for views too). Supportsjson(default)/markdown/csvviaformat. - query-view: Reads rows from a
database/schema/view(or table) by name, with the same server-enforced read-only protection and row limiting asexecute-query. Supports alimit, anoffsetfor paging, andmarkdown(default)/json/csvviaformat. - export-schema: Exports hierarchical schema metadata (databases → schemas → tables/views → columns). Supports
json(default),yaml, andsqlviaformat, an optionaldatabasefilter, and opt-ininclude_data_samples(table rows only, max 3 rows per table).
Notes (in-memory session state):
- add-note: Adds or updates a note (
name,content) kept in server memory for the session. - delete-note: Deletes an existing note by
name. - list-notes: Lists current note names in sorted order.
- get-note: Returns the note payload (
name,content) for a given note name.
Prompts
Установка
uvx simple_snowflake_mcpКонфигурация
"mcpServers": {
"simple_snowflake_mcp": {
"command": "uv",
"args": [
"--directory",
".",
"run",
"simple_snowflake_mcp"
]
}
}