Back to Home
NitinTalluri icon

mcp_server

Verified Safe

by NitinTalluri

Overview

An MCP server that enables LLM models to query live Snowflake architecture data tables for application structure analysis, dependencies, and relationships.

Installation

Run Command
python mcp_snowflake_server.py

Environment Variables

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
  • AWS_PROFILE

Security Notes

The server uses an external `common.sec` module for Snowflake credential management, which is a good practice, preventing hardcoded secrets. Table names in queries are validated against an allowed list, mitigating table enumeration. However, the `where_clause` parameter in `query_architecture_table` is directly inserted into the SQL string via f-string before being passed to `sqlalchemy.text()`. While `sqlalchemy.text()` usually helps with parameterized queries, direct f-string interpolation of a user-provided `where_clause` can introduce a SQL injection vulnerability if the input is not sanitized by the LLM or the calling framework.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens3000
Stars0
Forks0
Last Update2025-11-20

Tags

MCP ServerSnowflakeLLM IntegrationArchitecture AnalysisPython