Homemade

Create, run and manage Homemade dev VMs and projects from your AI agent.

Should I use this

Quality & Safety

B
Description quality
88%
Schema completeness
76%
Naming quality
81%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (3)

  • LOWTool 'api_key_rename' description lacks action verbin api_key_rename
  • LOWTool 'chat_delete' description lacks action verbin chat_delete
  • LOWTool 'vm_dismiss_signal' description lacks action verbin vm_dismiss_signal

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~8,652Tokens (tool definitions)
~1.7 KBTypical response size
Significant attention impact (6.76% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "homemade": {
      "url": "https://api.homemade.dev/mcp"
    }
  }
}

Remote endpoints

https://api.homemade.dev/mcpstreamable-http

What it can do

Tool inventory

Tools (40)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🔴api_key_delete(keyId)

Delete an API key. Revokes the key at once. Requests that use it get 401 from then on.

Input Schema

{
  "type": "object",
  "properties": {
    "keyId": {
      "type": "string"
    }
  },
  "required": [
    "keyId"
  ]
}
🟢api_key_list

List API keys. Your API keys. The secret itself is shown only once, when the key is created.

Input Schema

{
  "type": "object",
  "properties": {},
  "required": []
}
⚪api_key_rename(keyId, name)

Rename an API key

Input Schema

{
  "type": "object",
  "properties": {
    "keyId": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "keyId",
    "name"
  ]
}
🔴chat_delete(vmId, sessionId)

End an agent chat

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    },
    "sessionId": {
      "type": "string"
    }
  },
  "required": [
    "vmId",
    "sessionId"
  ]
}
🟢chat_list(vmId)

List agent chats

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    }
  },
  "required": [
    "vmId"
  ]
}
🟢chat_new(vmId)

Start an agent chat. Starts a chat in the VM. A VM keeps at most one empty chat: when it already has one, you get that.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    }
  },
  "required": [
    "vmId"
  ]
}
🟡chat_send(vmId, message, model, permissionMode, sessionId)

Send a message to an agent. Sends a prompt to a coding agent in the VM, in a new chat or the one named by `sessionId`. It answers at once; follow the chat in the dashboard or with the CLI.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    },
    "message": {
      "type": "string",
      "minLength": 1,
      "maxLength": 65536
    },
    "model": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "permissionMode": {
      "type": "string",
      "enum": [
        "unrestricted",
        "ask",
        "plan"
      ]
    },
    "sessionId": {
      "type": "string",
      "maxLength": 41,
      "pattern": "^[cC][hH][aA][tT]-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
    }
  },
  "required": [
    "vmId",
    "message"
  ]
}
⚪config_validate(content, path)

Validate a project config. Checks a `.homemade/config.json` or `.jsonc` file against the config schema. `.ts` and `.js` configs are checked at the first build instead.

Input Schema

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "maxLength": 262144
    },
    "path": {
      "type": "string",
      "enum": [
        ".homemade/config.ts",
        ".homemade/config.js",
        ".homemade/config.jsonc",
        ".homemade/config.json"
      ]
    }
  },
  "required": [
    "content",
    "path"
  ]
}
🟢project_branches(projectId)

List branches. The branches a VM of this project can boot, the default branch first.

Input Schema

{
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string"
    }
  },
  "required": [
    "projectId"
  ]
}
🟡project_create(config, defaultBranch, githubInstallationId, githubRepoId, name, ...)

Create a project. Creates a project from a GitHub repository your team connected (`repo` as owner/name, or `githubInstallationId` + `githubRepoId`), from a starter (`template`), or empty. A new project starts its first VM on its own; `welcomeVm` says how that went.

Input Schema

