Your coding agent can ship to AppMecca
We publish a single-file guide that teaches Claude Code, Cursor, Copilot and other coding agents how to configure and deploy your app on AppMecca.
Use the agent you already have
Paste this into Claude Code, Cursor, Copilot or another agent that can read a web page and run commands. It sends your agent to the guide, then tells it to explain what it will change and to ask you before anything that deploys.
Read https://docs.us.appmecca.net/ai-agent-guide/ and use it to configure and deploy this repository to AppMecca with the mecca CLI. Explain what you will change before you change it, and ask me before anything that deploys.Where it points
- AI Agent Guide
The guide itself: one file on our docs site.
- llms.txt
A short index of this site and the docs, for agents.
- Installing the CLI
Install mecca from npm or Homebrew, then sign in.
One file, written for your agent
The AI Agent Guide is one file on our docs site, and it assumes nothing about which agent reads it. The commands, config keys and environment variables it names are checked against the platform's own code by an automated test.
Pick the right shape first
A glossary of the platform's terms, then a decision tree that sorts your project into a container app, a static site or a mix of the two before any config is written.
The full config reference
The keys of appmecca.yaml with their types, defaults and bounds, after the trap the guide puts first: a key the platform doesn't recognize is silently ignored.
The Dockerfile contract
What your image must do to run here: listen on 0.0.0.0 on the port you declare, run without privileged capabilities, and carry what its health check needs.
Backing services, one line each
PostgreSQL, Redis, drives, buckets and email for notifications: what to declare, and which environment variables then reach your container.
Traps, called out where they bite
Where the platform accepts something silently and then behaves in a way you might not expect, the guide calls it out as a trap, right where it applies.
An agent operating procedure
The last chapter is the agent's procedure: what to inspect in your code, what to ask you, which commands to run in which order, and how to verify the result.
What happens, step by step
Give it the guide
Paste the prompt above. Or save the guide in your repository as APPMECCA.md, or add it to the instruction file your agent already reads: CLAUDE.md, AGENTS.md or .cursorrules.
Sign the CLI in yourself
Install the mecca CLI and run mecca login. You approve the sign-in in your browser, and your agent's commands then run as you.
It reads your code, then asks
The guide has your agent draft appmecca.yaml, and a Dockerfile if your app needs one, then ask you what your code can't tell it: which branch, public or private, and whether there's a database to bring over.
It deploys, then reports back
Once you agree, it registers your repository and deploys with the CLI. Then it reads the deploy status and logs, and reports back to you.
One agent, one sample app, from config to a live URL
On 13 October 2026, Claude Code (Claude Opus 5.5) was given a sample app's code with its appmecca.yaml removed, and the AI Agent Guide. It read the code, wrote the config, registered the app and deployed it, with mecca 6.0.0.
containers:
- name: web
dockerfile: Dockerfile
context: .
deploy:
- name: web
container: web
port: 8080
replicas: 1
visibility: public
health_check:
path: /health
resources:
memory: 256m
environment:
DEMO_APP_SLUG: db-demo
DEMO_GROUP: appmecca-demo
# Managed PostgreSQL; DATABASE_URL is injected. The app's pool is 4 (POOL_MAX in backend/app.py).
database:
enabled: true
max_connections: 5$ mecca -e us group create appmecca-demo --name "AppMecca demo"
✓ Created @appmecca-demo (you are the owner).
$ mecca -e us --group appmecca-demo register git@gitlab.com:appmecca-sample-apps/db-demo.git -b demo --link-git gitlab
✓ Registered Db Demo (db-demo)
Private — reachable only to your group until you publish it.
$ mecca -e us --group appmecca-demo app deploy db-demo -b demo
db-demo has no build yet — triggering build + deploy…
✓ Queued dafb317b-a1f6-4011-8fd8-364d228ee78d
$ mecca -e us --group appmecca-demo queue status e5223173-a2b6-4c1e-bb7e-162457b8f952
action_type: DEPLOY
status: completed
image_tag: 2fe1b0b
$ mecca -e us --group appmecca-demo app publish db-demo -b demo
✓ db-demo: visibility=public (branch demo)
$ curl -sS -o /dev/null -w '%{http_code}' https://db-demo-demo-appmecca-demo.us.appmecca.net/
200mecca app publish to open it.The same tools as you
AppMecca doesn't come with an agent of its own; it runs what yours builds. Your agent works through the CLI and the API you use, and its builds and deploys show up in your dashboard beside your own.
The mecca CLI
Install it from npm or Homebrew. Its read commands for app status, builds, the deploy queue and logs print one
JSON document with --json, so your agent reads data, not tables.
The REST API
The API the CLI and the dashboard are built on, with a public reference. The session from mecca login works for it too.
Deploy hooks
For CI: one secret URL, scoped to one app on one branch. A POST to it rebuilds and redeploys your app. Push-to-deploy webhooks for GitHub and GitLab work the same way, on the branches you switch on.