ClickHouse MCP Server

MIT License
1
  • Linux
  • Apple

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables seamless integration with ClickHouse databases, allowing listing of databases and tables, retrieving table schemas, and executing SELECT queries against ClickHouse data.

ClickHouse MCP 서버

이 프로젝트는 ClickHouse를 위한 MCP(Model Context Protocol) 서버를 구현하여 ClickHouse 데이터베이스와 대규모 언어 모델(LLM) 및 기타 AI 애플리케이션을 원활하게 통합할 수 있도록 합니다.

특징

  • ClickHouse 데이터베이스 및 테이블을 리소스로 나열합니다.
  • 테이블 스키마 검색
  • ClickHouse 데이터베이스에서 SELECT 쿼리 실행
  • MCP 프로토콜을 사용한 안전하고 효율적인 통신

요구 사항

  • 파이썬 3.10+
  • ClickHouse 서버

설치

  1. 저장소를 복제합니다.지엑스피1
  2. 필요한 패키지를 설치하세요:
    uv sync --all-extras
  3. 환경 변수에서 ClickHouse 연결 세부 정보를 설정하거나 server.py 에서 get_clickhouse_client 함수를 업데이트합니다.

용법

서버를 실행합니다:

python clickhouse_mcp_server/server.py

서버가 시작되어 MCP 요청을 수신합니다.

테스트

pytest를 사용하여 테스트를 실행합니다.

pytest tests/

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다.

-
security - not tested
A
license - permissive license
-
quality - not tested

대규모 언어 모델이 ClickHouse 데이터베이스와 원활하게 상호 작용하여 리소스 목록, 스키마 검색 및 쿼리 실행을 지원할 수 있는 모델 컨텍스트 프로토콜 서버입니다.

  1. Features
    1. Requirements
      1. Installation
        1. Usage
          1. Testing
            1. Contributing
              1. License
                ID: bdw529ct5w