gmod-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SFTP_HOST | No | SSH server hostname for SFTP connections | |
| SFTP_PORT | No | SSH server port for SFTP connections | 22 |
| SFTP_USER | No | SSH username for SFTP connections | |
| SFTP_PASSWORD | No | SSH password for SFTP connections |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gmod_connectC | Подключиться к Garry's Mod серверу через RCON |
| gmod_execute_rconC | Выполнить RCON команду на сервере Garry's Mod |
| gmod_execute_luaA | Выполнить Lua код на сервере Garry's Mod. Код разбивается по точке с запятой (;) на отдельные lua_run вызовы. ВАЖНО: local переменные НЕ сохраняются между вызовами! Используйте глобальные переменные (_G.var или просто var = ...) для передачи данных между частями. Лимит ~180 символов на statement. |
| gmod_disconnectB | Отключиться от сервера Garry's Mod |
| gmod_screenshotA | [Windows only] Сделать скриншот окна Garry's Mod. Возвращает PNG изображение. Окно будет автоматически развёрнуто и выведено на передний план. Требуется запущенная игра. |
| gmod_zoomA | [Windows only] Скриншот + зум определённой области окна Garry's Mod. Координаты в процентах (0-100) от размера окна или в пикселях (если >100). Полезно для чтения мелкого текста, UI элементов, консоли. |
| gmod_focus_windowA | [Windows only] Развернуть и вывести окно Garry's Mod на передний план. Требуется запущенная игра. |
| gmod_send_keysA | [Windows only] Отправить нажатия клавиш в окно Garry's Mod. Формат SendKeys: {ENTER}, {ESCAPE}, {TAB}, + (Shift), ^ (Ctrl), % (Alt). Пример: 'status{ENTER}' |
| gmod_console_commandA | [Windows only] [Experimental] Выполнить команду через консоль Garry's Mod. Фокусирует окно, открывает консоль (~), вводит команду, Enter, закрывает. ВАЖНО: может работать некорректно с русской раскладкой. Для серверных команд лучше использовать gmod_execute_rcon. |
| gmod_read_consoleA | [Windows only] Скриншот клиентской консоли Garry's Mod. Автоматически открывает консоль (~), делает скриншот и закрывает. Возвращает PNG изображение с содержимым консоли. |
| sftp_connectC | Подключиться к серверу по SFTP для управления файлами |
| sftp_read_fileC | Прочитать файл с удалённого сервера через SFTP |
| sftp_write_fileC | Записать/загрузить файл на удалённый сервер через SFTP |
| sftp_list_dirC | Список файлов в директории на удалённом сервере через SFTP |
| sftp_deleteB | Удалить файл на удалённом сервере через SFTP |
| sftp_disconnectB | Отключиться от SFTP сервера |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Most tools target clearly distinct actions (connect, execute RCON, execute Lua, screenshot, SFTP read/write). There is some overlap among gmod_execute_rcon, gmod_execute_lua, and gmod_console_command, and among the screenshot/console-reading tools, but descriptions clarify the differences well enough.
All tool names follow a consistent snake_case verb_noun pattern, differentiated only by the gmod_ and sftp_ subsystem prefixes. The convention is predictable across both groups.
16 tools across two distinct subsystems (GMod control and SFTP file management) is reasonable, though a few Windows-only and experimental tools make the set slightly heavy. Each tool appears to earn its place.
Core lifecycle operations are covered for both domains: GMod connect/execute/disconnect/screenshot/input, and SFTP connect/read/write/list/delete/disconnect. Minor gaps exist (SFTP mkdir, rename, move; direct player/server info), but agents can work around them via RCON.