Skip to content
AppHaven.

Cursor app hosting

Hosting for apps built with Cursor

Deploy your Cursor app today on European infrastructure. Managed hosting, database, login, backups and HTTPS included.

€50 free credit for your first 60 days. No credit card required.

From Cursor to production.

The app runs fine on localhost. Getting it in front of real users means a server, a domain with HTTPS, a database that is backed up and a way to test the next change first. AppHaven does that part, and you never leave Cursor: push a branch and it is running.

From prototype to production

Everything your Cursor app needs to run for real.

Cursor moves fast. Your hosting should keep up without asking you to become an infrastructure engineer.

Everything your app needs

Hosting, a managed PostgreSQL database, environment variables, HTTPS on your own domain and login in front of private apps.

Push from Cursor, see it running

A branch that matches your preview pattern deploys on its own URL with its own database. Production releases when you push the production branch.

AGENTS.md aware

Cursor reads the AppHaven block in AGENTS.md, so its agent knows the manifest format and the read-only CLI without you explaining it.

Pay only for what you use

CPU, memory and storage are billed per minute. No plan tiers and no per-seat charges.

How it works

Three steps to a running app.

  1. 01

    Create your account

    Sign up and connect the Git repository your app lives in.

  2. 02

    Let Cursor prepare the app

    It adds a Dockerfile and a short apphaven.yaml describing the app and its database.

  3. 03

    Push and go live

    AppHaven builds the app and runs it on HTTPS, with its database and backups in place.

Cursor and AppHaven

From Cursor to production, step by step.

Cursor works in your repository, and so does AppHaven: the app you ship is exactly what is on the branch you push. Here is how the two fit together.

Let the agent prepare the app

Ask Cursor to add a Dockerfile and an apphaven.yaml describing the app and its database. With the AppHaven instructions in your AGENTS.md, it knows the manifest format and validates it with the CLI before you push.

Connect the repository once

Install the AppHaven GitHub App on the repository and choose the production branch. From then on every push deploys; there is nothing to run from Cursor.

Preview branches are your staging

Push a branch matching your preview pattern and it runs on its own URL with its own database. Try the change from Cursor's browser or hand a colleague the link.

Debug from the chat

The read-only apphaven CLI lets Cursor's agent check status, read the build log after a failed build and tail container logs, then fix and push. No dashboard round trips.

Environment variables stay outside the code

Set them in the console. The agent can list the names that exist, so it knows what is configured, but never sees the values.

Production stays reviewed

The CLI cannot deploy or change anything. Releases happen when your production branch changes, so pull request reviews and branch protection keep working as before.

AGENTS.md

Tell Cursor how your app ships.

Add a few lines to AGENTS.md and Cursor knows how to configure the app for AppHaven, check the configuration and read the logs when a build fails.

  • Cursor writes the Dockerfile and apphaven.yaml for you
  • The AppHaven CLI checks the configuration before you push
  • Build and runtime logs are one command away when something fails
  • The CLI is read-only, so diagnosis never changes production

AGENTS.md

## Hosting on AppHaven

Read https://docs.apphaven.eu/agent-integration/ for CLI setup.
Read https://docs.apphaven.eu/ for platform configuration.

- Run `apphaven validate` after changing apphaven.yaml.
- `apphaven status <app>`: deployment state and URL
- `apphaven build-log <app>`: build output
- `apphaven logs <app> --service <service>`: application logs

Commit it to your repository and Cursor picks it up on the next task. Agent integration documentation

Questions

Good to know.

Does Cursor read AGENTS.md?

Yes. Cursor picks up an AGENTS.md in the repository root as project instructions, so the AppHaven block is available to its agent on every task.

Do I deploy from inside Cursor?

You push from Cursor, and AppHaven deploys. Pushes to preview branches become previews, pushes to the production branch become releases.

My app works locally but fails on deploy. How do I find out why?

Ask the agent to run apphaven build-log or apphaven crash-log. The failure is at the tail of the log, and the agent can fix the Dockerfile or configuration and push again.

Which languages can I deploy?

Anything that runs in a container: Node, Python, Go, Ruby, PHP, Rust and more. If the repository has a Dockerfile, it deploys.

Works locally? Ship it live.

Move from code to a running application without building the infrastructure yourself.

€50 free credit for your first 60 days. No credit card required.