Google Antigravity takes plugins: a skill and the MCP servers it needs, installed together in one step. Server4Agent is now one of them. Install it, sign in once, and the agent you already use in Antigravity can build an app, run it on a server and hand you a live URL.
Quick answer
Run agy plugin install https://github.com/Server4Agent/server4agent-mcp. The first time Antigravity connects to Server4Agent it opens your browser. Sign in to your Server4Agent account, or create one, and approve the connection. There is no API key to copy. Then ask for something, for example "Write a landing page for my bakery and deploy it to a live URL."
Key takeaways
- One command installs the plugin: the Server4Agent skill plus the MCP server at
https://mcp.server4agent.com. - Sign-in happens in your browser, so no key ends up in a config file.
- The plugin passes Antigravity's own validator in strict mode (
agy plugin validate --strict) with no errors and no warnings. - Your agent keeps working where it already does. Server4Agent is where the result runs and gets its address.
- Projects start private and go public when you deploy them.
What the plugin adds
The plugin is a public repository, Server4Agent/server4agent-mcp, and it brings two things:
- The Server4Agent MCP server. Its tools create servers and projects, write files, run commands, start apps and deploy them.
- A skill that tells the agent how to use those tools well: reuse a running server that has room before creating another, keep projects private until you deploy them, and always reply with the live URL.
Because the skill and the server arrive together, the agent learns how to use the tools at the same moment it gets them. Updates come from the same repository.
Install it
- Install the plugin with
agy plugin install https://github.com/Server4Agent/server4agent-mcp. Antigravity's app and IDE can install a plugin from the same GitHub address. To check the install, runagy plugin listand look forserver4agent. - Sign in. When Antigravity first connects to Server4Agent, it opens a browser window. Sign in, or create an account, and approve the connection. If no window opens, find Server4Agent under Customizations, Installed, and click Authenticate next to it.
- Ask for something real.
Your first request
The plugin suggests three starting points, and the first is the quickest way to see the whole loop:
Write a landing page for my bakery and deploy it to a live URL.
The agent finds a running server or creates one, creates a project, writes the page, starts it and deploys it. A few minutes later it replies with an address on apps.server4agent.com, and the page is there when you open it. The other two suggestions go further: a small API that turns a CSV upload into JSON, and an hourly check that logs when your website is down.
Because projects persist, the next request can be "add our opening hours to the bakery page", and it changes the same app at the same URL. The quickstart walks through the same loop one step at a time.
FAQ
Do I need an API key?
No. The first time Antigravity connects, it opens a Server4Agent sign-in in your browser. You would only create a key for a tool that cannot open that sign-in, or for the SDKs.
What does it cost?
You can start on the free plan. Every plan has a hard budget cap, so a project cannot spend more than you allow. The pricing page has the details.
Can I use the same plugin in other apps?
Yes. The same repository is also a plugin for other agent tools, and the integrations page has the setup steps for each app you can connect.
Where are the plugin's files?
They are public at github.com/Server4Agent/server4agent-mcp, under the MIT license.