craftos-mcp
A CC:Tweaked emulator that allows AI agents to test ComputerCraft programs without Minecraft. It runs Lua code, reads terminal and monitor output, interacts with the simulated world (turtles, rednet, peripherals), and fixes bugs autonomously via the Model Context Protocol.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Run and test CC:Tweaked Lua programs
- Read terminal and monitor output
- Interact with simulated world peripherals
- Autonomously fix code bugs
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
craftos-mcp 0.2.0
{
"version": "0.2.0",
"transport": "stdio",
"identifier": "craftos-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"packageArguments": [
{
"type": "positional",
"value": "serve"
}
],
"runtimeArguments": [
{
"type": "positional",
"value": "-y"
}
],
"environmentVariables": [
{
"name": "CRAFTOS_WORKSPACE",
"format": "filepath",
"description": "Folder with your Lua project, copied onto every emulated computer (default: the current folder)."
},
{
"name": "CRAFTOS_ADDONS",
"description": "Mods to simulate besides CC:Tweaked: all, none, or ids separated by commas such as create,mekanism.",
"placeholder": "all"
},
{
"name": "CRAFTOS_VERSION",
"choices": [
"1.18.2",
"1.20.1",
"1.21.1"
],
"description": "Minecraft version new computers start on: 1.18.2 (CC:Tweaked 1.101.3, the default), 1.20.1 or 1.21.1."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"craftos-mcp": {
"command": "npx",
"args": [
"-y",
"craftos-mcp@0.2.0",
"serve"
],
"env": {
"CRAFTOS_WORKSPACE": "<YOUR_CRAFTOS_WORKSPACE>",
"CRAFTOS_ADDONS": "<YOUR_CRAFTOS_ADDONS>",
"CRAFTOS_VERSION": "<YOUR_CRAFTOS_VERSION>"
}
}
}
}Cline
{
"mcpServers": {
"craftos-mcp": {
"command": "npx",
"args": [
"-y",
"craftos-mcp@0.2.0",
"serve"
],
"env": {
"CRAFTOS_WORKSPACE": "<YOUR_CRAFTOS_WORKSPACE>",
"CRAFTOS_ADDONS": "<YOUR_CRAFTOS_ADDONS>",
"CRAFTOS_VERSION": "<YOUR_CRAFTOS_VERSION>"
}
}
}
}VS Code
{
"servers": {
"craftos-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"craftos-mcp@0.2.0",
"serve"
],
"env": {
"CRAFTOS_WORKSPACE": "<YOUR_CRAFTOS_WORKSPACE>",
"CRAFTOS_ADDONS": "<YOUR_CRAFTOS_ADDONS>",
"CRAFTOS_VERSION": "<YOUR_CRAFTOS_VERSION>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"craftos-mcp": {
"command": "npx",
"args": [
"-y",
"craftos-mcp@0.2.0",
"serve"
],
"env": {
"CRAFTOS_WORKSPACE": "<YOUR_CRAFTOS_WORKSPACE>",
"CRAFTOS_ADDONS": "<YOUR_CRAFTOS_ADDONS>",
"CRAFTOS_VERSION": "<YOUR_CRAFTOS_VERSION>"
}
}
}
}Let your agent find its tools
Find servers like craftos-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.