{"id":28154340,"url":"https://github.com/yuniko-software/minecraft-mcp-server","last_synced_at":"2026-01-12T14:41:29.144Z","repository":{"id":283535607,"uuid":"952088451","full_name":"yuniko-software/minecraft-mcp-server","owner":"yuniko-software","description":"A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction","archived":false,"fork":false,"pushed_at":"2025-05-14T19:45:46.000Z","size":78,"stargazers_count":69,"open_issues_count":2,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T19:47:49.424Z","etag":null,"topics":["artificial-intelligence","claude","javascript","large-language-models","mcp","mcp-server","minecraft","modelcontextprotocol","natural-language-processing","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://yuniko.software/mcp-server/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuniko-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-20T17:59:31.000Z","updated_at":"2025-05-14T19:45:48.000Z","dependencies_parsed_at":"2025-05-03T12:22:30.125Z","dependency_job_id":"7b795c86-11f6-4938-9119-95b602440128","html_url":"https://github.com/yuniko-software/minecraft-mcp-server","commit_stats":null,"previous_names":["yuniko-software/minecraft-mcp-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuniko-software%2Fminecraft-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuniko-software%2Fminecraft-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuniko-software%2Fminecraft-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuniko-software%2Fminecraft-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuniko-software","download_url":"https://codeload.github.com/yuniko-software/minecraft-mcp-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254283251,"owners_count":22045141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","claude","javascript","large-language-models","mcp","mcp-server","minecraft","modelcontextprotocol","natural-language-processing","nodejs","typescript"],"created_at":"2025-05-15T06:13:25.237Z","updated_at":"2026-01-12T14:41:29.134Z","avatar_url":"https://github.com/yuniko-software.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","📚 Projects (1974 total)","Gaming and Game Development","Gaming","🌐 Web Development","MCP Frameworks and libraries","Game Server Mcp Implementations"],"sub_categories":["MCP Servers","How to Submit","TypeScript"],"readme":"# Minecraft MCP Server\n\n\u003ca href=\"https://github.com/yuniko-software/minecraft-mcp-server/actions\"\u003e\n  \u003cimg alt=\"CI\" src=\"https://github.com/yuniko-software/minecraft-mcp-server/actions/workflows/build.yml/badge.svg\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/yuniko-software\"\u003e\n  \u003cimg alt=\"Contribution Welcome\" src=\"https://img.shields.io/badge/Contribution-Welcome-blue\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/yuniko-software/minecraft-mcp-server/releases/latest\"\u003e\n  \u003cimg alt=\"Latest Release\" src=\"https://img.shields.io/github/v/release/yuniko-software/minecraft-mcp-server?label=Latest%20Release\"\u003e\n\u003c/a\u003e\n\n\u003cimg width=\"2063\" height=\"757\" alt=\"image\" src=\"https://github.com/user-attachments/assets/3f0f0438-f079-4226-90bd-87b9e1311d19\" /\u003e\n\n___\n\n\u003e [!IMPORTANT]\n\u003e Currently supports Minecraft version 1.21.8. Newer versions may not work with this MCP server, but we will add support as soon as possible.\n\nhttps://github.com/user-attachments/assets/6f17f329-3991-4bc7-badd-7cde9aacb92f\n\nA Minecraft bot powered by large language models and [Mineflayer API](https://github.com/PrismarineJS/mineflayer). This bot uses the [Model Context Protocol](https://github.com/modelcontextprotocol) (MCP) to enable Claude and other supported models to control a Minecraft character.\n\n\u003ca href=\"https://glama.ai/mcp/servers/@yuniko-software/minecraft-mcp-server\"\u003e\n  \u003cimg width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/@yuniko-software/minecraft-mcp-server/badge\" alt=\"mcp-minecraft MCP server\" /\u003e\n\u003c/a\u003e\n\n## Prerequisites\n\n- Git\n- Node.js (\u003e= 20.10.0)\n- A running Minecraft game (the setup below was tested with Minecraft 1.21.8 Java Edition included in Microsoft Game Pass)\n- An MCP-compatible client. Claude Desktop will be used as an example, but other MCP clients are also supported\n\n## Getting started\n\nThis bot is designed to be used with Claude Desktop through the Model Context Protocol (MCP).\n\n### Run Minecraft\n\nCreate a singleplayer world and open it to LAN (`ESC -\u003e Open to LAN`). Bot will try to connect using port `25565` and hostname `localhost`. These parameters could be configured in `claude_desktop_config.json` on a next step. \n\n### MCP Configuration\n\nMake sure that [Claude Desktop](https://claude.ai/download) is installed. Open `File -\u003e Settings -\u003e Developer -\u003e Edit Config`. It should open installation directory. Find file with a name `claude_desktop_config.json` and insert the following code:\n\n```json\n{\n  \"mcpServers\": {\n    \"minecraft\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"github:yuniko-software/minecraft-mcp-server\",\n        \"--host\",\n        \"localhost\",\n        \"--port\",\n        \"25565\",\n        \"--username\",\n        \"ClaudeBot\"\n      ]\n    }\n  }\n}\n```\n\nDouble-check that right `--port` and `--host` parameters were used. Make sure to completely reboot the Claude Desktop application (should be closed in OS tray). \n\n## Running\n\nMake sure Minecraft game is running and the world is opened to LAN. Then start Claude Desktop application and the bot should join the game. \n\n**It could take some time for Claude Desktop to boot the MCP server**. The marker that the server has booted successfully:\n\n\u003cimg width=\"885\" height=\"670\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ccbb42f8-6544-462c-8ac1-8af13ddfcddd\" /\u003e\n\nYou can give bot any commands through any active Claude Desktop chat. You can also upload images of buildings and ask bot to build them 😁\n\nDon't forget to mention that bot should do something in Minecraft in your prompt. Because saying this is a trigger to run MCP server. It will ask for your permissions.\n\nUsing Claude Sonnet could give you some interesting results. The bot-agent would be really smart 🫡\n\nExample usage: [shared Claude chat](https://claude.ai/share/535d5f69-f102-4cdb-9801-f74ea5709c0b)\n\n## Available Commands\n\nOnce connected to a Minecraft server, Claude can use these commands:\n\n### Movement\n- `get-position` - Get the current position of the bot\n- `move-to-position` - Move to specific coordinates\n- `look-at` - Make the bot look at specific coordinates\n- `jump` - Make the bot jump\n- `move-in-direction` - Move in a specific direction for a duration\n\n### Flight\n- `fly-to` - Make the bot fly directly to specific coordinates\n\n### Inventory\n- `list-inventory` - List all items in the bot's inventory\n- `find-item` - Find a specific item in inventory\n- `equip-item` - Equip a specific item\n\n### Block Interaction\n- `place-block` - Place a block at specified coordinates\n- `dig-block` - Dig a block at specified coordinates\n- `get-block-info` - Get information about a block\n- `find-block` - Find the nearest block of a specific type\n\n### Entity Interaction\n- `find-entity` - Find the nearest entity of a specific type\n\n### Communication\n- `send-chat` - Send a chat message in-game\n- `read-chat` - Get recent chat messages from players\n\n### Game State\n- `detect-gamemode` - Detect the gamemode on game\n\n## Contributing\n\nFeel free to submit pull requests or open issues for improvements. All refactoring commits, functional and test contributions, issues and discussion are greatly appreciated!\n\nTo get started with contributing, please see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n---\n\n⭐ If you find this project useful, please consider giving it a star on GitHub! ⭐\n\nYour support helps make this project more visible to other people who might benefit from it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuniko-software%2Fminecraft-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuniko-software%2Fminecraft-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuniko-software%2Fminecraft-mcp-server/lists"}