focus_mcp_data

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

  • The MCP server provides a Discord server link for contact and support.

  • The MCP server provides a WeChat QR code for contact and support with Datafocus.

포커스 데이터 MCP 서버 [中文]

모델 컨텍스트 프로토콜(MCP) 서버를 통해 인공지능 비서가 데이터 결과를 직접 쿼리할 수 있습니다. 사용자는 DataFocus에서 자연어를 사용하여 데이터 결과를 얻을 수 있습니다.

특징

  • DataFocus에 등록하여 애플리케이션 공간을 열고 분석할 데이터 테이블을 가져오거나 직접 연결하세요.
  • Datafocus 데이터 테이블 초기화 대화 상자 선택
  • 자연어 데이터 수집 결과

필수 조건

  • jdk 23 이상. jdk 다운로드
  • Gradle 8.12 이상. Gradle을 다운로드하세요.
  • Datafocus를 등록하여 베어러 토큰을 얻으세요:
    1. Datafocus 에 계정을 등록하세요
    2. 신청서를 작성하세요
    3. 신청서를 입력하세요
    4. 관리자 -> 인터페이스 인증 -> 베어러 토큰 -> 새 베어러 토큰

설치

  1. 이 저장소를 복제하세요:

지엑스피1

  1. 서버를 빌드하세요:
gradle clean gradle bootJar The jar path: build/libs/focus_mcp_data.jar

MCP 구성

MCP 설정 파일(일반적으로 ~/AppData/Roaming/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json 에 위치)에 서버를 추가합니다.

{ "mcpServers": { "focus_mcp_data": { "command": "java", "args": [ "-jar", "path/to/focus_mcp_data/focus_mcp_data.jar" ], "autoApprove": [ "tableList", "gptText2DataInit", "gptText2DataData" ] } } }

사용 가능한 도구

1. 테이블리스트

datafocus에서 테이블 목록을 가져옵니다.

매개변수:

  • name (선택 사항): 필터링할 테이블 이름
  • bearer (필수): bearer 토큰

예:

{ "name": "test", "bearer": "ZTllYzAzZjM2YzA3NDA0ZGE3ZjguNDJhNDjNGU4NzkyYjY1OTY0YzUxYWU5NmU=" }

2. gptText2DataInit

대화를 초기화합니다.

매개변수:

  • names (필수): 선택된 테이블 이름
  • bearer (필수): bearer 토큰
  • language (선택 사항): 언어 ['영어','중국어']

예:

{ "names": [ "test1", "test2" ], "bearer": "ZTllYzAzZjM2YzA3NDA0ZGE3ZjguNDJhNDjNGU4NzkyYjY1OTY0YzUxYWU5NmU=" }

3. gptText2DataData

데이터 결과를 쿼리합니다.

매개변수:

  • chatId (필수): 채팅 ID
  • input (필수): 자연어
  • bearer (필수): bearer 토큰

예:

{ "chatId": "03975af5de4b4562938a985403f206d4", "input": "max(age)", "bearer": "ZTllYzAzZjM2YzA3NDA0ZGE3ZjguNDJhNDjNGU4NzkyYjY1OTY0YzUxYWU5NmU=" }

응답 형식

모든 도구는 다음 형식으로 응답을 반환합니다.

{ "errCode": 0, "exception": "", "msgParams": null, "promptMsg": null, "success": true, "data": { } }

Visual Studio Code Cline 샘플

  1. vsCode에 cline 플러그인 설치
  2. mcp 서버 구성
  3. 사용
    1. 테이블 목록 가져오기
    2. 대화 초기화
    3. 질문: 연봉은 얼마인가요?

연락하다:

https://discord.gg/mFa3yeq9

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

DataFocus의 지능형 데이터 쿼리 플러그인은 여러 라운드의 대화를 지원하며 플러그 앤 플레이 방식의 ChatBI 기능을 제공합니다.

  1. Features
    1. Prerequisites
      1. Installation
        1. MCP Configuration
          1. Available Tools
            1. 1. tableList
            2. 2. gptText2DataInit
            3. 3. gptText2DataData
          2. Response Format
            1. Visual Studio Code Cline Sample
              1. Contact:
                ID: z91tsdqkew