Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A single MCP server that lets agents query data through the Greybeam routing layer with Snowflake-compatible tooling.
run_snowflake_query — executes SQL via the Greybeam proxy (Snowflake protocol).cortex_analyst — calls Snowflake Cortex Analyst; any returned SQL is executed via Greybeam.cortex_search — delegated to the pinned upstream Snowflake MCP (no SQL, REST only).Out of scope for v1: Cortex Agent, semantic views, and the upstream object_manager / query_manager / semantic_manager tool families. These are locked off in the child config so a misconfigured deployment can't accidentally expose them.
Install and run the setup wizard with uv:
uvx greybeam-mcp init
The init wizard prompts for account, user, proxy host, and auth method; writes a config file at ~/.config/greybeam-mcp.yaml (mode 0600); and prints the exact registration command for Claude Code and Claude Desktop.
For a packaged install, the printed command uses this form:
claude mcp add greybeam -- uvx greybeam-mcp --config ~/.config/greybeam-mcp.yaml
If you'd rather author the YAML by hand, copy examples/greybeam.yaml to a location of your choice, edit it, chmod 600 it, then:
uvx greybeam-mcp --config /absolute/path/to/greybeam.yaml
From a source checkout, use uv run instead:
uv run greybeam-mcp --config /absolute/path/to/greybeam.yaml
The YAML is the single source of truth — it holds account, proxy host, and auth credentials. Pick one auth method (in order of recommendation):
private_key_file (path to a PEM key, plus optional private_key_passphrase) — recommended, since Snowflake is deprecating password authprivate_key (inline PEM contents) — for environments without a writable diskauthenticator: externalbrowser for SSO (requires a SAML2 integration on the account)password — deprecated by Snowflake, avoid for new setupschmod 600 the file since it contains credentials.
Every field above can also come from an environment variable (SNOWFLAKE_USER, SNOWFLAKE_PRIVATE_KEY_FILE, SNOWFLAKE_PRIVATE_KEY_PASSPHRASE, SNOWFLAKE_PRIVATE_KEY, SNOWFLAKE_AUTHENTICATOR, SNOWFLAKE_PASSWORD). YAML takes precedence; envs fill in unset fields. Useful in container/k8s deployments where secrets are mounted as env vars.
The Cortex Analyst REST endpoint expects Authorization: Bearer <oauth_or_jwt>. The v1 client supports Bearer (token) directly; the password / Basic-auth branch is test scaffolding and will return 401 against real Snowflake. If you need Cortex Analyst in production today, configure an OAuth access token via the token field in code; broader keypair-JWT support is tracked for v1.1.
uvx greybeam-mcp init prints registration snippets pre-filled with your config path. The general shapes:
Claude Code (CLI):
claude mcp add greybeam -- uvx greybeam-mcp --config /absolute/path/to/greybeam.yaml
Start a new claude session to pick it up. Verify with claude mcp list.
Claude Desktop: paste the JSON printed by greybeam-mcp init into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on your platform, then restart the app. The installed-package shape is:
{
"mcpServers": {
"greybeam": {
"command": "uvx",
"args": ["greybeam-mcp", "--config", "/absolute/path/to/greybeam.yaml"]
}
}
}After a successful install, ask the agent something like "run select 1 on snowflake" — it should pick the run_snowflake_query tool automatically.
Greybeam MCP does not enforce statement-type restrictions at the MCP layer. CREATE / DROP / ALTER and other potentially destructive statements are subject to:
If you need hard MCP-layer restrictions, scope the Snowflake role tightly or contact Greybeam about backend policy options. This is an intentional v1 divergence from upstream Snowflake MCP, which blocks DDL by default — see the design doc for rationale.
v1 bounds in-flight calls via two driver-level mechanisms inside run_snowflake_query:
cursor.execute(timeout=greybeam.query_timeout) — Snowflake's own query timeout.cursor.close() on row-cap / byte-cap exceedance (acquires thedriver's _lock_canceling and aborts the in-flight query).
Client-driven cancellation (notifications/cancelled) is not wired in v1. The CancelToken primitive, dispatcher in-flight table, and delegated-cancel forwarding are scaffolding retained and unit-tested so v1.1 can light them up by adding a notifications/cancelled handler.
uv sync --extra dev uv run pytest
To run the server from a local clone instead of the PyPI package:
uv run greybeam-mcp init
The wizard detects the source checkout and prints registration commands using uv --directory /absolute/path/to/greybeam-mcp run greybeam-mcp ..., so local development can point clients at unpublished changes.
The default suite runs unit + always-on contract tests (no network, no DB). Two test layers are gated behind environment variables:
Contract tests against the real upstream child (requires real Snowflake credentials — placeholders are not enough because the upstream child may validate at startup):
GREYBEAM_RUN_CHILD_CONTRACT=1 \ SNOWFLAKE_ACCOUNT=... SNOWFLAKE_USER=... SNOWFLAKE_PASSWORD=... \ uv run pytest tests/contract/
Integration tests against a real Greybeam dev endpoint:
GREYBEAM_RUN_INTEGRATION=1 \ SNOWFLAKE_ACCOUNT=... SNOWFLAKE_USER=... SNOWFLAKE_PASSWORD=... \ GREYBEAM_PROXY_HOST=greybeam-dev.example.com \ uv run pytest tests/integration/
The upstream Snowflake MCP package is pinned at snowflake-labs-mcp==1.4.1 (import name mcp_server_snowflake). Bumping that pin should re-run the child contract snapshot test and re-approve tests/contract/fixtures/child_tools_list.json if the surface drifted.
Design doc: docs/superpowers/specs/2026-04-24-greybeam-mcp-design.md.
Build and verify locally before publishing:
uv build --no-sources uv run pytest uv run ruff check src/ tests/
Preferred publish path:
pypi.greybeam-mcp, thisrepository, the pypi environment, and .github/workflows/publish.yml.
pyproject.toml.Manual fallback, if Trusted Publishing is not configured yet:
uv publish --token pypi-...
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.