{
  "type": "object",
  "properties": {
    "config": {
      "type": "object",
      "properties": {
        "$schema": {
          "type": "string"
        },
        "agent": {
          "type": "object",
          "properties": {
            "instructions": {
              "type": "string",
              "maxLength": 32768
            },
            "skills": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 200,
                "pattern": "^[A-Za-z0-9](?:[A-Za-z0-9._-]*[A-Za-z0-9])?\\/[A-Za-z0-9](?:[A-Za-z0-9._-]*[A-Za-z0-9])?(?:#[A-Za-z0-9._/-]+)?$"
              }
            }
          }
        },
        "base": {
          "type": "string",
          "pattern": "^\\d+\\.\\d+\\.\\d+$"
        },
        "compose": {
          "type": "string"
        },
        "editor": {
          "default": {
            "enabled": false
          },
          "type": "object",
          "properties": {
            "enabled": {
              "default": false,
              "type": "boolean"
            }
          }
        },
        "env_schema": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "object",
                "properties": {
                  "default": {
                    "description": "Value used when no env var with this key is set (org, project or VM). May reference ${HOMEMADE_URL_<port>}. Never a secret, not a demo key or placeholder: it is part of the repo and validation rejects secret-looking values.",
                    "type": "string",
                    "maxLength": 4096
                  },
                  "generate": {
                    "description": "true: the platform makes a random secret for this key once per VM (a VM env var marked secret, kept across reboots). Never part of a warm snapshot.",
                    "type": "boolean"
                  },
                  "key": {
                    "type": "string",
                    "minLength": 1
                  },
                  "warmup": {
                    "default": false,
                    "type": "boolean"
                  }
                },
                "required": [
                  "key"
                ]
              }
            ]
          }
        },
        "install": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "network": {
          "type": "object",
          "properties": {
            "egress": {
              "type": "object",
              "properties": {
                "allow": {
                  "description": "Egress allowlist — IPv4 addresses, IPv4 CIDRs, exact domains, or *.wildcard domains. Present ⇒ default-deny egress: only these destinations (minus anything in `deny`) are reachable. An empty allow list behaves as if omitted (deny-only).",
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "deny": {
                  "description": "Egress denylist, same entry grammar as `allow`. Deny always wins over allow, even when a destination also matches `allow`.",
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "description": "Outbound network policy. Domain matching is EXACT: `github.com` does not cover `api.github.com` — use `*.github.com` for subdomains (which in turn does not cover the bare apex `github.com`). IPv6 is not accepted here (guest networking is IPv4-only)."
            },
            "ingress": {
              "type": "object",
              "properties": {
                "allow": {
                  "description": "Ingress allowlist — client IPv4/IPv6 addresses or CIDRs (no domains). Present ⇒ default-deny ingress: only these clients (minus anything in `deny`) may reach the VM's routed ports. An empty allow list behaves as if omitted (deny-only).",
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "deny": {
                  "description": "Ingress denylist, same entry grammar as `allow`. Deny always wins over allow, even when a client also matches `allow`.",
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "description": "Inbound network policy. Matches the connecting CLIENT's IP address — never a domain."
            }
          },
          "description": "Network egress/ingress policy. Absent entirely ⇒ allow everything (current default behavior)."
        },
        "parameters": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "default": {
                "type": [
                  "string",
                  "number",
                  "boolean"
                ]
              },
              "description": {
                "type": "string"
              },
              "icon": {
                "description": "Plain optional label glyph — rendered as literal text if at all, never fetched as an image. No icon rendering in v1: accepted and stored only.",
                "type": "string"
              },
              "name": {
                "type": "string",
                "maxLength": 64,
                "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$"
              },
              "options": {
                "minItems": 1,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "description": {
                      "type": "string",
                      "minLength": 1
                    },
                    "label": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "value"
                  ]
                }
              },
              "required": {
                "default": false,
                "type": "boolean"
              },
              "type": {
                "type": "string",
                "enum": [
                  "string",
                  "number",
                  "boolean",
                  "select"
                ]
              },
              "validation": {
                "type": "object",
                "properties": {
                  "errorMessage": {
                    "type": "string"
                  },
                  "max": {
                    "type": "number"
                  },
                  "min": {
                    "type": "number"
                  },
                  "regex": {
                    "type": "string"
                  }
                }
              }
            },
            "required": [
              "name",
              "type"
            ]
          }
        },
        "services": {
          "type": "object",
          "propertyNames": {
            "type": "string",
            "maxLength": 32,
            "pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
          },
          "additionalProperties": {
            "type": "object",
            "properties": {
              "autostart": {
                "default": true,
                "type": "boolean"
              },
              "cmd": {
                "type": "string",
                "minLength": 1
              },
              "depends_on": {
                "description": "Services this one waits for before its `cmd` starts, by name, each with a `condition` (\"healthy\" by default, or \"started\"). Replaces sleep loops: a web service waits for its database, however long it takes. If a dependency exits, this service does not start and its terminal says why; it starts once the dependency is restarted and healthy.",
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "maxLength": 32,
                  "pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
                },
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "condition": {
                      "default": "healthy",
                      "description": "\"healthy\" (default): wait until the dependency reports healthy (its `healthcheck`, or something listening on its `port`). \"started\": wait only until its terminal started.",
                      "type": "string",
                      "enum": [
                        "started",
                        "healthy"
                      ]
                    }
                  }
                }
              },
              "displayName": {
                "description": "Human-friendly name shown instead of the service key in the dashboard.",
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "healthcheck": {
                "description": "Probe the service over localhost HTTP (guest-side) and report health on the `health` command / VM runtime. Success is any HTTP status below 500 — a 404 still counts as up. Requires `port`.",
                "type": "object",
                "properties": {
                  "cmd": {
                    "description": "A shell command probed instead of HTTP, run as the VM user in the workspace: exit code 0 counts as up. Needs no `port`.",
                    "type": "string",
                    "minLength": 1
                  },
                  "interval": {
                    "default": 5,
                    "description": "Seconds between probes. Default 5.",
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 300
                  },
                  "path": {
                    "default": "/",
                    "description": "HTTP path probed on the service's own port (http://127.0.0.1:{port}{path}). Default \"/\".",
                    "type": "string",
                    "minLength": 1
                  },
                  "threshold": {
                    "default": 6,
                    "description": "Consecutive failing probes before the service flips to unhealthy. Any single success flips it back to healthy. Default 6.",
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 60
                  }
                }
              },
              "hidden": {
                "default": false,
                "description": "Hide the service from the VM workspace's Services pane. Does not affect autostart, and does not stop the service's own terminal from existing.",
                "type": "boolean"
              },
              "icon": {
                "description": "A short text/emoji glyph shown next to the service — rendered as literal text, never fetched as an image.",
                "type": "string",
                "minLength": 1,
                "maxLength": 32
              },
              "order": {
                "description": "Sort position among services in the dashboard (ascending). Services without an order sort after those with one.",
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "port": {
                "type": "integer",
                "minimum": 1,
                "maximum": 65535
              },
              "publicHost": {
                "description": "By default the preview proxy hands the app each request as if it came to http://localhost:<port> (Host, Origin and Referer rewritten; redirects to localhost:<port> rewritten back to the preview URL), so dev servers' host checks (Vite allowedHosts, Django ALLOWED_HOSTS, Rails config.hosts, Next allowedDevOrigins) pass with no app config. true sends the real preview hostname with X-Forwarded-Host/Proto instead, for apps that need it (multi-tenant hosts, absolute URLs built from the request). Only meaningful when `url` is true.",
                "type": "boolean"
              },
              "share": {
                "default": "public",
                "description": "Who may open the service's public URL. \"public\": anyone with the link. \"authenticated\": members of the organization that owns the VM. \"owner\": only the user who created the VM (platform admins always allowed). Only meaningful when `url` is true.",
                "type": "string",
                "enum": [
                  "public",
                  "authenticated",
                  "owner"
                ]
              },
              "signInUrl": {
                "description": "A per-VM sign-in or pairing link the VM page shows under the service, with copy and open buttons. A template: ${HOMEMADE_URL_<port>} is that port's VM URL, ${KEY} the value of the VM's env var KEY (e.g. one `generate: true` in env_schema). Only meaningful when `url` is true.",
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "url": {
                "default": false,
                "type": "boolean"
              }
            }
          }
        },
        "setup": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "size": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "nano",
                "tiny",
                "small",
                "medium",
                "large"
              ]
            },
            {
              "type": "object",
              "properties": {
                "disk": {
                  "type": "string",
                  "pattern": "^\\d+(?:mb|gb)$"
                },
                "ram": {
                  "type": "string",
                  "pattern": "^\\d+(?:mb|gb)$"
                },
                "vcpu": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 64
                }
              },
              "required": [
                "disk",
                "ram",
                "vcpu"
              ]
            }
          ]
        },
        "sleep_after": {
          "type": "string",
          "pattern": "^(?:never|[0-9]+(?:m|h))$"
        },
        "troubleshootingUrl": {
          "type": "string",
          "format": "uri"
        },
        "version": {
          "type": "string",
          "pattern": "^\\d+\\.\\d+\\.\\d+$"
        },
        "warmup": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "defaultBranch": {
      "type": "string"
    },
    "githubInstallationId": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "githubRepoId": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "orgId": {
      "type": "string"
    },
    "repo": {
      "description": "The GitHub repository as `owner/name`, instead of `githubInstallationId` + `githubRepoId`.",
      "type": "string",
      "pattern": "^[\\w.-]+\\/[\\w.-]+$"
    },
    "rootDirectory": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 220
        },
        {
          "type": "null"
        }
      ]
    },
    "template": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": []
}
🔴project_delete(projectId)

