Grey Hack MCP 服务器
用于 Grey Hack 游戏开发的模型上下文协议 (MCP) 服务器,旨在与 Cursor IDE 和其他 MCP 兼容工具配合使用。
特征
GitHub 代码搜索:从 GitHub 存储库中查找 Grey Hack 代码示例
Greybel-JS 转译:将 GreyScript 转换为 JavaScript
GreyScript API 验证:根据官方 Grey Hack API 验证代码
脚本生成:生成常见游戏任务的模板脚本
安装
先决条件
已安装 Node.js 18+
Cursor IDE 或其他与 MCP 兼容的编辑器
GitHub API 令牌(用于代码搜索功能)
从 NPM 安装
手动安装
克隆存储库并安装依赖项:
与 Cursor IDE 一起使用
使用配置文件
在您的工作区中创建一个.cursor/mcp.json文件,其中包含以下内容:
光标中的手动配置
打开光标设置(Cmd/Ctrl + ,)
导航至功能 → MCP
点击“+ 添加新的 MCP 服务器”
输入以下详细信息:
名称:
greyhack-mcp-server命令:
npx参数:
-y @smithery/cli@latest run @chromewillow/greyhack-mcp-server环境变量:
GITHUB_TOKEN=your-github-token-here
可用工具
1. GitHub 代码搜索
在 GitHub 上搜索 Grey Hack 代码示例:
2. Greybel-JS 转译
将 GreyScript 代码转换为 JavaScript:
3. GreyScript API 验证
根据 Grey Hack API 验证您的代码:
4.脚本生成
生成常见游戏任务的模板脚本:
可用的脚本类型:
port_scanner:网络端口扫描实用程序password_cracker:密码破解工具file_browser:文件浏览和操作实用程序ssh_tool:SSH 连接实用程序custom:自定义脚本模板(需要描述)
发展
从源代码构建
以开发模式运行
执照
麻省理工学院
致谢
该项目使用:
模型上下文协议 TypeScript SDK
Smithery GitHub 客户端
用于 HTTP 请求的 Axios
This server cannot be installed
Related Resources
Related MCP Servers
- -security-license-qualityA Model Context Protocol server that integrates with Cursor IDE, providing real-time communication, modern web dashboards, and extensible tools via SSE and WebSocket connections.
- Asecurity-licenseAqualityA Model Context Protocol (MCP) server for Cursor IDE that simplifies the installation and configuration of other MCP servers.Last updated -39570MIT License
- -security-license-qualityA 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 -
- Asecurity-licenseAqualityA Model Context Protocol server that integrates with Cursor IDE to provide real-time git-spice documentation search capability.Last updated -1141