Skip to content
MCP server

craftos-mcp

CC:Tweaked (ComputerCraft) emulator: run, test and screenshot Lua programs, monitors and…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.0
Listing updated
today

About craftos-mcp

craftos-mcp is an open-source MCP server. It runs locally on your machine and is started by your AI client.

CC:Tweaked (ComputerCraft) emulator: run, test and screenshot Lua programs, monitors and turtles.

Install

Run in a terminal

claude mcp add craftos-mcp -- npx -y craftos-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "craftos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "craftos-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "craftos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "craftos-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "craftos-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "craftos-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "craftos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "craftos-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "craftos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "craftos-mcp"
      ]
    }
  }
}

Configuration

  • CRAFTOS_WORKSPACEFolder with your Lua project, copied onto every emulated computer (default: the current folder).
  • CRAFTOS_ADDONSMods to simulate besides CC:Tweaked: all, none, or ids separated by commas such as create,mekanism.
  • CRAFTOS_VERSIONMinecraft version new computers start on: 1.18.2 (CC:Tweaked 1.101.3, the default), 1.20.1 or 1.21.1.

Pricing

Open source

craftos-mcp FAQ

Is craftos-mcp free?

Yes. craftos-mcp is open source, so you can use and self-host it for free.

How do I add craftos-mcp to Claude Code?

Run this command in your terminal: claude mcp add craftos-mcp -- npx -y craftos-mcp