StarRocks MCP 서버
StarRocks 데이터베이스와 상호 작용하기 위한 모델 제어 프로토콜(MCP) 서버입니다. 이 서버는 AI 모델이 정의된 도구 세트를 통해 StarRocks 데이터베이스를 쿼리하고 조작할 수 있는 표준화된 인터페이스를 제공합니다.
개요
StarRocks MCP 서버를 사용하면 AI 모델이 다음을 수행할 수 있습니다.
- StarRocks 데이터베이스에서 SELECT 쿼리 실행
- 사용 가능한 테이블 나열
- 테이블 스키마 설명
- 새 테이블 만들기(읽기 전용 모드가 아닌 경우)
- INSERT, UPDATE, DELETE와 같은 쓰기 작업 실행(읽기 전용 모드가 아닌 경우)
설치
필수 조건
- 파이썬 3.8 이상
- StarRocks 데이터베이스 인스턴스
- SQLAlchemy
- MCP 파이썬 라이브러리
소스에서 설치
지엑스피1
Smithery에서 설치
npm에서 @smithery/sdk @modelcontextprotocol/sdk를 설치합니다.
MCP Inspector 사용
npx @modelcontextprotocol/inspector uv --directory ~/mcp-server-starrocks mcp-server-starrocks를 실행합니다.
용법
서버 시작
명령줄 인수:
--host
: StarRocks 서버 호스트(필수)--port
: StarRocks 서버 포트(기본값: 9030)--user
: StarRocks 사용자 이름(필수)--database
: StarRocks 데이터베이스 이름(필수)--password
: StarRocks 비밀번호(필요한 경우)--readonly
: 서버를 읽기 전용 모드로 실행합니다(선택 사항)
사용 가능한 도구
서버는 다음과 같은 도구를 제공합니다.
읽기 전용 도구:
read-query
: StarRocks 데이터베이스에서 SELECT 쿼리를 실행합니다.list-tables
: StarRocks 데이터베이스의 모든 테이블을 나열합니다.describe-table
: 특정 테이블의 스키마를 설명합니다.
쓰기 도구(읽기 전용 모드가 아닐 때 사용 가능):
write-query
: INSERT, UPDATE 또는 DELETE 쿼리를 실행합니다.create-table
: StarRocks 데이터베이스에 새 테이블을 만듭니다.
예시
테이블 나열
SELECT 쿼리 실행
테이블 설명
(읽기 전용 모드가 아닌 경우) 테이블 생성
특허
기여하다
기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.
Related MCP Servers
- -securityAlicense-qualityA simple MCP server that can enable MCP clients to query Bluesky instances.Last updated -27MIT License
- -securityFlicense-qualityAn MCP server that enables searching and retrieving content from Confluence documentation systems, providing capabilities for both document searches and full page content retrieval.Last updated -1
- -securityAlicense-qualityStores metadata for MCP servers and provides smart search capabilities, allowing users to find appropriate MCP servers for their queries and route requests to the most suitable server.Last updated -10MIT License
- AsecurityAlicenseAqualityAn MCP server that allows searching for and retrieving information about Model Context Protocol servers registered on the MCP Hub.Last updated -11MIT License