trackmcp
Back to directory
Cjaimesg

snowflake-mcp-sp-integration

View on GitHub

Snowflake Stored Procedure Integration

1 stars PythonOthers Updated Jun 25, 2025

Documentation

Snowflake Stored Procedure Integration with MCP Server

This project simplifies the integration of Snowflake stored procedures with an MCP (Model Context Protocol) server. It provides a framework to define, manage, and execute Snowflake procedures from the MCP server environment.

Requirements

  • Python 3.8 or higher
  • `uv` installed

Installation

1. Clone the repository:

bash
git clone https://github.com/Cjaimesg/snowflake-mcp-sp-integration.git
cd snowflake-mcp-sp-integration

2. Install dependencies using `uv`:

bash
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

Configuration

1. Create a `.env` file in the root directory (do not commit this file). Define all required Snowflake credentials:

code
SNOWFLAKE_ACCOUNT=-
SNOWFLAKE_USER=
SNOWFLAKE_PASSWORD=
SNOWFLAKE_ROLE=
SNOWFLAKE_WAREHOUSE=
SNOWFLAKE_DATABASE=
SNOWFLAKE_SCHEMA=
SNOWFLAKE_HOST=-.snowflakecomputing.com

> All variables are mandatory and must be defined by the user.

2. Configure the project as an MCP server. In your MCP configuration file, add an entry like the following, adjusting the paths to match your local environment. Both --schemas and --procedures are optional and default to empty lists.

    json
    {
      "mcpServers": {
        "snowflake_sp_server": {
          "command": "absolute/path/to/your/uv/uv.exe",
          "args": [
            "--directory",
            "absolute/path/to/snowflake-mcp-sp-integration",
            "run",
            "main.py",
            "--schemas",
            "DB_NAME.SCHEMA_NAME",
            "--procedures",
            "DB_NAME.OTHER_SCHEMA_NAME.PROCEDURE_NAME"
          ]
        }
      }
    }

    > Replace `absolute/path/to/snowflake-mcp-sp-integration` with the actual directory where you cloned this repository.

    Quickstart - Setup Guide for Dev Environment

    The `quickstart/` folder contains a step-by-step guide for setting up and testing this module in the Dev Environment.

    License

    This project is licensed under the MIT License.

    Frequently asked questions

    What is snowflake-mcp-sp-integration?

    snowflake-mcp-sp-integration is Snowflake Stored Procedure Integration

    How do I install snowflake-mcp-sp-integration?

    Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

    Is snowflake-mcp-sp-integration open source?

    Yes — it is hosted on GitHub at https://github.com/Cjaimesg/snowflake-mcp-sp-integration and has 1 stars.

    Related MCP tools

    Run your own MCP server? See who uses it and what to fix.

    Measure it with TrackMCP