Delete a project. Deletes the project and every VM in it. This cannot be undone.

Input Schema

{
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string"
    }
  },
  "required": [
    "projectId"
  ]
}
🟢project_get(projectId)

Get a project

Input Schema

{
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string"
    }
  },
  "required": [
    "projectId"
  ]
}
🟢project_list(orgId)

List projects. Every project in your teams, newest first. Pass `orgId` for one team's projects.

Input Schema

{
  "type": "object",
  "properties": {
    "orgId": {
      "type": "string"
    }
  },
  "required": []
}
🟡project_update(projectId, bootTimeoutSeconds, defaultBranch, defaultSleepAfterMinutes, icon, ...)

Update project settings. Changes the project's slug, default branch, default auto-sleep and other settings. Every field is optional.

Input Schema

{
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string"
    },
    "bootTimeoutSeconds": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 60,
          "maximum": 900
        },
        {
          "type": "null"
        }
      ]
    },
    "defaultBranch": {
      "type": "string",
      "minLength": 1,
      "maxLength": 250
    },
    "defaultSleepAfterMinutes": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "icon": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 69
        },
        {
          "type": "null"
        }
      ]
    },
    "iconColor": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "gray",
            "red",
            "orange",
            "amber",
            "yellow",
            "green",
            "teal",
            "blue",
            "indigo",
            "violet",
            "purple",
            "pink"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "keepServicesRunning": {
      "type": "boolean"
    },
    "linearTriggerLabel": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ]
    },
    "prPreviewsEnabled": {
      "type": "boolean"
    },
    "rootDirectory": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 220
        },
        {
          "type": "null"
        }
      ]
    },
    "slug": {
      "type": "string",
      "minLength": 2,
      "maxLength": 50,
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    },
    "wakeOnVisit": {
      "type": "boolean"
    }
  },
  "required": [
    "projectId"
  ]
}
🟡sandbox_create(env, orgId, projectId, region, size, ...)

