ue-angelscript-mcp

ue-angelscript-mcp

MCP server for Unreal Engine Angelscript development, providing documentation lookup, script file management, test running, and editor interaction through MCP-compatible clients like Claude Code.

Category
访问服务器

README

ue-angelscript-mcp

MCP server for Unreal Engine Angelscript development. Provides documentation lookup, script file management, and test running through Claude Code or any MCP-compatible client.

Built for the UE-AS engine fork by Hazelight Studios.

Tools

Tool Description Requires
as_get_context Query AS documentation by category or keyword Nothing
as_list_scripts List .as files in project script directories Project path
as_read_script Read a script file with optional line range Project path
as_search_scripts Regex search across all .as files Project path
as_find_cpp_binding Grep engine C++ source for Angelscript binds (e.g. METHOD, FUNC) Engine path
as_check_script_errors Check the latest Unreal Engine log for script compilation errors Project path
as_scaffold Generate idiomatic boilerplate for AS classes (Actors, Widgets, etc.) Nothing
as_scan_definitions Parse a script file for AST definitions (classes, structs, functions) Project path
as_find_usages Search across all .as files for usages of an identifier Project path
as_run_tests Run Angelscript unit tests via commandlet Project path + editor binary
as_build_engine Trigger UnrealBuildTool to compile the project or engine Engine path
as_task_status Check the status of a running background task Nothing
as_task_list List all background tasks Nothing
as_editor_status Ping the Python Editor Bridge Editor Bridge
as_get_level_actors Get all actors in the current level Editor Bridge
as_execute_python Execute arbitrary Python code inside the Editor Editor Bridge
as_execute_snippet Compile and execute a snippet of Angelscript in the Editor Editor Bridge
as_spawn_actor Spawn an actor from a class path at a location Editor Bridge
as_focus_viewport Focus the Editor camera on an actor or location Editor Bridge
as_get_script_roots List script root directories Nothing (enhanced with editor)
as_project_info Project overview with configuration status Nothing

Install

git clone https://github.com/azereki/ue-angelscript-mcp.git
cd ue-angelscript-mcp
npm install
npm link

npm install automatically builds via the prepare script.

Configure

Add to your project's .mcp.json:

{
  "mcpServers": {
    "ue-angelscript": {
      "command": "ue-angelscript-mcp"
    }
  }
}

That's it. The server auto-detects your project from the working directory.

Auto-detection

The server walks upward from cwd to find your project:

  1. Game project — directory containing a .uproject file
  2. Engine source tree — directory containing Engine/Plugins/Angelscript/

Once the project root is found, the editor binary is located automatically at Engine/Binaries/{platform}/UnrealEditor-Cmd.

Environment variable overrides

For non-standard layouts, set these in the .mcp.json env block or your shell:

Variable Description
UE_AS_PROJECT_PATH Path to UE project root
UE_AS_EDITOR_CMD Path to UnrealEditor-Cmd binary
UE_AS_EXTRA_SCRIPT_ROOTS Additional script directories (semicolon-separated)

Example with overrides:

{
  "mcpServers": {
    "ue-angelscript": {
      "command": "ue-angelscript-mcp",
      "env": {
        "UE_AS_PROJECT_PATH": "/path/to/my/project",
        "UE_AS_EXTRA_SCRIPT_ROOTS": "/shared/scripts;/mods/scripts"
      }
    }
  }
}

Documentation categories

as_get_context organizes 2,700+ lines of bundled reference docs into searchable categories:

Category Covers
scripting_basics Actors, components, UCLASS, UFUNCTION, BeginPlay
language_fundamentals Types, containers, handles, casting, lambdas
properties_events UPROPERTY specifiers, delegates, timers, input
networking Replication, RPCs, net roles, authority
testing Unit tests, integration tests, latent commands
bindings C++ bindings, FUNC/METHOD macros, ScriptMixin
advanced_features Hot reload, preprocessor, GAS, subsystems

Call with no arguments to see all categories. Use category for browsing or query for keyword search.

Development

npm run dev     # Watch mode (recompiles on save)
npm run build   # One-time build
npm start       # Run the server directly

Test interactively with MCP Inspector:

npx @modelcontextprotocol/inspector node build/index.js

Attribution & Acknowledgments

This project incorporates architectural patterns (specifically the Async Task Queue and the Python Editor Bridge) adapted from the excellent UE5 MCP Server.

See THIRD-PARTY-NOTICES.txt for full license details.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选