Deploy a Cursor Project on Hostman App Platform
This guide walks you through taking a project built in Cursor and shipping it to a live URL using Hostman App Platform.
So, you've built (or generated) an app in Cursor, but you're not sure how to get it online. The path is straightforward: push your code to GitHub, connect that repository to Hostman, and deploy.
Along the way, we'll set up MCP, which lets Cursor talk to your GitHub account directly from the chat. That means creating repositories and pushing code without touching the command line.
This guide assumes no prior experience with GitHub or deployment—just follow the steps in order.
Step 1. Create a GitHub Account Copy link
You'll need a GitHub account to host your project's code and connect it to Hostman.
-
Go to github.com and click Sign up.
-
Sign up with Google, Apple, or an email address—whichever is easiest for you.
Once you're done, you'll land on your GitHub dashboard.

Step 2. Generate an Access Token Copy link
Cursor needs an access token to act on your behalf on GitHub—creating repositories and pushing code.
In your GitHub account:
-
Click your profile icon in the top-right corner and select Settings.
-
Scroll down in the left sidebar to Developer settings, then go to Personal access tokens → Tokens (classic).
-
Click Generate new token, then Generate new token (classic). GitHub may ask you to re-enter your password at this point—that's expected.

-
Under Note, give the token a descriptive name, like
Cursor-access. -
Under Expiration, choose how long the token should last. If you'd rather not deal with this again, select No expiration.
-
Under Select scopes, check the repo box to grant Cursor the necessary permissions.
-
Click Generate token.
Treat this token like a password. Don't commit it to your repository or share it publicly. If you think it's been exposed, revoke it at github.com/settings/tokens and generate a new one.
Step 3. Connect the GitHub MCP Server to Cursor Copy link
No manual configuration files needed here—you can set up the MCP connection right from Cursor's chat.
-
Open the chat panel in Cursor and send a message like: Connect the GitHub MCP server. Use this token to authenticate:
YOUR_GITHUB_TOKEN.
Replace YOUR_GITHUB_TOKEN with the token you generated earlier.

-
Wait for Cursor to finish setting up the connection, then restart Cursor.
From here on, Cursor can create repositories and push files on your behalf whenever you ask it to in chat.
Step 4. Push Your Project to GitHub Copy link
Next, create a repository and push your project to it—all from within Cursor.
-
In the chat, ask Cursor to create a repository: Create a new public GitHub repository for my project.
Cursor will ask for permission to run this action—approve it.

Once the repository is created, you can confirm it exists by checking your repository list on GitHub.
-
Now push your code. In the same chat, send: Push the project in the current directory to this repository using the GitHub MCP server.
If your code lives in a subfolder rather than the project root, mention that folder explicitly.
Cursor will again ask for permission before pushing—approve it, then check the repository on GitHub to confirm your files are there.
Step 5. Deploy the Project on App Platform Copy link
With your code on GitHub, you're ready to deploy.
-
Open the Hostman dashboard, go to App Platform, and click Create.
-
Choose your application type—Frontend, Backend, or Docker—and select the framework your project uses. If you're not sure, ask Cursor to check for you.
-
Connect your repository:
-
-
On the Repository step, click the GitHub icon.
-
Sign in to your account.
-
Authorize access to your repositories.
-
Select the repository you want to deploy.
-
If you're already signed in, your repositories will appear right away. If the one you need isn't listed, click Add Account, select GitHub again, and grant access.
This gives Hostman access to your GitHub repositories and lets you enable auto-deploy, so your app redeploys automatically whenever you push changes.
For auto-deploy to work, keep the option Built by the last executed commit enabled.
-
Select the commit to deploy (usually there's just one).
-
Choose the region where your app will run.
-
Under App Settings, configure your application. You can find the full list of parameters in the docs for frontend, backend, Dockerfile, and Docker Compose apps—or ask Cursor what values to use for your setup.
-
Click Order and wait for the deployment to finish.
You’re Live! Copy link
Once the app is live, open the Dashboard tab. The Domain field shows the technical domain where your app is running. You can change this to a custom domain anytime from Settings.
Going forward, shipping changes is just as simple. Make your edits to the project in Cursor and tell Cursor to commit and push these changes to the repository using the GitHub MCP server.
Hostman will pick up the new commit and redeploy automatically.