Repository navigation
Cursor
Pavel Erokhin edited this page Oct 19, 2026
·
1 revision
Cursor starts minecraft-mcp with npx, so you need Node.js 22 or newer.
-
Create
.cursor/mcp.jsonin your project, or~/.cursor/mcp.jsonfor every project. -
Put this in it, with your URL, token, and player name:
{ "mcpServers": { "minecraft": { "command": "npx", "args": ["-y", "@mairwunnx/minecraft-mcp"], "env": { "WORLDAPI_URL": "http://localhost:8110/api/v1", "WORLDAPI_TOKEN": "your-token", "WORLDAPI_PLAYER": "Steve" } } } } -
Open Cursor's settings, then MCP, and check that
minecraftis on and lists its tools. -
Ask the agent “what's the weather in the overworld?”.
To try Moonlands instead, set WORLDAPI_URL to https://minecraft.mairwunnx.com/worldapi/api/v1 and leave the token out.
Next: Tokens and permissions.
Players and server owners
- Installation
- Claude Desktop
- Claude Code
- Cursor
- Other clients
- Configuration
- Tokens and permissions
- Tools
- Example prompts
- Security
- Troubleshooting
Developers