Create a sandbox. Creates a sandbox: a throwaway VM with no project, on the plain base image or on one of your projects' images. It answers at once while the sandbox starts; a command sent to it waits until it is up. It never sleeps and is deleted when `ttlMinutes` runs out (default 60, at most 1440).

Input Schema

{
  "type": "object",
  "properties": {
    "env": {
      "description": "Env vars every command run through this API gets. Stored encrypted.",
      "type": "object",
      "propertyNames": {
        "type": "string",
        "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "orgId": {
      "description": "The team it belongs to. Defaults to your first team (an API key's own team).",
      "type": "string"
    },
    "projectId": {
      "description": "Start from this project's current image instead of the plain base image.",
      "type": "string"
    },
    "region": {
      "type": "string",
      "enum": [
        "eu",
        "us"
      ]
    },
    "size": {
      "type": "string",
      "enum": [
        "nano",
        "tiny",
        "small",
        "medium",
        "large"
      ]
    },
    "ttlMinutes": {
      "default": 60,
      "description": "Minutes until the sandbox is deleted. Default 60, at most 1440.",
      "type": "integer",
      "minimum": 1,
      "maximum": 1440
    }
  },
  "required": []
}
🔴sandbox_delete(sandboxId)

Delete a sandbox. Deletes the sandbox and everything in it. This cannot be undone.

Input Schema

{
  "type": "object",
  "properties": {
    "sandboxId": {
      "type": "string"
    }
  },
  "required": [
    "sandboxId"
  ]
}
⚪sandbox_exec(stream, sandboxId, command, cwd, env, ...)

Run a command in a sandbox. Runs one command in the sandbox with `/bin/sh -lc` and answers its exit code and output. A sandbox that is still starting is waited for (up to a minute). The sandbox's own `env` is set, under the command's. Use `?stream=1` for commands that run longer than about 90 seconds.

Input Schema

{
  "type": "object",
  "properties": {
    "stream": {
      "type": "string",
      "enum": [
        "0",
        "1",
        "false",
        "true"
      ]
    },
    "sandboxId": {
      "type": "string"
    },
    "command": {
      "type": "string",
      "minLength": 1,
      "maxLength": 65536
    },
    "cwd": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096
    },
    "env": {
      "type": "object",
      "propertyNames": {
        "type": "string",
        "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "timeoutMs": {
      "default": 60000,
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 600000
    }
  },
  "required": [
    "sandboxId",
    "command"
  ]
}
⚪sandbox_extend(sandboxId, ttlMinutes)

Extend a sandbox. Sets how long the sandbox lives from now: `ttlMinutes`, at most 1440 (24 hours).

Input Schema

{
  "type": "object",
  "properties": {
    "sandboxId": {
      "type": "string"
    },
    "ttlMinutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1440,
      "description": "Minutes from now until the sandbox is deleted. At most 1440."
    }
  },
  "required": [
    "sandboxId",
    "ttlMinutes"
  ]
}
🟢sandbox_get(sandboxId)

