Skip to content
MCP server

Tofu

Deploy and run an app from a coding agent: logs, versions, databases, domains, sign-in

Install
Pricing
Freemium
Platforms
Web, API, CLI
Runs
Remotely
Version
1.0.58
Listing updated
2 days ago

About Tofu

Tofu is a freemium MCP server for cloud and infrastructure. It runs as a hosted remote server, so there is nothing to install locally.

A coding agent connects to Tofu's control plane, the same one the dashboard uses, and can put an app online and look after it. The bridge exposes 108 tools, 13 loaded by default; the rest are reachable as commands of the installed client, or all at once by setting TOFU_TOOLS=all. Groups include deploy and rollback, runtime and build logs, environment variables, managed databases with backups, app sign-in and invites, domains and DNS records, Stripe payments, app email, sandboxes and site analytics.

Approval is deliberate. Login is a device flow: the agent asks for a code and you approve it in a browser where you are already signed in. The connection lasts 30 days and can be revoked on the dashboard. Tofu tells the agent to ask you before it goes live, adds a database, changes a domain, spends money, restores an earlier version or deletes anything. The docs say nothing here can change billing, buy or transfer a domain, or run SQL, and that secrets are entered in the dashboard, not by the agent.

Two ways to connect exist: a local stdio client needing Node.js 22 or newer, or the hosted address https://app.trytofu.ai/mcp added as a custom connector.

Install

Run in a terminal

claude mcp add --transport http tofu https://app.trytofu.ai/mcp

Add to Settings → Connectors → Add custom connector

https://app.trytofu.ai/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tofu": {
      "url": "https://app.trytofu.ai/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "tofu": {
      "type": "http",
      "url": "https://app.trytofu.ai/mcp"
    }
  }
}

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

{
  "mcpServers": {
    "tofu": {
      "serverUrl": "https://app.trytofu.ai/mcp"
    }
  }
}

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

{
  "mcpServers": {
    "tofu": {
      "type": "http",
      "url": "https://app.trytofu.ai/mcp"
    }
  }
}

Tools this server provides (9)

Taken from the project documentation; the running server may differ.

login
Starts a device sign-in and returns a code and approval URL.
finishLogin
Completes the sign-in after you approve it.
connectionStatus
Checks whether the agent is connected.
deploy
Puts an app online.
status
Reports an app's current status.
getRuntimeLogs
Reads runtime logs.
getBuildLogs
Reads build logs.
rollback
Puts an earlier version back.
databaseStatus
Reports a database's status.

What it does

Deploy and rollback
Put an app online, list deployments and restore an earlier version.
Logs and status
Read build and runtime logs and check a deployment's state.
Managed databases
Create, back up, restore and migrate a database for an app.
App sign-in controls
Configure sign-in, users, invites and sharing modes.
Domain management
Connect, verify and manage domains and DNS records.
Approval prompts
The agent is told to ask before risky actions, and login needs your browser approval.

Good for

  • Ship a project built by a coding agent without leaving the chat
  • Read runtime logs after a failed update
  • Roll back to a previous version
  • Add a custom domain and database to an app
  • Invite people to a private app

Pricing

Freemium, from $5 a month

Free; Starter $5/mo (up to 5 apps), Pro $20/mo (unlimited apps); 7-day trial on paid plans

Prices change. Check trytofu.ai before you buy.

Tofu FAQ

How do I connect an agent?

Run the setup prompt for your coding agent, or add https://app.trytofu.ai/mcp as a remote MCP server.

How long does a connection last?

30 days, and you can revoke it on the dashboard's Coding agent page.

Can the agent change billing or run SQL?

No. The docs say nothing here can change billing, buy or transfer a domain, or run SQL.

What does Tofu cost?

Free to start, Starter is $5 a month and Pro $20 a month, with a 7-day trial on paid plans.

Is Tofu free?

Tofu has a free plan, with paid plans for more usage or features. Paid plans start at $5 a month.

How do I add Tofu to Claude Code?

Run this command in your terminal: claude mcp add --transport http tofu https://app.trytofu.ai/mcp

What are the best alternatives to Tofu?

The closest alternatives to Tofu are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Tofu

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools