goldsrc-query-mcp
Provides tools to query GoldSrc game servers (including Counter-Strike 1.6) for server information, player lists, rules, latency, and to send RCON commands.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@goldsrc-query-mcpWhat map is 192.168.1.10:27015 running?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
goldsrc-query-mcp
An MCP server that lets AI assistants query GoldSrc game servers (Half-Life, Counter-Strike 1.6, etc.) using the goldsrc-query library.
Tools
Tool | Description |
| Round-trip latency in milliseconds |
| Server name, map, player counts, VAC status, and more |
| Current player list with names, scores, and time in-game |
| All server cvars |
| Server info, player list, and rules in one call |
| Send a single RCON command and return the response |
| Send multiple RCON commands over a single authenticated connection |
Related MCP server: mc-rcon-mcp
Installation
npx goldsrc-query-mcpOr install globally:
npm install -g goldsrc-query-mcpRequirements: Node.js >=20.12.0
Usage
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"goldsrc": {
"command": "npx",
"args": ["goldsrc-query-mcp"]
}
}
}Example prompts
"What map is
192.168.1.10:27015running?""How many players are on the server at
cs.example.com?""Show me all the cvars on my server."
"Run
sv_gravity 800on my server at192.168.1.10with passwordsecret.""Kick all bots and change the map to de_dust2 on my server."
Tool reference
All tools accept address (required), port (default 27015), and timeout (default 3000ms).
ping
Returns the round-trip latency in milliseconds.
get_server_info
Returns server metadata as JSON - name, map, player counts, VAC status, server type, environment, and optional EDF fields.
get_players
Returns the player list as JSON - index, name, score, and duration (seconds in-game) per player.
get_rules
Returns all server cvars as JSON - total count and a list of { name, value } pairs.
get_all
Returns server info, player list, and rules in a single call. Use this instead of calling get_server_info, get_players, and get_rules separately.
send_rcon
address: "192.168.1.10"
password: "your_rcon_password"
command: "status"Sends a single RCON command and returns the server response.
send_rcon_batch
address: "192.168.1.10"
password: "your_rcon_password"
commands: ["sv_gravity 800", "mp_friendlyfire 1", "changelevel de_dust2"]Sends multiple RCON commands over a single authenticated connection. Returns an array of { command, response } pairs. Use instead of send_rcon when running more than one command.
Development
npm run build # compile TypeScript to dist/
npm run dev # compile in watch mode
npm test # run tests
npm run check # lint + format (auto-fix)
npm run check:ci # lint + format check (no writes, runs in CI)Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceIntegrates with Steam Web API to enable querying user profiles, game libraries, store data, and community features like reviews and workshop items.16MIT
- AlicenseAqualityDmaintenanceEnables Minecraft server management via RCON: execute commands, list players, get server info, manage whitelist and operators.91MIT
- AlicenseAqualityAmaintenanceEnables interaction with Steam: search games, get store details, reviews, prices, discounts, news, and player profiles, libraries, and achievements via the Steam Web API.254424MIT
- FlicenseAqualityCmaintenanceEnables control and inspection of a Factorio 2.0 server via RCON, with tools for administration, player management, game state queries, and Lua execution.19
Related MCP Connectors
Steam Web API: profiles, owned games, achievements, app news, player counts.
Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.
Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/omar-hindawi98/goldsrc-query-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server