Skip to main content
Glama

Grey Hack MCP Server

グレーハックMCPサーバー

Cursor IDE およびその他の MCP 互換ツールで動作するように設計された、Grey Hack ゲーム開発用の Model Context Protocol (MCP) サーバー。

特徴

  • GitHub コード検索: GitHub リポジトリから Grey Hack のコード例を検索
  • Greybel-JSトランスパイル: GreyScriptをJavaScriptに変換する
  • GreyScript API 検証: 公式 Grey Hack API に対してコードを検証します
  • スクリプト生成: 一般的なゲームタスクのテンプレートスクリプトを生成する

インストール

前提条件

  • Node.js 18以上がインストールされている
  • カーソルIDEまたは他のMCP互換エディタ
  • GitHub APIトークン(コード検索機能用)

NPMからインストール

npm install -g @chromewillow/greyhack-mcp-server

手動インストール

リポジトリをクローンし、依存関係をインストールします。

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

ライセンス

マサチューセッツ工科大学

謝辞

このプロジェクトでは以下を使用します:

  • モデルコンテキストプロトコル TypeScript SDK
  • Smithery GitHub クライアント
  • HTTPリクエスト用のAxios
-
security - not tested
F
license - not found
-
quality - not tested

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.

Cursor IDE と併用すると、GitHub コード検索、GreyScript 検証、スクリプト生成、および Greybel-JS トランスパイル機能を提供することで、Grey Hack ゲーム開発を強化するモデル コンテキスト プロトコル サーバーです。

  1. 特徴
    1. インストール
      1. 前提条件
      2. NPMからインストール
      3. 手動インストール
    2. カーソルIDEでの使用
      1. 設定ファイルの使用
      2. カーソルの手動設定
    3. 利用可能なツール
      1. 1. GitHubコード検索
      2. 2. Greybel-JSトランスパイル
      3. 3. GreyScript API検証
      4. 4. スクリプト生成
    4. 発達
      1. ソースから構築
      2. 開発モードで実行
    5. ライセンス
      1. 謝辞

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that integrates with Cursor IDE, providing real-time communication, modern web dashboards, and extensible tools via SSE and WebSocket connections.
          Last updated -
          693
          1
          Python
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol (MCP) server for Cursor IDE that simplifies the installation and configuration of other MCP servers.
          Last updated -
          3
          98
          67
          JavaScript
          MIT License
          • Apple
          • Linux
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables seamless integration between Cursor IDE and JIRA, allowing users to retrieve issues, execute JQL searches, and log work through natural language interactions.
          Last updated -
          Python
          • Linux
          • Apple
        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol server that integrates with Cursor IDE to provide real-time git-spice documentation search capability.
          Last updated -
          1
          676
          1
          TypeScript
          • Linux
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/chromewillow/greyhack-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server