Development · MODEL CONTEXT PROTOCOL

v9rt3x cs2 rcon mcp

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

WHAT IT CONNECTS

v9rt3x cs2 rcon mcp 为 AI Agent 提供什么

  • Manage your CS2 server in natural language
  • RCON command execution
  • Manage workshop maps (host, list, change) - [Explore Workshop Maps](https://steamcommunity.com/app/730/workshop/)
  • Server status monitoring
  • SSE-based communication
  • Docker support
  • `HOST`: CS2 server IP
  • `SERVER_PORT`: CS2 server port
  • `RCON_PASSWORD`: RCON password
  • **Directly in the command**:
  • **Using a `.server-env` file**:
  • **Start the MCP Server**: Ensure that your MCP server is running before attempting to connect from VS Code.
  • **Open Visual Studio Code**: Launch VS Code and ensure that you have the GitHub Copilot extension installed and configured.
  • **Configure GitHub Copilot**:
  • Change the mode from "Ask" to "Agent" mode.
  • **Add MCP Server Configuration**:
  • Click on the toolbox icon in the upper left corner of the Copilot prompt.
  • Select "Add MCP Server" and choose the option for **HTTP - server-sent events**.
  • **Enter the Server URL**:
  • For the URL, input: `http://localhost:8080/cs2server/sse`. This is the endpoint for the MCP server's SSE connection.
  • Start the MCP server
  • Configure Cursor's MCP settings by creating or updating `~/.cursor/mcp.json`:
  • In Cursor, open the MCP panel (usually in the sidebar)
  • The server should automatically connect using the configured URL
  • "Add 5 bots to the server and start a competitive match on de_dust2"
  • "What's the current server status? How many players are connected and what map are we on?"

SECURITY

MCP 收录不等于安全审核

MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。