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. GitHubコード検索
      2. Greybel-JSトランスパイル
      3. GreyScript API検証
      4. スクリプト生成
    4. 発達
      1. ソースから構築
      2. 開発モードで実行
    5. ライセンス
      1. 謝辞

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          An unofficial JavaScript SDK to create customized servers for the Model Context Protocol, allowing definition of prompts, resources, and tools for tailored interactions.
          Last updated -
          6
          2
          JavaScript
          Apache 2.0
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server for Unity game development that enables users to manage projects, edit scenes, create prefabs, and generate scripts through natural language integration with Smithery.ai.
          Last updated -
          TypeScript
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that integrates Figma design files with AI coding tools like Cursor, Windsurf, and Cline, allowing AI tools to access and understand Figma design data for generating more accurate code.
          Last updated -
          124
          6
          TypeScript
          MIT License
          • Linux
          • Apple
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables IDEs like Cursor and Windsurf to analyze large codebases using Gemini's extensive context window.
          Last updated -
          17
          Python
          MIT License

        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