
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A production-ready MCP server that integrates with Snowflake, offering query execution, schema discovery, and configurable read-only security controls.
Simple Snowflake MCP server is cataloged as an MCP server attributed to yannbrrd. A production-ready MCP server that integrates with Snowflake, offering query execution, schema discovery, and configurable read-only security controls. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Simple Snowflake MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. Read-only mode is governed solely by server configuration and the MCP_READ_ONLY environment variable, and is not a tool argument the client can set.
Tools support JSON, markdown, and CSV output via a format argument, and the schema export tool additionally supports YAML and SQL.
README.md · 174b55d2db24 · Fetched 2026-11-13 08:54:10 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
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.
The server exposes the following MCP tools to interact with Snowflake:
Database Operations:
json (default), markdown, and csv output via the format argument.SELECT, SHOW, DESCRIBE, EXPLAIN, and WITH statements (without DML) are allowed. Read-only mode is governed solely by server configuration 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.Discovery and Metadata:
include_details: false for names only.pattern filter (wildcards) and include_details.database. Supports a pattern filter (wildcards) and include_details.database/schema. Supports a pattern filter (wildcards) and include_details.database/schema. Supports a pattern filter (wildcards) and include_details.database/schema/table (works for views too). Supports json (default)/markdown/csv via format.database/schema/view (or table) by name, with the same server-enforced read-only protection and row limiting as execute-query. Supports a limit, an offset for paging, and markdown (default)/json/csv via format.json (default), yaml, and sql via format, an optional database filter, and opt-in include_data_samples (table rows only, max 3 rows per table).Notes (in-memory session state):
name, content) kept in server memory for the session.name.name, content) for a given note name.The server also exposes MCP prompts that bundle server context into ready-to-use messages:
style (brief/detailed/executive), format (text/markdown/json).database (optional focus), focus (tables/views/functions/all).intent (required), complexity (simple/intermediate/advanced).error_message (optional).This server executes client-supplied SQL against Snowflake using a single set of credentials. Treat the MCP client as untrusted (an LLM can be prompt-injected) and deploy accordingly.
The real security boundary is a least-privilege Snowflake role, not the server's keyword filter. The built-in read-only check is defense-in-depth only. Always connect with a role scoped to exactly what you need.
Required deployment posture:
USAGE/SELECT (and the relevant SHOW/DESCRIBE visibility) — no
INSERT/UPDATE/DELETE/DDL/GRANT. If the role cannot write, no bypass of the
keyword filter can cause damage.read_only: true (the default). Read-only mode is governed solely by
server configuration / the MCP_READ_ONLY environment variable. It is not
client-controllable — there is no read_only tool argument.config.yaml) to bound runaway
or abusive queries and warehouse-credit consumption.What the server enforces:
WITH ... DELETE) are rejected.pattern / database arguments are validated against a strict allow-list before
being placed into LIKE clauses; limit is coerced to a bounded integer and
applied at the driver, never concatenated into SQL.LIMIT are capped at
default_query_limit rows (applied at the driver). When a result is capped the
response includes an explicit "results were truncated" notice — rows are never
dropped silently. Pass a larger limit (up to max_query_limit) or add your own
LIMIT clause to retrieve more.INFO (only a length + hash); full SQL is DEBUG-only.The server now includes a comprehensive YAML-based configuration system that allows you to customize all aspects of the server behavior.
Create a config.yaml file in your project root:
# Logging Configuration
logging:
level: INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL (overridable via LOG_LEVEL)
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
file_logging:
enabled: false # Set to true to enable file logging
filename: "logs/server.log" # Must resolve under repository ./logs/
max_bytes: 10485760 # Rotate after 10 MB
backup_count: 5
# Server Configuration
server:
name: "simple_snowflake_mcp"
version: "0.4.0"
description: "Enhanced Snowflake MCP Server with full protocol compliance"
connection:
test_on_startup: true
timeout: 30
# Snowflake Configuration
snowflake:
# Read-only mode is read from here (and the MCP_READ_ONLY env var), NOT from
# the server block. Set to false to allow write operations.
read_only: true
default_query_limit: 1000
max_query_limit: 50000
statement_timeout_seconds: 300
connection_reuse: true
# Security controls
security:
rate_limit:
enabled: true
max_calls: 60
window_seconds: 60
notes:
max_count: 100
max_content_length: 10000
# MCP Protocol Settings
mcp:
experimental_features:
resource_subscriptions: true # Enable resource change notifications
completion_support: false # Set to true when MCP version supports it
notifications:
resources_changed: true
tools_changed: true
prompts_changed: true
You can specify a custom configuration file using the CONFIG_FILE environment variable:
Windows:
set CONFIG_FILE=config_debug.yaml
python -m simple_snowflake_mcp
Linux/macOS:
CONFIG_FILE=config_production.yaml python -m simple_snowflake_mcp
Configuration values are resolved in this order (highest to lowest priority):
LOG_LEVEL, MCP_READ_ONLY)CONFIG_FILE)config.yaml fileuvx (Recommended)# Install and run directly
uvx simple-snowflake-mcp
# Clone the repo
git clone https://github.com/YannBrrd/simple_snowflake_mcp
cd simple_snowflake_mcp
# Install with uv (creates a venv automatically)
uv sync
# Run
uv run simple-snowflake-mcp
# Install with development dependencies
uv sync --all-extras
# Run the tests
uv run pytest
# Lint with ruff
uv run ruff check .
uv run ruff format .
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"simple_snowflake_mcp": {
"command": "uv",
"args": [
"--directory",
".",
"run",
"simple_snowflake_mcp"
]
}
}
"mcpServers": {
"simple_snowflake_mcp": {
"command": "uvx",
"args": [
"simple_snowflake_mcp"
]
}
}
Clone the repository
git clone <your-repo>
cd simple_snowflake_mcp
Set up environment variables
cp .env.example .env
# Edit .env with your Snowflake credentials
Build and run with Docker Compose
# Build the Docker image
docker-compose build
# Start the service
docker-compose up -d
# View logs
docker-compose logs -f
Using Docker Compose directly:
# Build the image
docker-compose build
# Start in production mode
docker-compose up -d
# Start in development mode (with volume mounts for live code changes)
docker-compose --profile dev up simple-snowflake-mcp-dev -d
# View logs
docker-compose logs -f
# Stop the service
docker-compose down
# Clean up (remove containers, images, and volumes)
docker-compose down --rmi all --volumes --remove-orphans
Using the provided Makefile (Windows users can use make with WSL or install make for Windows):
# See all available commands
make help
# Build and start
make build
make up
# Development mode
make dev-up
# View logs
make logs
# Clean up
make clean
The Docker setup includes:
All Snowflake configuration can be set via environment variables:
Required:
SNOWFLAKE_USER: Your Snowflake usernameSNOWFLAKE_PASSWORD: Your Snowflake passwordSNOWFLAKE_ACCOUNT: Your Snowflake account identifierOptional:
SNOWFLAKE_WAREHOUSE: Warehouse nameSNOWFLAKE_DATABASE: Default databaseSNOWFLAKE_SCHEMA: Default schemaMCP_READ_ONLY: Set to "TRUE" for read-only mode (default: TRUE)Configuration System (v0.2.0):
CONFIG_FILE: Path to custom configuration file (default: config.yaml)LOG_LEVEL: Override logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)For development, use the development profile which mounts your source code:
docker-compose --profile dev up simple-snowflake-mcp-dev -d
This allows you to make changes to the code without rebuilding the Docker image.
# Sync all dependencies (prod + dev)
uv sync --all-extras
# Update dependencies
uv lock --upgrade
# Add a new dependency
uv add <package-name>
# Add a dev dependency
uv add --dev <package-name>
# Build
uv build
# Publish to PyPI
uv publish --token $UV_PUBLISH_TOKEN
GitHub Actions CI runs on pushes to main and on pull requests via .github/workflows/ci.yml:
uv run ruff check .
uv run ruff format --check .
uv run pytest
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
npx @modelcontextprotocol/inspector uv run simple-snowflake-mcp
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
The server exposes an MCP tool execute-snowflake-sql to execute a SQL query on Snowflake and return the result.
Call the MCP tool execute-snowflake-sql with a sql argument containing the SQL query to execute. The result will be returned as a list of dictionaries (one per row).
Example:
{
"name": "execute-snowflake-sql",
"arguments": { "sql": "SELECT CURRENT_TIMESTAMP;" }
}
The result will be returned in the MCP response.
Clone the project and install dependencies
git clone https://github.com/YannBrrd/simple_snowflake_mcp
cd simple_snowflake_mcp
# Install with uv (creates a venv automatically)
uv sync --all-extras
Configure Snowflake access
.env.example to .env and fill in your credentials:
SNOWFLAKE_USER=...
SNOWFLAKE_PASSWORD=...
SNOWFLAKE_ACCOUNT=...
# SNOWFLAKE_WAREHOUSE Optional: Snowflake warehouse name
# SNOWFLAKE_DATABASE Optional: default database name
# SNOWFLAKE_SCHEMA Optional: default schema name
# MCP_READ_ONLY=true|false Optional: true/false to force read-only mode
Configure the server (v0.2.0)
config.yaml is present, the server uses its built-in defaults (no file is created automatically)config.yaml (an example is provided in the repository)CONFIG_FILE=custom_config.yaml to specify a different file (resolved within the repository only, to prevent path traversal)Configure VS Code for MCP debugging
.vscode/mcp.json file is already present:
{
"servers": {
"simple-snowflake-mcp": {
"type": "stdio",
"command": "uv",
"args": ["run", "simple-snowflake-mcp"]
}
}
}
MCP: Start Server, and select simple-snowflake-mcp.Usage
This server now implements comprehensive MCP protocol features:
🔔 Resource Subscriptions
📋 Enhanced Resource Management
snowflake://database/{database}/schemas,
snowflake://database/{database}/schema/{schema}/tables,
snowflake://table/{database}/{schema}/{table})logging/setLevel request⚡ Performance & Reliability
🔧 Development Features
The server advertises these MCP capabilities:
logging/setLevelThe server exposes the following MCP tools (see the Tools section above for full argument details):
Database Operations:
Discovery and Metadata:
Session Notes:
The server also implements MCP resources (Snowflake objects with subscription support) and prompts. For parameter schemas, inspect handle_list_tools in src/simple_snowflake_mcp/server.py.
# Execute a simple query
{
"name": "execute-query",
"arguments": {
"sql": "SELECT CURRENT_TIMESTAMP;",
"format": "markdown"
}
}
# List all databases
{
"name": "list-databases",
"arguments": {}
}
# config_production.yaml
logging:
level: WARNING
file_logging:
enabled: true
filename: "logs/mcp_server.log"
snowflake:
# Keep true unless the connecting Snowflake role is itself read-only.
read_only: true
default_query_limit: 5000
max_query_limit: 100000
statement_timeout_seconds: 120
connection_reuse: true
security:
rate_limit:
enabled: true
max_calls: 60
window_seconds: 60
notes:
max_count: 100
max_content_length: 10000
mcp:
experimental_features:
resource_subscriptions: true
Enable Debug Logging:
# Method 1: Environment variable
export LOG_LEVEL=DEBUG
python -m simple_snowflake_mcp
# Method 2: Custom config file
export CONFIG_FILE=config_debug.yaml
python -m simple_snowflake_mcp
Common Issues:
default_query_limit in config.yaml for large result setsClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Simple Snowflake MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/simple-snowflake)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.