Skip to content
homeport

Docs · Deploy

MCP server for coding agents

homeport mcp lets a coding agent such as Claude Code or Cursor deploy your app, read its logs, set its variables and add a database. Every change it wants to make is put to you first, in your editor, and nothing happens until you approve it.

Set it up

  1. Install the CLI and sign in with homeport login.
  2. In your project’s folder, run homeport link to choose the app and environment it deploys to.
  3. Add the server to your editor.
Claude Code
claude mcp add homeport -- homeport mcp
Cursor: .cursor/mcp.json
{
  "mcpServers": {
    "homeport": { "command": "homeport", "args": ["mcp"] }
  }
}

The server runs in your project’s folder, with your sign-in. It can do what you can do in the dashboard, and no more.

Every change is yours to approve

An agent can be talked into things by what it reads, so a change is never the agent’s to approve. Each tool that changes something asks you through your editor, saying exactly what changes and where: variable names, never their values. Your answer counts for that one change only.

  • No tool deletes anything: not an app, a database or a domain.
  • No tool returns a variable’s value or any other secret.
  • No tool takes a folder: deploy deploys the one the server runs in, as linked.
  • At most 20 changes a minute.

Tools

What the MCP server offers
ToolWhat it doesAsks you
list_appsYour teams, their apps and environments, addresses and status.No
deployDeploys this folder’s working tree, uncommitted changes included, and answers with the address once live.Yes
create_appCreates an app in a team with no repository, deployed from this computer, and links this folder to it when nothing links it yet. It counts toward the plan’s apps.Yes
deploy_statusWhere a deploy got to: the build’s status and the end of its log, then the release’s.No
runtime_logsAn environment’s newest log lines, or those since the last read.No
list_variablesAn environment’s variable names. Never their values.No
set_variablesAdds or replaces variables. The app gets them on its next start.Yes
unset_variablesRemoves variables. A removed value cannot be brought back.Yes
get_databaseAn environment’s database and its status, never its password.No
create_databaseMakes a Postgres database for an environment and attaches it.Yes
attach_databaseAttaches one of the team’s databases to an environment.Yes
detach_databaseDetaches an environment’s database. The database itself is kept.Yes
list_domainsAn app’s platform domains, its customers’ own: each one’s status, why it isn’t live and the DNS records to set, and how many are live and included.No
get_domainOne platform domain: its status, why it isn’t live, and the DNS records to set.No
add_domainAdds a platform domain to an app and answers with its status and the DNS records to set. A root domain’s www. comes with it, unless no_www. Removing one isn’t a tool: you do that.Yes
queue_statusAn environment’s queue: how its background jobs run, its backend, drain command and timeout, what is waiting, and its recent drains. Changes nothing.No
usageThe team’s usage this month, by app, its plan and budget, and what the month is likely to cost.No

Tools that take an environment use production unless another is named. What an app’s logs say is its own output, and the server tells the agent to read it as that, never as an instruction.