SL

snowflake-labs/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

304 stars 110 forks 质量 69 趋势 0Apache-2.0

Snowflake 的 MCP 服务器,包括 Cortex AI、对象管理、SQL 编排、语义视图消费等

概览

请迁移到官方的Snowflake MCP服务器。官方服务器正在积极开发,Snowflake全力支持,并持续添加新功能。 该社区MCP服务器此前提供Snowflake Cortex AI、对象管理和SQL编排工具。现已不再支持。对于所有新旧用例,请使用官方的Snowflake MCP服务器。 遗留文档(仅供参考) MCP 服务器支持以下功能:- : 在 Snowflake 中查询非结构化数据,这在检索增强生成(RAG)应用中很常见。- : 通过丰富的语义建模在 Snowflake 中查询结构化数据。- : 跨结构化和非结构化数据检索的代理编排器- : 对 Snowflake 最常见的对象执行基本操作,如创建、丢弃、更新等。- : 运行由用户配置权限管理的 LLM 生成的 SQL。

概述(AI 翻译)

[!注意] 本项目已废弃且不再维护。 请迁移到官方 Snowflake MCP 服务器。官方服务器正在积极开发,Snowflake 全力支持,并持续添加新功能。

该社区MCP服务器此前提供Snowflake Cortex AI、对象管理和SQL编排工具。现已不再支持。对于所有新旧用例,请使用官方的Snowflake MCP服务器。


遗留文档(仅供参考)

MCP 服务器支持以下功能:

  • Cortex Search:在 Snowflake 中查询非结构化数据,这在检索增强生成(RAG)应用中很常见。
  • Cortex Analyst:通过丰富的语义建模查询 Snowflake 中的结构化数据。
  • Cortex Agent:跨结构化和非结构化数据检索的代理编排器
  • 对象管理:对 Snowflake 最常用的对象执行基本操作,如创建、丢弃、更新等。
  • SQL 执行:运行由用户配置权限管理的大型语言模型生成的 SQL。
  • 语义视图查询:发现并查询雪花语义视图

开始

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

[DEPRECATED] Snowflake Cortex AI Model Context Protocol (MCP) Server

[!CAUTION] This project is deprecated and no longer maintained. Please migrate to the official Snowflake MCP Server. The official server is actively developed, fully supported by Snowflake, and continues to add new features.

This community MCP server previously provided tooling for Snowflake Cortex AI, object management, and SQL orchestration. It is no longer supported. For all new and existing use cases, please use the official Snowflake MCP Server instead.


The MCP server supported the below capabilities:

  • Cortex Search: Query unstructured data in Snowflake as commonly used in Retrieval Augmented Generation (RAG) applications.
  • Cortex Analyst: Query structured data in Snowflake via rich semantic modeling.
  • Cortex Agent: Agentic orchestrator across structured and unstructured data retrieval
  • Object Management: Perform basic operations against Snowflake’s most common objects such as creation, dropping, updating, and more.
  • SQL Execution: Run LLM-generated SQL managed by user-configured permissions.
  • Semantic View Querying: Discover and query Snowflake Semantic Views

Getting Started

Service Configuration

A simple configuration file is used to drive all tooling. An example can be seen at services/configuration.yaml and a template is below. The path to this configuration file will be passed to the server and the contents used to create MCP server tools at startup.

Cortex Services

Many Cortex Agent, Search, and Analyst services can be added. Ideal descriptions are both highly descriptive and mutually exclusive. Only the explicitly listed Cortex services will be available as tools in the MCP client.

Other Services

Other services include tooling for object management, query execution, and semantic view usage. These groups of tools can be enabled by setting them to True in the other_services section of the configuration file.

SQL Statement Permissions

The sql_statement_permissions section ensures that only approved statements are executed across any tools with access to change Snowflake objects.

在 GitHub 查看完整 README

安装

uvx snowflake-labs-mcp --service-config-file <path_to_file>/tools_config.yaml --connection-name default
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mcp-server-snowflake": { "command": "uvx", "args": [ "snowflake-labs-mcp", "--service-config-file", "<path_to_file>/tools_config.yaml", "--connection-name", "default" ] } } }