Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

MCP Snowflake Reader

English | 한국어

English

A read-only MCP server for Snowflake databases. This server provides secure, read-only access to Snowflake databases through the MCP protocol.

Features

  • Read-only Access: Secure read-only access to Snowflake databases
  • Cross-platform Support: Works on Windows, macOS, and Linux
  • Query Caching: Reduces Snowflake compute costs by caching query results
  • Connection Testing: Optimized connection testing without executing queries

Installation

npm install -g mcp-snowflake-reader

Usage

mcp-snowflake-reader --connection '{"account":"your-account","username":"your-user","password":"your-password","warehouse":"your-warehouse","database":"your-database","schema":"your-schema","role":"your-role"}'

MCP Client Configuration

Add the following configuration to your MCP client settings file (Cursor AI or Claude):

{
  "mcpServers": {
    "mcp-snowflake-reader": {
      "command": "mcp-snowflake-reader",
      "args": [
        "--connection",
        "{\"account\":\"your-account\",\"username\":\"your-user\",\"password\":\"your-password\",\"warehouse\":\"your-warehouse\",\"database\":\"your-database\",\"schema\":\"your-schema\",\"role\":\"your-role\"}"
      ]
    }
  }
}

Logging

Logs are saved in the following locations:

  • Windows: %TEMP%\mcp-snowflake-reader\app.log
  • macOS/Linux: /tmp/mcp-snowflake-reader/app.log

Limitations

  • Only read-only operations are allowed
  • Table names can only contain alphanumeric characters, underscores, and dots
  • The following SQL keywords are prohibited:
    • INSERT
    • UPDATE
    • DELETE
    • DROP
    • TRUNCATE
    • ALTER
    • CREATE
    • GRANT
    • REVOKE
    • COMMIT
    • ROLLBACK

License

This project is licensed under the MIT License - see the LICENSE file for details.

Korean

Snowflake 데이터베이스의 테이블을 읽어오는 MCP(Microservice Control Protocol) 서버입니다.

주요 기능

  • 읽기 전용 접근: Snowflake 데이터베이스에 대한 안전한 읽기 전용 접근
  • 크로스 플랫폼 지원: Windows, macOS, Linux에서 모두 작동
  • 쿼리 캐싱: 쿼리 결과를 캐싱하여 Snowflake 컴퓨팅 비용 절감
  • 연결 테스트 최적화: 실제 쿼리 실행 없이 연결 상태 확인

설치

npm install -g mcp-snowflake-reader

사용 방법

mcp-snowflake-reader --connection '{"account":"your-account","username":"your-user","password":"your-password","warehouse":"your-warehouse","database":"your-database","schema":"your-schema","role":"your-role"}'

MCP 클라이언트 설정

Cursor AI나 Claude와 같은 MCP 클라이언트의 설정 파일에 다음 설정을 추가하세요:

{
  "mcpServers": {
    "mcp-snowflake-reader": {
      "command": "mcp-snowflake-reader",
      "args": [
        "--connection",
        "{\"account\":\"your-account\",\"username\":\"your-user\",\"password\":\"your-password\",\"warehouse\":\"your-warehouse\",\"database\":\"your-database\",\"schema\":\"your-schema\",\"role\":\"your-role\"}"
      ]
    }
  }
}

로깅

로그는 다음 위치에 저장됩니다:

  • Windows: %TEMP%\mcp-snowflake-reader\app.log
  • macOS/Linux: /tmp/mcp-snowflake-reader/app.log

제한사항

  • 읽기 전용 작업만 허용됩니다
  • 테이블 이름은 영숫자, 언더스코어, 점만 허용됩니다
  • 다음 SQL 키워드는 금지됩니다:
    • INSERT
    • UPDATE
    • DELETE
    • DROP
    • TRUNCATE
    • ALTER
    • CREATE
    • GRANT
    • REVOKE
    • COMMIT
    • ROLLBACK

라이선스

이 프로젝트는 MIT 라이선스를 따릅니다. 자세한 내용은 LICENSE 파일을 참조하세요.

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • Azure
  • 该存储库用于开发Azure MCP服务器,将Azure的功能带给您的代理商。

  • caio-moliveira
  • 创建该项目是为了证明我们如何与不同的模型上下文协议(MCP)连接。

  • MarcusAdriano
  • estudando mcp usando a api do bacen ptax

    Reviews

    1.7 (6)
    Avatar
    user_5CbsdhNm
    2025-04-23

    I've been using the mcp-snowflake-reader-ts by fnf-deepHeading and it's fantastic! It seamlessly integrates with my existing Snowflake environment and provides real-time data reading capabilities. The performance is impressive and the setup was straightforward. A must-have tool for anyone working with Snowflake databases!

    Avatar
    user_MNKEPF9R
    2025-04-23

    I've been using the mcp-snowflake-reader-ts developed by fnf-deepHeading, and it has dramatically streamlined my workflow with Snowflake datasets. The seamless integration, precise data querying, and user-friendly interface make it an invaluable tool for anyone working with large data sets. Plus, the support and documentation are top-notch, ensuring you get the most out of this application. Highly recommended for data professionals!

    Avatar
    user_9L2QT0Rt
    2025-04-23

    I've been utilizing mcp-snowflake-reader-ts by fnf-deepHeading for my data integration needs and it has been phenomenal! The seamless integration with Snowflake databases and the efficiency in data processing make it a must-have tool for any developer. Easy to implement and highly effective. Highly recommend!

    Avatar
    user_VQKf4yB0
    2025-04-23

    The mcp-snowflake-reader-ts by fnf-deepHeading is an exceptional tool for working with Snowflake data warehouses. It provides seamless integration and efficient data reading capabilities. As an avid user, I appreciate its robust features and user-friendly design. Highly recommended for anyone dealing with Snowflake!

    Avatar
    user_Rv2X0jsL
    2025-04-23

    As a dedicated user of mcp applications, I found mcp-snowflake-reader-ts particularly impressive. The intuitive interface and seamless integration with Snowflake make data querying and management a breeze. The author, fnf-deepHeading, has done a fantastic job in ensuring reliability and ease of use. Highly recommended for anyone looking to enhance their data operations with Snowflake.

    Avatar
    user_FeWmIjv6
    2025-04-23

    The mcp-snowflake-reader-ts by fnf-deepHeading is an exceptional tool for anyone working with Snowflake. It is incredibly efficient and user-friendly, allowing seamless integration and data reading capabilities. Its performance is outstanding, making data processing tasks significantly easier. Highly recommended for any developer looking for a reliable Snowflake reader.