Get a sandbox. One sandbox: its state, size and when it is deleted.

Input Schema

{
  "type": "object",
  "properties": {
    "sandboxId": {
      "type": "string"
    }
  },
  "required": [
    "sandboxId"
  ]
}
🟢sandbox_list

List sandboxes. Every sandbox in your teams that is not deleted, oldest first.

Input Schema

{
  "type": "object",
  "properties": {},
  "required": []
}
🟢sandbox_read_file(encoding, path, sandboxId)

Read a file. Reads a file from the sandbox as text, or as base64 with `encoding=base64`. At most 10 MB.

Input Schema

{
  "type": "object",
  "properties": {
    "encoding": {
      "default": "utf-8",
      "type": "string",
      "enum": [
        "utf-8",
        "base64"
      ]
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute, or relative to the sandbox's home directory."
    },
    "sandboxId": {
      "type": "string"
    }
  },
  "required": [
    "path",
    "sandboxId"
  ]
}
🟡sandbox_write_file(sandboxId, content, encoding, path)

Write a file. Writes a file in the sandbox (text, or base64 for bytes), making its folders. Replaces a file already there. At most 10 MB.

Input Schema

{
  "type": "object",
  "properties": {
    "sandboxId": {
      "type": "string"
    },
    "content": {
      "type": "string",
      "description": "The file's content, as text or base64 (see `encoding`)."
    },
    "encoding": {
      "default": "utf-8",
      "type": "string",
      "enum": [
        "utf-8",
        "base64"
      ]
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute, or relative to the sandbox's home directory."
    }
  },
  "required": [
    "sandboxId",
    "content",
    "path"
  ]
}
🟡services_apply(vmId, config, restart, services)

