Deploy from your coding agent
Deploy from Claude Code, Cursor or VS Code. Your agent ships the code it wrote, reads logs, metrics and traces, and fixes production through Hangar's hosted MCP server.
Read https://tryhangar.io/agents.md and connect yourself to Hangar.Paste it into Claude Code, Cursor or any agent with a terminal. It reads the instructions and sets itself up.
Empty project
web
acme-shop.hangar.run
db
postgres 17 · daily backup
cache
redis 7.4
web · Variables
0No variables yet
Or set it up yourself
Nothing to install. The server lives at https://mcp.tryhangar.io/mcp and speaks Streamable HTTP. Your browser opens Hangar to sign in, and you pick the organization the agent works in.
claude mcp add --transport http --scope user hangar https://mcp.tryhangar.io/mcpThen run /mcp in Claude Code, pick hangar and sign in. Then ask it to "deploy this to Hangar and check the logs for errors."
The reach you have in the dashboard
Over MCP, the agent finds the service for your repository, ships it, reads what production says and changes what needs changing.
Find things
Match the repository in front of it to its service
find_services_by_repolist_projectsget_serviceDeploy
Deploy, follow the build to the end and roll back
deploy_servicewait_for_deploymentrollback_serviceObserve
Read runtime logs, failing requests, traces and metrics
get_service_logslist_requestsget_traceConfigure
Change variables, domains and build settings
set_envadd_domainconfigure_serviceCreate
Start projects, apps from GitHub and databases
create_projectcreate_app_from_githubcreate_databaseRun
Start, stop and restart services, run cron jobs now
restart_servicestop_servicerun_cron_now
Never more access than you
It acts as you
Every call runs with your role in the organization you picked, and the audit log shows it as yours, marked with the agent.
You approve every agent
Hangar shows who is asking before an agent gets access. Disconnect it in the AI agents tab and its access ends right away.
Secrets stay masked
Variables and database passwords are hidden unless the agent asks to reveal them, and connect_database wires a URL without passing it through the chat.
Nothing gets deleted
An agent can stop a service or remove a domain, but it cannot delete services, databases or volumes.
Questions
Do I need to install anything?
No. The MCP server is hosted by Hangar. You add its URL to your agent with one command or one JSON file, and the agent opens your browser to sign in.
Which agents work with Hangar?
Any client that speaks the Model Context Protocol over Streamable HTTP: Claude Code, Cursor and VS Code have ready-made setups, and other clients need only the URL.
Can the agent deploy code that is not pushed to Git?
Yes, for an app that is not connected to a repository. The agent asks Hangar for an upload link that works once, for 10 minutes, and sends the working tree through it.
Can I use an agent without a browser, on CI?
Yes. Create an API key in the AI agents tab and the agent sends it as a bearer token instead of signing in.
Cleared for takeoff.
Pick a plan, and change it whenever your product needs it.
“I built Hangar so a deploy ends where the work does: at a git push, or at a prompt to your agent. Write to me, I read every message.”
Caio Pereira · Founder[email protected]