Skip to main content
Glama
OTAKU-Wang

highgo-mcp

by OTAKU-Wang

Highgo MCP Server (瀚高数据库 MCP 服务)

이것은 Model Context Protocol (MCP)를 기반으로 구현된 Highgo 데이터베이스(Highgo Database) 서비스입니다. AI 에이전트(예: Claude Desktop, Gemini CLI 등)가 Highgo 데이터베이스의 데이터에 직접 연결하고, 쿼리하며, 분석할 수 있도록 합니다.

특징

  • SQL 실행: Highgo 고유의 SM3 암호화 및 구문을 포함하여 임의의 SQL 문 실행을 지원합니다.

  • Schema 관리: search_path를 통해 작업 스키마를 동적으로 전환할 수 있습니다.

  • 메타데이터 쿼리: 데이터베이스 내의 테이블 구조, 필드 유형 및 주석을 빠르게 나열합니다.

  • 독립 배포: 전역 설치 없이 npx를 통해 직접 실행할 수 있습니다.

Related MCP server: PostgreSQL MCP Server

빠른 시작

1. 사전 요구 사항

  • Node.js 설치됨 (v18+ 권장)

  • Highgo 데이터베이스 연결 정보

2. 데이터베이스 구성

프로젝트 루트 디렉토리에 .env 파일을 생성하거나 실행 환경에서 다음 환경 변수를 설정하십시오:

HIGHGO_HOST=172.22.*.*
HIGHGO_PORT=5866
HIGHGO_USER=用户名
HIGHGO_PASSWORD=您的密码
HIGHGO_DATABASE=数据库名

3. npx를 사용하여 실행 (권장)

로컬에서 개발 중인 경우 프로젝트 디렉토리에서 직접 실행할 수 있습니다:

npx .

NPM에 게시했거나 Git 종속성으로 참조하는 경우 원격으로 실행할 수 있습니다:

npx highgo-mcp-server

AI 에이전트 구성

Claude Desktop

claude_desktop_config.json 파일을 수정하십시오:

{
  "mcpServers": {
    "highgo": {
      "command": "npx",
      "args": ["-y", "/path/to/highgo-mcp"],
      "env": {
        "HIGHGO_HOST": "172.22.*.*",
        "HIGHGO_USER": "用户名",
        "HIGHGO_PASSWORD": "您的密码",
        "HIGHGO_DATABASE": "数据库名"
      }
    }
  }
}

Gemini CLI

구성 파일에 유사한 항목을 추가하십시오.

사용 가능한 도구 (Tools)

  1. query: SQL 쿼리를 실행합니다.

    • 매개변수: sql (필수), search_path (선택).

  2. list_tables: 지정된 스키마 아래의 모든 테이블을 확인합니다.

    • 매개변수: schema (기본값 "public").

  3. describe_table: 테이블의 상세 열 정보를 확인합니다.

    • 매개변수: table_name (필수), schema (기본값 "public").

로컬 개발

# 安装依赖
npm install

# 本地链接以便测试
npm link

# 直接运行
node bin/mcp-server.js

라이선스

ISC

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to safely interact with PostgreSQL databases, perform queries, inspect schemas, and analyze query performance.
    2
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to query and explore PostgreSQL databases with tools for executing SQL queries, listing tables, and describing table structures.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to securely query and modify PostgreSQL databases, supporting SQL queries, table management, and schema inspection.
    -