Apply services live. Changes the services of a running computer now, without updating the project: send the whole `.homemade/config.jsonc` text as `config` (or the `services` map). New and changed services start, removed ones stop, unchanged ones keep running, and their links follow. Only `services` take effect; other changed keys are listed in `needsImageUpdate`. Answers each service's health.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    },
    "config": {
      "description": "The whole `.homemade/config.jsonc` text. Only its `services` take effect now.",
      "type": "string",
      "maxLength": 262144
    },
    "restart": {
      "description": "Services to start again even when they did not change.",
      "maxItems": 64,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 32,
        "pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
      }
    },
    "services": {
      "description": "The new services, in the config's `services` shape, instead of `config`.",
      "type": "object",
      "propertyNames": {
        "type": "string",
        "maxLength": 32,
        "pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "autostart": {
            "default": true,
            "type": "boolean"
          },
          "cmd": {
            "type": "string",
            "minLength": 1
          },
          "depends_on": {
            "description": "Services this one waits for before its `cmd` starts, by name, each with a `condition` (\"healthy\" by default, or \"started\"). Replaces sleep loops: a web service waits for its database, however long it takes. If a dependency exits, this service does not start and its terminal says why; it starts once the dependency is restarted and healthy.",
            "type": "object",
            "propertyNames": {
              "type": "string",
              "maxLength": 32,
              "pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
            },
            "additionalProperties": {
              "type": "object",
              "properties": {
                "condition": {
                  "default": "healthy",
                  "description": "\"healthy\" (default): wait until the dependency reports healthy (its `healthcheck`, or something listening on its `port`). \"started\": wait only until its terminal started.",
                  "type": "string",
                  "enum": [
                    "started",
                    "healthy"
                  ]
                }
              }
            }
          },
          "displayName": {
            "description": "Human-friendly name shown instead of the service key in the dashboard.",
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "healthcheck": {
            "description": "Probe the service over localhost HTTP (guest-side) and report health on the `health` command / VM runtime. Success is any HTTP status below 500 — a 404 still counts as up. Requires `port`.",
            "type": "object",
            "properties": {
              "cmd": {
                "description": "A shell command probed instead of HTTP, run as the VM user in the workspace: exit code 0 counts as up. Needs no `port`.",
                "type": "string",
                "minLength": 1
              },
              "interval": {
                "default": 5,
                "description": "Seconds between probes. Default 5.",
                "type": "integer",
                "minimum": 1,
                "maximum": 300
              },
              "path": {
                "default": "/",
                "description": "HTTP path probed on the service's own port (http://127.0.0.1:{port}{path}). Default \"/\".",
                "type": "string",
                "minLength": 1
              },
              "threshold": {
                "default": 6,
                "description": "Consecutive failing probes before the service flips to unhealthy. Any single success flips it back to healthy. Default 6.",
                "type": "integer",
                "minimum": 1,
                "maximum": 60
              }
            }
          },
          "hidden": {
            "default": false,
            "description": "Hide the service from the VM workspace's Services pane. Does not affect autostart, and does not stop the service's own terminal from existing.",
            "type": "boolean"
          },
          "icon": {
            "description": "A short text/emoji glyph shown next to the service — rendered as literal text, never fetched as an image.",
            "type": "string",
            "minLength": 1,
            "maxLength": 32
          },
          "order": {
            "description": "Sort position among services in the dashboard (ascending). Services without an order sort after those with one.",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "port": {
            "type": "integer",
            "minimum": 1,
            "maximum": 65535
          },
          "publicHost": {
            "description": "By default the preview proxy hands the app each request as if it came to http://localhost:<port> (Host, Origin and Referer rewritten; redirects to localhost:<port> rewritten back to the preview URL), so dev servers' host checks (Vite allowedHosts, Django ALLOWED_HOSTS, Rails config.hosts, Next allowedDevOrigins) pass with no app config. true sends the real preview hostname with X-Forwarded-Host/Proto instead, for apps that need it (multi-tenant hosts, absolute URLs built from the request). Only meaningful when `url` is true.",
            "type": "boolean"
          },
          "share": {
            "default": "public",
            "description": "Who may open the service's public URL. \"public\": anyone with the link. \"authenticated\": members of the organization that owns the VM. \"owner\": only the user who created the VM (platform admins always allowed). Only meaningful when `url` is true.",
            "type": "string",
            "enum": [
              "public",
              "authenticated",
              "owner"
            ]
          },
          "signInUrl": {
            "description": "A per-VM sign-in or pairing link the VM page shows under the service, with copy and open buttons. A template: ${HOMEMADE_URL_<port>} is that port's VM URL, ${KEY} the value of the VM's env var KEY (e.g. one `generate: true` in env_schema). Only meaningful when `url` is true.",
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          },
          "url": {
            "default": false,
            "type": "boolean"
          }
        }
      }
    }
  },
  "required": [
    "vmId"
  ]
}
🟢services_health(waitSeconds, vmId)

