MCP.so
登录

CS2 RCON MCP Server

@v9rt3x

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

v9rt3x

关于 CS2 RCON MCP Server

CS2 RCON MCP - Server management tool for Counter-Strike 2

CS2 RCON MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "cs2-rcon-mcp": {
      "command": "docker",
      "args": [
        "pull",
        "ghcr.io/v9rt3x/cs2-rcon-mcp:latest"
      ]
    }
  }
}

CS2 RCON MCP Server 工具

5

Execute any RCON command

Get current server status

List all workshop maps on the server

Host a workshop map by its ID

Change the map to a given workshop map

概览

What is CS2 RCON MCP?

It is a Model Context Protocol server for managing CS2 game servers via RCON, enabling remote control and monitoring through a standardized protocol using natural language.

How to use CS2 RCON MCP?

Install via Docker with environment variables HOST, SERVER_PORT, and RCON_PASSWORD. Run the container and connect from a client (VS Code or Cursor) using the SSE URL http://localhost:8080/cs2server/sse. Then issue natural‑language prompts to manage your server.

Key features of CS2 RCON MCP

  • Manage your CS2 server in natural language
  • Execute any RCON command
  • List, host, and change workshop maps
  • SSE‑based communication
  • Docker support

Use cases of CS2 RCON MCP

  • Add bots and start a competitive match on a specific map
  • Check server status, player count, and current map
  • Change to a workshop map by ID
  • Host a workshop map for testing or events

常见问题

1

What tools are available?

Five tools: `rcon`, `status`, `list_workshop_maps`, `host_workshop_map`, and `workshop_changelevel`.

2

What are the runtime requirements?

Python 3.8+ and Docker (recommended). The server runs as a container.

3

How do I store sensitive credentials?

Use a `.server-env` file containing `HOST`, `SERVER_PORT`, and `RCON_PASSWORD`, then pass it to Docker with `--env-file`.

4

What transport does the server use?

HTTP with Server‑Sent Events (SSE) at the endpoint `/cs2server/sse`.

5

How is authentication handled?

Authentication is via the RCON password set in the `RCON_PASSWORD` environment variable.

评论

其他 分类下的更多 MCP 服务器