Repository navigation
Building from source
Pavel Erokhin edited this page Oct 19, 2026
·
1 revision
You need Node.js 22 or newer and npm.
-
Clone the repository and install:
git clone https://github.com/MairwunNx/minecraft-mcp cd minecraft-mcp npm installnpm installalso buildsdist/. -
Check it:
npm run lint npm run typecheck npm test -
Run your build against a server:
WORLDAPI_URL=http://localhost:8110/api/v1 node dist/index.js --help
To use it from a client, point the client's
commandatnodeandargsat the full path ofdist/index.js. -
Pack the Claude Desktop bundle, if you need one:
npm run pack:mcpb
The bundle lands in
build/.
| Script | What it does |
|---|---|
npm run build |
Compiles TypeScript into dist/. |
npm run lint, npm run format
|
Checks, or fixes, style with Biome. |
npm run typecheck |
Type-checks without output. |
npm test |
Runs the Vitest suite against a mocked WorldAPI. |
npm run generate |
Regenerates the WorldAPI client (see Development). |
npm run pack:mcpb |
Packs build/minecraft-mcp-<version>.mcpb for Claude Desktop. |
Next: Architecture.
Players and server owners
- Installation
- Claude Desktop
- Claude Code
- Cursor
- Other clients
- Configuration
- Tokens and permissions
- Tools
- Example prompts
- Security
- Troubleshooting
Developers