Observed since 20 Oct, 20:23 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Container-ready MCP server for Snowflake with browser SSO / key-pair auth
A small, fast MCP server for Snowflake. Four tools, one file, browser SSO auth.
Authenticates via externalbrowser SSO. The connector caches the SSO ID token
locally (in the OS keyring, via the secure-local-storage extra), so the browser
only opens when the cached token expires — not on every server restart. Caching
requires this once on the account (ask an admin if it isn't already set):
ALTER ACCOUNT SET ALLOW_ID_TOKEN = TRUE;
While the server process is running, CLIENT_SESSION_KEEP_ALIVE holds the session
open indefinitely — you won't be re-prompted mid-session.
Windows and macOS (Python 3.11+):
python -m pip install --user ae-mcp
Or:
uv tool install ae-mcp
{
"mcpServers": {
"ae-mcp": {
"command": "ae-mcp",
"env": {
"SNOWFLAKE_ACCOUNT": "myorg-myaccount",
"SNOWFLAKE_USER": "me@example.com",
"SNOWFLAKE_ROLE": "ANALYST_ROLE",
"SNOWFLAKE_WAREHOUSE": "COMPUTE_WH",
"SNOWFLAKE_MCP_ALLOW_WRITE": "false"
}
}
}
}
SNOWFLAKE_MCP_ALLOW_WRITE is shown explicitly above as a reminder — it's
false (read-only) by default even if omitted entirely.
Optional env: SNOWFLAKE_DATABASE, SNOWFLAKE_SCHEMA.
| Tool | Purpose |
|---|---|
snowflake_query | Run SQL; results capped (default 50 rows, max 1000), wide cells truncated |
snowflake_list_objects | SHOW TERSE databases/schemas/tables/views/warehouses/roles with LIKE filter |
snowflake_describe_table | Column definitions (metadata-only, no warehouse compute) |
snowflake_session_info | Current user/role/warehouse/db + connection age |
CLIENT_SESSION_KEEP_ALIVE, reused across calls; auto-reconnects once on session expiry.SHOW TERSE / DESCRIBE are metadata operations: instant results, no warehouse credits.STATEMENT_TIMEOUT_IN_SECONDS=300 guards against runaway queries.Secure by default. snowflake_query is read-only out of the box — no
env var needs to be set for that. Writes (INSERT/UPDATE/DELETE/MERGE/
CREATE/DROP/ALTER/TRUNCATE/GRANT/REVOKE/COPY/CALL/etc.) are
blocked unless explicitly enabled.
| Env var | Default | Effect |
|---|---|---|
SNOWFLAKE_MCP_ALLOW_WRITE | false | Set true to allow non-read-only statements |
SNOWFLAKE_MCP_READ_ONLY | false | Set true for a hard override: always read-only, ignoring ALLOW_WRITE entirely |
The read-only guard, when active:
SELECT/SHOW/DESCRIBE/DESC/
EXPLAIN/WITH/LIST/USE.WITH x AS (...) INSERT INTO ... is blocked, not just
a bare INSERT).; other than trailing
whitespace (SELECT 1; DROP TABLE x;) is blocked outright.delete_flag or a literal containing the word
"insert" doesn't trigger a false block.Call snowflake_session_info any time to see the live gating state (which
of the two env vars is active) alongside connection details. A blocked
snowflake_query call returns an error explaining which env var to set —
no SQL is ever sent to Snowflake for a blocked statement.
This is a keyword/pattern guard, not a full SQL parser — it's meant to stop accidental or casual writes from an LLM-driven client, not to withstand a determined adversary with control over the input. If you need real guarantees, use a read-only Snowflake role for this connection rather than relying on the guard alone.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.0 | 21 Aug 2026 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:23 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:1f47088d6c839bc77e06ef736e7833f1ae03159c35c116a3e511defa28f8d1e3