Get service health. Each service of a running computer: starting, healthy, failed (with its last log lines) or manual. With `waitSeconds`, waits until nothing is starting.

Input Schema

{
  "type": "object",
  "properties": {
    "waitSeconds": {
      "type": "integer",
      "minimum": 0,
      "maximum": 60,
      "description": "Wait up to this long for every service to be healthy or failed."
    },
    "vmId": {
      "type": "string"
    }
  },
  "required": [
    "vmId"
  ]
}
⚪setup_report(agent, message, prUrl, projectId, step)

Report setup progress. For coding agents running the setup at `/get-started.md`: tells the person's dashboard how far you got. Call it with `connected` right after signing in, `project` once the project exists, `checking` when Project Doctor starts, `done` with the pull request, or `failed` with a one-line reason. It only changes the setup of the person you are signed in as.

Input Schema

{
  "type": "object",
  "properties": {
    "agent": {
      "description": "Your name as the person knows you, e.g. \"Claude Code\", \"Codex\" or \"Cursor\".",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "message": {
      "description": "One line for the person: why setup stopped (`failed`), or what now works (`done`).",
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "prUrl": {
      "description": "The pull request with the project's `.homemade/config.jsonc` (`done`).",
      "type": "string",
      "maxLength": 500,
      "format": "uri"
    },
    "projectId": {
      "description": "The project's id or slug (from `homemade project create`). Required for `project`.",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "step": {
      "type": "string",
      "enum": [
        "connected",
        "project",
        "checking",
        "done",
        "failed"
      ],
      "description": "`connected` right after signing in, `project` once the project exists, `checking` when Project Doctor starts, `done` when the config is tested and the pull request is open, `failed` when you cannot go on."
    }
  },
  "required": [
    "step"
  ]
}
🔴shell_delete(vmId, sessionId)

End a terminal session

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    },
    "sessionId": {
      "type": "string"
    }
  },
  "required": [
    "vmId",
    "sessionId"
  ]
}
🟢shell_list(vmId)

List terminal sessions. The VM's open terminals. Each one keeps running when nobody is attached.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    }
  },
  "required": [
    "vmId"
  ]
}
🟡ssh_key_add(label, publicKey)

Add an SSH key. Adds an SSH public key. Running VMs in your teams accept it within seconds.

Input Schema

{
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "publicKey": {
      "type": "string",
      "maxLength": 8192,
      "pattern": "^(?:ssh-ed25519|ssh-rsa|ecdsa-sha2-nistp256|ecdsa-sha2-nistp384|ecdsa-sha2-nistp521) [A-Za-z0-9+/]+=*(?: .+)?$"
    }
  },
  "required": [
    "label",
    "publicKey"
  ]
}
🔴ssh_key_delete(id)

Remove an SSH key

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "required": [
    "id"
  ]
}
🟢ssh_key_list

List SSH keys

Input Schema

{
  "type": "object",
  "properties": {},
  "required": []
}
🟡vm_create(branch, keepServicesRunning, name, parameterValues, projectId, ...)

Create a VM. Creates a VM from a project's latest build and starts it. The answer comes at once with the VM in `queued` or `booting`; poll `GET /api/vms/{vmId}` until `state` is `running`.

