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 に対してコードを検証します

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

インストール

前提条件

  • 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
-
license - not tested
-
quality - not tested

Related MCP Servers

  • -
    security
    -
    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.
  • A
    security
    -
    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
    95
    70
    MIT License
    • Apple
    • Linux
  • -
    security
    -
    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 -
    • Linux
    • Apple
  • A
    security
    -
    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
    14
    1
    • 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