Back to Home
asingh49-cmd icon

Local-Snowflake-MCP-Server

by asingh49-cmd

Overview

Enables Claude Desktop to interact with a Snowflake database using natural-language SQL via a local Model Context Protocol (MCP) server.

Installation

Run Command
python server/snowflake_mcp_server.py

Environment Variables

  • SF_ACCOUNT
  • SF_USER
  • SF_PASSWORD
  • SF_WH
  • SF_DB
  • SF_SCHEMA

Security Notes

The `run_sql` tool directly executes the `query` string received from the LLM without any sanitization or validation. This poses a significant SQL injection vulnerability if an adversarial user can prompt the LLM to generate malicious SQL, potentially leading to unauthorized data access, modification, or deletion. No other obvious 'eval' or malicious patterns were found, and credentials are handled via environment variables, but the direct SQL execution is a critical flaw.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Stars0
Forks0
Last Update2025-12-05

Tags

SnowflakeClaudeMCP ServerSQLLLM Integration