DM

datawiz168/mcp-snowflake-service

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

45 stars 23 forks 品質 63 トレンド 12MIT

datawiz168/mcp-snowflake-serviceは[https://github.com/datawiz168/mcp-snowflake-service.からインポートされたMCPサーバー候補です

概要

datawiz168/mcp-snowflake-serviceは[https://github.com/datawiz168/mcp-snowflake-service.からインポートされたMCPサーバー候補です

概要(AI 翻訳)

SnowflakeデータベースへのClaudeアクセスを提供するモデルコンテキストプロトコル(MCP)サーバー。 / 一个为 Claude 提供 Snowflake 数 文字列 能力 の MCP (モデル 文字列 文句) 服务器。

このサーバーは、Claude を次のものにするために、モデルコンテキストプロトコルを実行します。

  • SnowflakeデータベースでSQLクエリを実行
  • データベース接続のライフサイクルを自動的に処理します(接続、タイムアウトの再接続、クローズ)
  • クエリ結果とエラーを処理する
  • 安全にデータベース操作を実行

此 了 了 了 : : : : :

  • 在 Snowflake 数 文字列 上行行 SQL ユーザ 自 自 自 连 连 连 ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( 和 和 和 和 和
  • 地 行 行

インストール / 安装

##Smitheryでインストールする

インストールするには mcp-service-snowflake for Claude デスクトップ 自動的にスモーサリーを介して:

手動インストール

1。 このリポジトリをクローンする / 克隆此仓库

  1. 依存関係 / 安装法

設定 / 配置明

##show MCP クライアント設定例/MCP 客先順配置例

[claude_desktop_config.json] / [[claude_desktop_config.json]]に次の設定を追加します。

設定パラメータ / 配置数明:

  • [command: Python通訳者へのフルパス Pythonのインストール場所に応じて変更してください。 ・ 请 请 请 请 请 请 请 请 请 请 请 请 请 请 请

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

A Model Context Protocol (MCP) server that provides Claude access to Snowflake databases. / 一个为 Claude 提供 Snowflake 数据库访问能力的 MCP (模型上下文协议) 服务器。

This server implements the Model Context Protocol to allow Claude to:

  • Execute SQL queries on Snowflake databases
  • Automatically handle database connection lifecycle (connect, reconnect on timeout, close)
  • Handle query results and errors
  • Perform database operations safely

此服务器实现了模型上下文协议,使 Claude 能够:

  • 在 Snowflake 数据库上执行 SQL 查询
  • 自动管理数据库连接生命周期(连接创建、超时重连、连接关闭)
  • 处理查询结果和错误
  • 安全地执行数据库操作

Installation / 安装

Installing via Smithery

To install mcp-service-snowflake for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @datawiz168/mcp-service-snowflake --client claude

Manual Installation

  1. Clone this repository / 克隆此仓库
git clone https://github.com/datawiz168/mcp-snowflake-service.git
  1. Install dependencies / 安装依赖
pip install -r requirements.txt

Configuration / 配置说明

MCP Client Configuration Example / MCP 客户端配置示例

Add the following configuration to claude_desktop_config.json / 在 claude_desktop_config.json 中添加配置:

{
  "mcpServers": {
    "snowflake": {
      "command": "C:\\Users\\K\\anaconda3\\envs\\regular310\\python.exe",
      "args": ["D:\\tools\\mcp-snowflake\\server.py"]
    }
  }
}

Configuration parameters / 配置参数说明:

  • command: Full path to your Python interpreter. Please modify this according to your Python installation location. / Python 解释器的完整路径,请根据您的 Python 安装位置进行修改。
  • args: Full path to the server script. Please modify this according to where you cloned the repository. / 服务器脚本的完整路径,请根据您克隆仓库的位置进行修改。

Example paths for different operating systems / 不同操作系统的路径示例:

Windows:

{
  "mcpServers": {
    "snowflake": {
      "command": "C:\\Users\\YourUsername\\anaconda3\\python.exe",
      "args": ["C:\\Path\\To\\mcp-snowflake\\server.py"]
    }
  }
}

MacOS/Linux:

{
  "mcpServers": {
    "snowflake": {
      "command": "/usr/bin/python3",
      "args": ["/path/to/mcp-snowflake/server.py"]
    }
  }
}

Snowflake Configuration / Snowflake 配置

Create a .env file in the project root directory and add the following configuration / 在项目根目录下创建 .env 文件,添加以下配置:

SNOWFLAKE_USER=your_username      # Your username / 您的用户名
SNOWFLAKE_PASSWORD=your_password  # Your password / 您的密码
SNOWFLAKE_ACCOUNT=NRB18479.US-WEST-2    # Example: NRB18479.US-WEST-2 / 示例: NRB18479.US-WEST-2
SNOWFLAKE_DATABASE=your_database  # Your database / 您的数据库
SNOWFLAKE_WAREHOUSE=your_warehouse # Your warehouse / 您的数据仓库

Connection Management / 连接管理

GitHub で README 全文を見る

インストール

npx -y @smithery/cli install @datawiz168/mcp-service-snowflake --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "snowflake": { "command": "C:\\Users\\K\\anaconda3\\envs\\regular310\\python.exe", "args": ["D:\\tools\\mcp-snowflake\\server.py"] } } }