Input Schema

{
  "type": "object",
  "properties": {
    "branch": {
      "default": "main",
      "type": "string",
      "minLength": 1,
      "maxLength": 250
    },
    "keepServicesRunning": {
      "type": "boolean"
    },
    "name": {
      "type": "string",
      "maxLength": 50
    },
    "parameterValues": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": [
          "string",
          "number",
          "boolean"
        ]
      }
    },
    "projectId": {
      "type": "string"
    },
    "region": {
      "type": "string",
      "enum": [
        "eu",
        "us"
      ]
    },
    "size": {
      "type": "string",
      "enum": [
        "nano",
        "tiny",
        "small",
        "medium",
        "large"
      ]
    },
    "ticket": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "provider": {
          "type": "string",
          "enum": [
            "linear",
            "github"
          ]
        }
      },
      "required": [
        "id",
        "provider"
      ]
    }
  },
  "required": [
    "projectId"
  ]
}
🔴vm_delete(vmId)

Delete a VM. Deletes the VM and its data. This cannot be undone.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    }
  },
  "required": [
    "vmId"
  ]
}
⚪vm_dismiss_signal(vmId)

Dismiss the agent signal. Clears the attention signal an agent in the VM raised. Does nothing when there is none.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    }
  },
  "required": [
    "vmId"
  ]
}
⚪vm_exec(stream, vmId, command, cwd, env, ...)

Run a command. Runs one command in a running VM as its user, with `/bin/sh -lc`, and answers its exit code and output. It opens no terminal. Use `?stream=1` for commands that run longer than about 90 seconds.

Input Schema

{
  "type": "object",
  "properties": {
    "stream": {
      "type": "string",
      "enum": [
        "0",
        "1",
        "false",
        "true"
      ]
    },
    "vmId": {
      "type": "string"
    },
    "command": {
      "type": "string",
      "minLength": 1,
      "maxLength": 65536
    },
    "cwd": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096
    },
    "env": {
      "type": "object",
      "propertyNames": {
        "type": "string",
        "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "timeoutMs": {
      "default": 60000,
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 600000
    }
  },
  "required": [
    "vmId",
    "command"
  ]
}
🟢vm_get(vmId)

Get a VM. The VM, its project, its services and its newest events. `vm.urls` holds each service's public URL by port.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    }
  },
  "required": [
    "vmId"
  ]
}
🟢vm_list(projectId)

List VMs. Every VM in your teams that is not deleted, newest first. Pass `projectId` to list one project's VMs.

Input Schema

{
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string"
    }
  },
  "required": []
}
⚪vm_sleep(vmId)

Sleep a VM. Puts a running VM to sleep. It keeps its memory and disk and wakes where it left off. Sleeping an asleep VM answers 200.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    }
  },
  "required": [
    "vmId"
  ]
}
🟡vm_update(vmId, keepServicesRunning, name, shareLevels, sleepAfterMinutes)

Update a VM. Renames the VM, changes its auto-sleep or who can open its services. Every field is optional.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    },
    "keepServicesRunning": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "name": {
      "type": "string",
      "maxLength": 50
    },
    "shareLevels": {
      "type": "object",
      "propertyNames": {
        "type": "string",
        "pattern": "^\\d+$"
      },
      "additionalProperties": {
        "type": "string",
        "enum": [
          "public",
          "authenticated",
          "owner"
        ]
      }
    },
    "sleepAfterMinutes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "vmId"
  ]
}
⚪vm_wake(vmId)

Wake a VM. Wakes an asleep VM. Poll `GET /api/vms/{vmId}` until `state` is `running`.

Input Schema

{
  "type": "object",
  "properties": {
    "vmId": {
      "type": "string"
    }
  },
  "required": [
    "vmId"
  ]
}
🟢whoami

Get the current user. The key's owner and the teams it can reach. A team's `id` is the `orgId` other calls take.

Input Schema

{
  "type": "object",
  "properties": {},
  "required": []
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded40 tools