Grey Hack MCP Server

by chromewillow
Verified

Integrations

  • Provides GitHub code search functionality to find Grey Hack code examples from GitHub repositories

  • Enables transpilation of GreyScript code to JavaScript through the Greybel-JS transpilation tool

  • Requires Node.js 18+ for server operation and provides integration with the Grey Hack game development environment

그레이 해킹 MCP 서버

Cursor IDE 및 기타 MCP 호환 도구와 함께 작동하도록 설계된 Grey Hack 게임 개발을 위한 MCP(모델 컨텍스트 프로토콜) 서버입니다.

특징

  • GitHub 코드 검색 : GitHub 저장소에서 Grey Hack 코드 예제 찾기
  • Greybel-JS 변환 : GreyScript를 JavaScript로 변환
  • GreyScript API 검증 : 공식 Grey Hack API에 대한 코드 검증
  • 스크립트 생성 : 일반적인 게임 작업에 대한 템플릿 스크립트 생성

설치

필수 조건

  • Node.js 18+ 설치됨
  • 커서 IDE 또는 다른 MCP 호환 편집기
  • GitHub API 토큰(코드 검색 기능용)

NPM에서 설치

지엑스피1

수동 설치

저장소를 복제하고 종속성을 설치합니다.

git clone https://github.com/chromewillow/greyhack-mcp-server.git cd greyhack-mcp-server npm install npm run build

커서 IDE와 함께 사용

구성 파일 사용

작업 공간에 다음 내용으로 .cursor/mcp.json 파일을 만듭니다.

{ "mcpServers": { "@greyhack-mcp-server": { "command": "npx", "args": [ "-y", "@smithery/cli@latest", "run", "@chromewillow/greyhack-mcp-server", "--config", "{\"GITHUB_TOKEN\":\"your-github-token-here\"}" ] } } }

커서의 수동 구성

  1. 커서 설정 열기(Cmd/Ctrl + ,)
  2. 기능 → MCP로 이동
  3. "+ 새 MCP 서버 추가"를 클릭하세요
  4. 다음 세부 정보를 입력하세요.
    • 이름: greyhack-mcp-server
    • 명령어: npx
    • 인수: -y @smithery/cli@latest run @chromewillow/greyhack-mcp-server
    • 환경 변수: GITHUB_TOKEN=your-github-token-here

사용 가능한 도구

1. GitHub 코드 검색

GitHub에서 Grey Hack 코드 예제를 검색하세요:

Use the search_greyhack_code tool to find examples of port scanners in Grey Hack

2. Greybel-JS 번역

GreyScript 코드를 JavaScript로 변환:

Use the transpile_greyscript tool to convert this Grey Hack code to JavaScript: get_shell.host_computer.File("/home/user/test.txt")

3. GreyScript API 검증

Grey Hack API에 대해 코드를 검증하세요.

Use the validate_greyscript tool to check if this code is valid in Grey Hack 0.8.0: router = get_router ip = router.local_ip

4. 스크립트 생성

일반적인 게임 작업에 대한 템플릿 스크립트를 생성합니다.

Use the generate_greyhack_script tool to create a port scanner for Grey Hack 0.8.0

사용 가능한 스크립트 유형:

  • port_scanner : 네트워크 포트 스캐닝 유틸리티
  • password_cracker : 비밀번호 해독 도구
  • file_browser : 파일 탐색 및 조작 유틸리티
  • ssh_tool : SSH 연결 유틸리티
  • custom : 사용자 정의 스크립트 템플릿(설명 필요)

개발

소스에서 빌드

npm run build

개발 모드에서 실행

npm run dev

특허

MIT

감사의 말

이 프로젝트에서는 다음을 사용합니다.

  • 모델 컨텍스트 프로토콜 TypeScript SDK
  • Smithery GitHub 클라이언트
  • HTTP 요청을 위한 Axios
-
security - not tested
F
license - not found
-
quality - not tested

Cursor IDE와 함께 사용하면 GitHub 코드 검색, GreyScript 검증, 스크립트 생성, Greybel-JS 변환 기능을 제공하여 Grey Hack 게임 개발을 향상시키는 모델 컨텍스트 프로토콜 서버입니다.

  1. Features
    1. Installation
      1. Prerequisites
      2. Install from NPM
      3. Manual Installation
    2. Usage with Cursor IDE
      1. Using Configuration File
      2. Manual Configuration in Cursor
    3. Available Tools
      1. 1. GitHub Code Search
      2. 2. Greybel-JS Transpilation
      3. 3. GreyScript API Validation
      4. 4. Script Generation
    4. Development
      1. Building from Source
      2. Running in Development Mode
    5. License
      1. Acknowledgments

        Appeared in Searches

        ID: 64emdoj7fa