Skip to main content
Glama

グレーハックMCPサーバー

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

特徴

  • GitHub コード検索: GitHub リポジトリから Grey Hack のコード例を検索

  • Greybel-JSトランスパイル: GreyScriptをJavaScriptに変換する

  • GreyScript API 検証: 公式 Grey Hack API に対してコードを検証します

  • スクリプト生成: 一般的なゲームタスクのテンプレートスクリプトを生成する

Related MCP server: CodeAlive MCP

インストール

前提条件

  • 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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Appeared in Searches

Latest Blog Posts

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