minecraft-rcon-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AI_MODEL | No | Anthropic model for in-game chat. | claude-sonnet-4-5 |
| LOG_PATH | No | Path to the server log to tail. Set this explicitly — the default is relative to the working directory. | ./logs/latest.log |
| AI_PREFIX | No | Chat trigger prefix (case-insensitive). | ai |
| RCON_HOST | No | RCON host | localhost |
| RCON_PORT | No | RCON port | 25575 |
| AI_MAX_TOKENS | No | Max tokens per chat response. | 1024 |
| RCON_PASSWORD | No | RCON password (match server.properties) | changeme |
| AI_MAX_CONTEXT | No | Exchanges retained in the rolling history. | 10 |
| AI_CHAT_ENABLED | No | Set 0/false to run a pure RCON tool server (no log tailing, no Anthropic usage). | 1 |
| AI_SYSTEM_PROMPT | No | Replace the entire system prompt. | |
| ANTHROPIC_API_KEY | No | Required for in-game AI chat. | |
| AI_SYSTEM_PROMPT_EXTRA | No | Append server-specific context (Minecraft version, house rules) to the default prompt. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| run_commandA | Run a Minecraft server command via RCON and return the response. Examples: 'list', 'data get entity @e[type=minecraft:cat,limit=5,sort=nearest]', 'locate structure village', 'execute at @p run data get block ~ ~ ~' |
| get_ai_chat_statusA | Return the status of the in-game AI chat listener and conversation history. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/scotteratigan/minecraft-rcon-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server