{"_id":"247afk-mcp","_rev":"2-4278ab3c5bfb61fe6334725392111a52","name":"247afk-mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"247afk-mcp","version":"1.0.0","keywords":["minecraft","mcp","247afk","block-editor","model-context-protocol"],"license":"MIT","_id":"247afk-mcp@1.0.0","maintainers":[{"name":"daimyh","email":"daimy738@gmail.com"}],"bin":{"247afk-mcp":"index.js"},"dist":{"shasum":"a6873542186d1ce7e58dd7869b5fd9fa0763c784","tarball":"https://registry.npmjs.org/247afk-mcp/-/247afk-mcp-1.0.0.tgz","fileCount":8,"integrity":"sha512-Lmf05CM9QR7Ae3B4D/gxunihSEL3EGx8U3K20uoaNH7OQUnSPfAIHm7XrbxXnunJKT37Mq3ySz/LP7U2kzGHBg==","signatures":[{"sig":"MEQCIGuUmnajJ/3ami6+NRqmCUf4TLPIM/lfl0BUAZBNBq/hAiA2NiAwlxxmptRZgxwkUTTimnXDhsK43ZVmgGJt7i9cFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23111},"main":"index.js","type":"module","engines":{"node":">=18"},"gitHead":"2c8262cefe9eaba67bc0c312d00b1ec5c3c123e1","scripts":{"start":"node index.js"},"_npmUser":{"name":"daimyh","email":"daimy738@gmail.com"},"_npmVersion":"10.9.3","description":"MCP server for the 247afk block editor","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ws":"^8.19.0","zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/247afk-mcp_1.0.0_1771511061182_0.6803316566431346","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"247afk-mcp","version":"1.0.1","description":"MCP server for the 247afk block editor","type":"module","main":"index.js","bin":{"247afk-mcp":"index.js"},"scripts":{"start":"node index.js"},"engines":{"node":">=18"},"keywords":["minecraft","mcp","247afk","block-editor","model-context-protocol"],"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.26.0","ws":"^8.19.0","zod":"^3.23.0"},"_id":"247afk-mcp@1.0.1","gitHead":"c965b3f39766150309a3538b78367774075989f4","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-8mEPEFZlBswIhov1OS+78DHOMMAUY0OMo9VJbY9+6qcr+AJyO/cttLYBGe9LjtNpm9q9qrY5uyvqxn2w6VPN1g==","shasum":"b24fbde0e77a1cdcd473e50fe2605c43764edb0b","tarball":"https://registry.npmjs.org/247afk-mcp/-/247afk-mcp-1.0.1.tgz","fileCount":9,"unpackedSize":31846,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCJf8otNS9dWH7DcQVMAKgeasPomwxWFvlBujI32OhDgAIhANjRYz2lkJGKg9e7F6860KSetx2rhthsGNxKobTk8ho/"}]},"_npmUser":{"name":"daimyh","email":"daimy738@gmail.com"},"directories":{},"maintainers":[{"name":"daimyh","email":"daimy738@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/247afk-mcp_1.0.1_1771578810989_0.4881228281188741"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-19T14:24:21.180Z","modified":"2026-02-20T09:13:31.276Z","1.0.0":"2026-02-19T14:24:21.348Z","1.0.1":"2026-02-20T09:13:31.160Z"},"license":"MIT","keywords":["minecraft","mcp","247afk","block-editor","model-context-protocol"],"description":"MCP server for the 247afk block editor","maintainers":[{"name":"daimyh","email":"daimy738@gmail.com"}],"readme":"# 247afk Block Editor MCP Server\n\nLets AI assistants (Claude Desktop, Cline, Cursor, and any MCP-compatible client) build and edit block editor scripts in real time.\n\n## How it works\n\n1. The MCP server runs locally and starts a WebSocket bridge on `127.0.0.1:3002`\n2. Open a script in the 247afk editor — it connects to the bridge automatically\n3. Your AI can now read and edit your script live through the tools below\n\n## Install\n\n```bash\nnpm install -g 247afk-mcp\n```\n\n## Configure your AI client\n\n### AntiGravity / Claude Code\n\nOpen AntiGravity and go to mcp servers in the AI chat. \nClick manage mcp servers then view raw config and paste the code below\n\n```json\n  {\n    \"mcpServers\": {\n      \"247afk-mcp\": {\n        \"command\": \"npx\",\n        \"args\": [\"-y\", \"247afk-mcp\"]\n      }\n    }\n  }\n```\n\n\nRestart antigravity/claude code after saving. \n\n## Test without an AI client\n\n```bash\nnpx @modelcontextprotocol/inspector 247afk-mcp\n```\n\nOpens a browser UI to call tools manually.\n\n## Changelog\n\n### 1.0.1\n- Added `update_node_data` — merge field values into a node without replacing it\n- Added `move_node` — reposition a node on the canvas\n- Added `get_node` — inspect a single node's type, position, and data\n- Added `clear_graph` — wipe all nodes and edges while keeping variables\n- Added `validate_graph` — run client-side validation and return errors/warnings\n- Added `save_graph` — save the script to the server (equivalent to Ctrl+S)\n- Added `auto_layout` — auto-arrange nodes left-to-right by execution flow\n- Added `add_variable` — add or replace a single variable without touching others\n- Added `remove_variable` — remove a single variable by name\n- Fixed variable picker dropdowns being empty in MCP-built graphs\n\n### 1.0.0\n- Initial release\n\n## Requirements\n\n- Node.js 18 or later\n- 247afk account with access to the script editor \n- Browser open on the script to edit.","readmeFilename":"README.md"}