Connect your computer or your agent
Install the CLI and publish your app from the terminal — you or your AI agent. If your agent has no terminal, you can also connect it over MCP, with nothing to install.
1. Install pinfra
Mac / Linux
Windows (PowerShell)
Check that it installed:
Prefer to check before running it? The installer is short — read it before you run it, or download the binary and verify its checksum by hand. See the agent guide, with step-by-step manual install →
2. Connect your computer
Run this command: it opens your browser so you can confirm with your account in one click. No key to copy by hand.
You'll see a short code in the terminal and in the browser — check that they match before confirming.
3. Publish your app
From your project's folder, run:
The first time it asks where to publish; after that it already knows. To skip every prompt (scripts, CI), use --yes.
What can be published today
Published apps run on Next.js today. If your project uses a different stack, it isn't supported yet.
Connect your agent
If your AI agent has a terminal (Claude Code, Cursor, Codex, Gemini CLI), it can already publish with the CLI you installed above — copy the prompt below to it. If it has no terminal, connect it over MCP.
Copy this to your AI
Paste it as-is into your AI agent. It tells the agent to pause and ask you to confirm in the browser before continuing.
Necesito que publiques esta aplicación en pinfra. 1. Instalá el CLI si todavía no está instalado: curl -fsSL https://pinfra.app/install | sh (Mac/Linux) irm https://pinfra.app/install.ps1 | iex (Windows, PowerShell) 2. Conectá esta computadora con mi cuenta: pinfra login Esto abre MI navegador para que yo confirme con un click. Pausá acá y avisame que tengo que confirmar en el navegador — no sigas hasta que te diga que ya confirmé. 3. Una vez conectado, publicá este proyecto sin volver a preguntarme nada: pinfra publish --yes Contame la dirección de la aplicación cuando termine.
No terminal for your agent?
An agent with no terminal (Claude Desktop, for example) can't run the CLI. Connect it over MCP instead: nothing to install, one command and your personal key.
Connection command
Runs inside pinfra: no binary to install. You need a personal key (Settings → "Keys for connecting tools").
claude mcp add --transport http pinfra https://platform.pinfra.app/mcp \ --header "Authorization: Bearer <tu-clave>"
Your agent can list your apps and check their status this way. To publish, run `pinfra publish` on your computer.
⚠ Never share your personal key. If you suspect it leaked, revoke it in Settings and create a new one.
Are you an AI agent reading this?
There's a version written for you, shorter and with no filler.
See the agent guide (/cli/ia.md) →