Deploy button
Put a button in your repository's README, and anyone who reads it can run their own copy on their own server, with the address filled in for them.
Add it to your README
Paste this near the top of your README and change the repository address to yours.
[](https://my.server4agent.com/deploy?repo=https%3A%2F%2Fgithub.com%2Fyour-org%2Fyour-repo)Where Markdown is not an option, the same button works as HTML.
<a href="https://my.server4agent.com/deploy?repo=https%3A%2F%2Fgithub.com%2Fyour-org%2Fyour-repo"><img src="https://www.server4agent.com/badges/deploy.svg" alt="Deploy to Server4Agent" height="32"></a>What happens when someone presses it
The button opens the dashboard with your repository in the Git import. Someone without an account signs up first and comes straight back to it. They pick the server it runs on, see the environment variables your repository's .env.example asks for, and press Create. Nothing is cloned or run before that.
Someone with no server yet makes one first, and lands back on your repository when it is ready.
The link
The button is a plain link, so you can also put it in a blog post, a tweet or your own docs. repo takes a public repository on github.com or gitlab.com, as a full address or as owner/repo for GitHub. ref is optional and picks a branch, tag or commit instead of the default branch.
https://my.server4agent.com/deploy?repo=https://github.com/your-org/your-repo
https://my.server4agent.com/deploy?repo=your-org/your-repo&ref=mainA link to a folder inside a repository, or to any other host, is refused rather than guessed at. A private repository also needs a token: whoever deploys it adds one under Secrets and names it in the import.
Made with Server4Agent
To say where your app runs, add the badge to its footer. It opens our homepage in a new tab, so your visitors keep their place in your app. There is a light and a dark version.
<a href="https://www.server4agent.com/?utm_source=made_with_badge&utm_medium=referral&utm_campaign=badges&utm_content=app_footer" target="_blank" rel="nofollow noopener"><img src="https://www.server4agent.com/badges/made-with.svg" alt="Made with Server4Agent" height="28"></a>Or in a README:
[](https://www.server4agent.com/?utm_source=made_with_badge&utm_medium=referral&utm_campaign=badges&utm_content=app_footer)Connect an agent
Create a key, paste the MCP config, and your assistant can publish what it builds at a live URL that keeps running.