Enables execution and management of Snowflake stored procedures through the MCP server, allowing AI agents to interact with Snowflake databases by calling stored procedures defined in specified schemas.
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
uvinstalled
Installation
Clone the repository:
Install dependencies using
uv:
Configuration
Create a
.envfile in the root directory (do not commit this file). Define all required Snowflake credentials:
All variables are mandatory and must be defined by the user.
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.
Schemas: All store procedures in the specified schemas will be available to the MCP server.
Procedures: Only the specified procedures will be available to the MCP server.
Replace
absolute/path/to/snowflake-mcp-sp-integrationwith 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.