An MCP (Model Context Protocol) server implementation for interacting with Snowflake databases.
18 stars1 watching4 forks
MCP Server for Snowflake / Snowflake MCP 服务器
This is an MCP (Model Context Protocol) server implementation for interacting with Snowflake databases. 这是一个用于与 Snowflake 数据库交互的 MCP 服务器实现。
Installation / 安装
- Clone this repository / 克隆此仓库
- Install dependencies / 安装依赖项:
pip install -e .
Configuration / 配置
Create a .env
file with your Snowflake credentials:
创建一个包含 Snowflake 凭证的 .env
文件:
SNOWFLAKE_USER=your_username # Your username / 您的用户名
SNOWFLAKE_PASSWORD=your_password # Your password / 您的密码
SNOWFLAKE_ACCOUNT=your_account # Your account / 您的账户
SNOWFLAKE_DATABASE=your_database # Your database / 您的数据库
SNOWFLAKE_WAREHOUSE=your_warehouse # Your warehouse / 您的数据仓库
Add MCP client configuration: 添加 MCP 客户端配置:
{
"snowflake": {
"command": "python",
"args": ["path/to/mcp-snowflake/server.py"]
}
}
Usage / 使用方法
Start the server / 启动服务器:
python -m server.py
The server will start listening for MCP client connections. 服务器将开始监听 MCP 客户端连接。
License
This project is licensed under the MIT License - see the LICENSE file for details. 本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。
Features
Database
Protocol
Configuration
Connection
Category
Databases