minecraft-paper-mcp
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., "@minecraft-paper-mcplist players currently online and show server TPS"
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.
minecraft-paper-mcp
MCP server for managing a Paper Minecraft server backend — runs on the same machine as the Minecraft server (direct file access and process control) alongside in-game commands via RCON
Features
Process control:
server_start,server_stop,server_restart,server_statusRCON / in-game commands:
rcon_command(any raw command),players_list,server_tps,server_say,player_kick,player_ban,player_pardon,player_op,player_deop,whitelist_add,whitelist_remove,give_item,teleport_player,set_gamerule,set_weather,set_timeFile reading:
whitelist_list,ops_list,banned_players_list,banned_ips_list,server_properties_get,server_properties_set(requires restart to take effect)Logs:
logs_tail(view the last N log lines),logs_search(grep with regex)
Related MCP server: Minecraft Server MCP
Installation
Requires Node.js 18 or higher
cd minecraft-mcp
npm install
npm run buildPreparing the Paper server
Enable RCON in the Paper server's
server.properties:enable-rcon=true rcon.port=25575 rcon.password=ใส่รหัสผ่านที่ตั้งเอง_อย่าใช้ค่าว่างImportant: If the RCON port is exposed externally, you must block it with a firewall — RCON is not encrypted. It should only listen on
127.0.0.1(the default) if the MCP server runs on the same machine.Restart the Paper server once for the RCON settings to take effect.
Setting up environment variables
There is a .env.example file for reference — copy it to .env and fill in the real values (the .env file is already in
.gitignore and will not be committed to GitHub). The MCP server itself does not load .env automatically
(it does not use dotenv) — set values via env in claude_desktop_config.json or export the variables before actually running.
.env is only for keeping notes for yourself.
Variable | Default value | Description |
| current dir | path to the Paper server folder (containing |
|
| command for starting the server (adjust RAM/jar name as needed) |
|
| RCON host |
|
| RCON port |
| (empty) | RCON password — must match |
|
| file storing the PID of the started process |
Setting up in Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"minecraft-paper": {
"command": "node",
"args": ["/absolute/path/to/minecraft-mcp/build/index.js"],
"env": {
"MC_SERVER_DIR": "/absolute/path/to/paper-server",
"MC_START_COMMAND": "java -Xmx6G -Xms2G -jar paper-1.21.jar nogui",
"MC_RCON_PASSWORD": "รหัสผ่านเดียวกับใน server.properties"
}
}
}
}Then restart Claude Desktop
CI
There is a GitHub Actions workflow (.github/workflows/build.yml) that runs npm install + npm run build
on Node 18.x and 20.x on every push or PR into main to verify the project builds.
If you want to use npm ci instead of npm install, run npm install once on your own machine to generate
package-lock.json, then commit that file to the repo first.
Notes / Cautions
server_start/server_restartspawn a detached process and store the PID inMC_PID_FILE— if you want to run it as a real service (systemd), it still works, but the MCP will not recognize processes that systemd creates itself. Choose one approach (let this MCP start/stop it itself, or let systemd manage it and only use tools that rely on RCON/files).server_stopwill try to send thestopcommand via RCON first (graceful). If RCON cannot be reached, it falls back toSIGTERM.server_properties_setedits the file directly — you must restart the server yourself for it to take effect (no auto-restart).ban/kick/whitelist commands are done via RCON, not by editing the json files directly — safer while the server is running.
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
- FlicenseNot gradedqualityDmaintenanceEnables control of a Minecraft server through RCON commands via natural language, including game commands, chat-based AI interactions, and server management capabilities.6
- AlicenseBqualityDmaintenanceProvides comprehensive administrator-level control for Minecraft Java Edition servers, allowing AI to manage world generation, server configuration, and player moderation. It enables remote execution of RCON commands, NBT data parsing, and automated backup management through the Model Context Protocol.40MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with and manage Minecraft servers through a standardized interface, supporting server monitoring, player management, log analysis, and command execution.11MIT
- AlicenseAqualityDmaintenanceEnables Minecraft server management via RCON: execute commands, list players, get server info, manage whitelist and operators.91MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
A MCP server built for developers enabling Git based project management with project and personal…
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/inrok872-cyber/minecraft-paper-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server