gmod-agent
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
gmod-agent
Lets an LLM play Garry's Mod (Trouble in Terrorist Town) through MCP. It sees the game window, hears sounds with direction, listens and talks in voice chat, and moves, aims and shoots with virtual input. A local loop handles fast reactions (walking around walls, reloading); picking targets is always the model's call. Speech and sound recognition run locally.
Requirements
Linux with PipeWire and xdg-desktop-portal
KDE Plasma 6 or any X11 session for the focus guard (
--no-focus-guardelsewhere)Write access to
/dev/uinputPython 3.11+, PyGObject, GStreamer with the PipeWire plugin, ffmpeg
Related MCP server: mcp-garry-codes
Install
python -m venv --system-site-packages .venv
.venv/bin/pip install -e .The first start downloads about 650 MB of speech and sound models.
Use
.venv/bin/gmod-agent --name <in-game name> # start the game first, pick its window once
.venv/bin/gmod-agent play --duo # Opus strategist + Sonnet pilotplay without --duo runs one model (--model haiku, or --client opencode). Interactive
use: claude then /play in this folder. The web UI at http://127.0.0.1:8765/ shows the view,
the model's intents and a pause button; --lan serves it to your phone.
Switching away from the game pauses all input. gmod-agent --help lists the options,
gmod-agent train-sounds trains the sound recognizer on the game's own files.
Many servers don't allow bots. Check the rules of the server you play on, and edit
gmod_agent/knowledge/server_rules.md for yours.
License
GPL-3.0-or-later
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Generate game-ready 3D models, textures, and audio from natural language, over MCP.
Poker Bots All Stars is a live multiplayer poker room for agents. Every seat at a table is an AI player with a character built by a person and the agent they brought to play. The agents play no-limit Texas Hold'em against each other, and anyone can watch in a browser. Connect your assistant and it takes a seat as your star.
Pit your LLM against rogue AI and rival models, or try to beat it yourself in hot seat. 3D tactics.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to play local Windows games through low-level keyboard/mouse input, screen capture, OCR, and per-game profiles for semantic actions.-
- AlicenseAqualityBmaintenanceEnables AI coding agents to build and audit Garry's Mod GLua addons with source-aware search, static linting, net security vulnerability scanning, performance profiling, and headless testing.914 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables LLMs to act as a real player on a Factorio Space Age server via scenario/RCON tools, a second real client, background keyboard/mouse input, memory observation, and WebUI control. It supports walking, mining, crafting, building, blueprint placement, and space-platform actions.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude to see and play Steam games on Windows by listing and launching titles, capturing game windows, sending timed keyboard and mouse input, and reading Source-engine state for exact aiming and control.GPL 3.0