Skip to main content
Glama
angelscript-mcp

angelscript-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--rootNoProject root. Default: the current folder.
--lsp-pathNoThe angel_lsp executable.
--predefinedNoHost stub to use instead of the one in settings.json.
--rules-fileNoEngine rules file to use instead of the one in settings.json.
ANGELSCRIPT_LSP_PATHNoPath to the angel_lsp executable. The server finds angel_lsp in this order: --lsp-path, the ANGELSCRIPT_LSP_PATH variable, PATH, and a download of the release pinned in package.json.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

AngelScript language intelligence for .as scripts that run inside a host application (a game or app). Start with angelscript_project_info. Before calling any host function or type, look it up with angelscript_host_api; never invent one. Edit files with your own file tools, then run angelscript_check. These tools read files from disk and never write except angelscript_rename_symbol with apply=true. Name symbols as Namespace::Class::member. When a name is ambiguous, pass path/to/file.as:LINE.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
angelscript_project_infoA

Describe the AngelScript workspace: engine version, host API stub files, module entry points, include roots, rules file and setup warnings. Call this first in a project, before writing code. If a warning is returned and your task depends on the missing information, ask the user the question it carries instead of guessing; otherwise continue and mention the gap in your report.

angelscript_checkA

Compile-check .as files with the language server and list errors and warnings with 1-based line and column. It reads the files from disk, so call it after you edit. Omit paths to check every script in the workspace. The check knows the host API from the .as.predefined stubs, unlike the standalone CLI. Finish a task only when this reports no errors.

angelscript_host_apiA

Search the functions, types, methods and enums the host application registers, read from the .as.predefined stubs. Use it before calling any host function or type so you never invent an API. The query is a name or part of one, such as 'Spawn' or 'Game::Player'. Results show the exact declaration and its documentation; for a type, its members.

angelscript_find_symbolA

Find classes, functions, methods, fields and enums by name across the workspace scripts and the host stubs. Accepts a name or part of one ('Tick'), or a qualified path ('Player::Tick'). Returns where each is declared with its signature. Set include_body to read the source of script declarations. Prefer this to grepping when you know a symbol name.

angelscript_find_referencesA

List every place a symbol is used, grouped by file with the source line. Identify the symbol by name ('Player::Tick', 'Twice') or by 'path/to/file.as:LINE' when the name is ambiguous or overloaded. Use it before changing a signature.

angelscript_file_outlineA

List the classes, functions, methods and fields declared in one .as file, with signatures and line ranges. Read this instead of the whole file when you only need its structure.

angelscript_describe_symbolA

Show the signature, type and documentation of a symbol, and where it is declared. Works for script symbols and host API names. Use it to confirm how to call a function or what a field's type is. Overloads are all shown.

angelscript_rename_symbolA

Rename a script class, function, method or field everywhere it is used. By default this only previews the edits (apply=false). Set apply=true to write the files. Host API names cannot be renamed. Run angelscript_check afterwards.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 8 tools

Disambiguation4/5

Each tool has a distinct role within a coherent code-intelligence workflow (discover API → find symbol → describe → find references → rename → check). The only real soft spots are the overlap between angelscript_host_api, angelscript_find_symbol (which also searches host stubs) and angelscript_describe_symbol (which also resolves host API names), but the descriptions give clear guidance on which to prefer in each situation.

Naming Consistency5/5

Every tool follows the same `angelscript_<verb>_<noun>` snake_case convention (find_symbol, find_references, file_outline, describe_symbol, rename_symbol) with a consistent server prefix. No style mixing or vague one-word names.

Tool Count5/5

Eight tools is well within the sweet spot and each maps to a necessary operation in a scripting-language assistant. Nothing appears redundant or bolted on.

Completeness4/5

The surface covers workspace discovery, symbol search, cross-file references, structural outline, signature lookup, safe rename with preview/apply, and post-edit compile checks — the core lifecycle of an AgentScript workflow. Minor gaps exist around non-rename code actions (e.g. extract/introduce or generic multi-file edit application), but agents can work around these with file editing plus angelscript_check.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues