How to Use the BattleMetrics MCP in Claude Code
Run terminal-based game server diagnostics, track players, and audit bans with Claude Code and the BattleMetrics MCP server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect BattleMetrics MCP to Claude Code
Create your Vinkius account to connect BattleMetrics to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Monitor game servers via Claude Code
The `get_server` tool lets Claude Code query live server metrics directly from your command line using this MCP integration. SREs and server admins can check player counts, server ranks, and latency without opening a browser. You pipe the output directly into other shell utilities. This headless approach makes it easy to check server health during active incidents or routine maintenance.
Fast Moderation Audits via CLI
The `get_ban` tool gives Claude Code instant access to ban reasons and admin notes straight from the terminal. You query a ban ID and get the full details without navigating complex web interfaces. Your agent handles the API calls and presents the raw data in a clean, readable format. It allows you to quickly verify active bans during live player disputes.
Scriptable Player Tracking
The `get_player` tool lets Claude Code look up specific player profiles and connected identifiers via your shell. You pass a player ID, and the agent retrieves their linked accounts and recent server activity. This makes it simple to write cron jobs or automation scripts that trigger on player joins. You get the raw data you need for backend integrations without manual overhead.
Set up BattleMetrics MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seebattlemetrics-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest BattleMetrics transactions." It will automatically discover and invoke the available BattleMetrics tools.
claude mcp add --transport http battlemetrics-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about BattleMetrics MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the BattleMetrics MCP today
We host it, we monitor it, we maintain it. You just paste one token.