Submit item

Let your AI agent prepare and submit your app, or do it by hand: GitLab, Docker settings, test install and review.

Every install of your app runs as a Docker Compose stack on the client's own server. To submit an item you need three things: the app's image in your own GitLab, a file called appdonia.yaml that describes the stack, and the item itself with its description, prices and images.

Your AI coding agent can do almost all of it for you. You can also do every step by hand.

The short way: with your AI agent

Appdonia has an MCP server for authors. Once your agent (Claude Code, Cursor and others) is connected to it, the agent can prepare your project and create the item in your account.

  1. Log in to Appdonia, open Portfolio and choose Submit with AI. The page is at appdonia.com/portfolio/ai-access.
  2. Claude app (desktop or web): no token needed. In Claude, open Settings › Connectors › Add custom connector, paste the address from the page (https://appdonia.com/mcp/authors), press Connect, sign in to Appdonia and choose Allow.
  3. Claude Code, Codex, Cursor and other agents use a token. Choose More options to connect, then Create token. Your token appears in a green box. It is a long line of letters and numbers that works like a password for your agent. The page then shows the command for Claude Code with your token already filled in. Choose Copy and run it in your terminal:
claude mcp add --transport http appdonia https://appdonia.com/mcp/authors --header "Authorization: Bearer YOUR_TOKEN"

YOUR_TOKEN is only a placeholder on this help page. Do not type it as it is. Use the command from the Submit with AI page, or replace YOUR_TOKEN with the token from the green box.

The token is shown only once, right after you create it. If you left the page before copying it, choose Make a new token and copy the new one. See Your token.

  1. Open your project with the agent and tell it:
Make this project deployable on Appdonia and create it as an item in my Appdonia account. Ask me for the prices.

The agent then:

  • reads your project and writes docker/appdonia.yaml,
  • checks that the app sets itself up when its container starts, and fixes that where needed,
  • creates the item as a draft, with the title, description, category, prices, Docker settings and images.

Nothing is public and nothing is sent for review until you say so. Look at the draft in your portfolio, test the install, then tell the agent:

Submit the item for review.

For Codex, the page shows the lines to add to ~/.codex/config.toml. For Cursor and other agents, it shows the same settings as a JSON block for its MCP settings, also with your token filled in:

{
  "mcpServers": {
    "appdonia": {
      "type": "http",
      "url": "https://appdonia.com/mcp/authors",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}

What the agent can do

Tool What it does
get-account Reads your GitLab path and whether your GitLab is connected
set-gitlab-path Connects your GitLab group or username to your author account
get-deploy-guide Gets the rules and templates for appdonia.yaml
list-item-options Reads the categories, tags and price limits
list-items, get-item Reads your own items
create-item Creates a draft
update-item Changes the fields it sends, and nothing else
submit-item Sends a draft for review

The agent can also upload the product image and screenshots from your computer.

Your token

  • You get it on Portfolio > Submit with AI > More options to connect > Create token. The Claude app does not need one. Only authors have this page.
  • The token lets the agent work on your own items and nothing else. It cannot see your earnings, your clients or other authors' items.
  • It is shown once. If you lose it, make a new one. The old one stops working.
  • Revoke on the Submit with AI page switches it off at once.
  • Keep it out of files that you commit.

Connect your GitLab

The image stays in your own GitLab account, so its storage and limits are yours and you stay in control of it.

  1. Build your app into a Docker image and push it to the container registry of your GitLab project. The image link looks like registry.gitlab.com/your-group/your-app:1.0.0.
  2. In GitLab, open that project, go to Manage > Members and invite @mobidonia-deploy with the Maintainer role. This is the Appdonia deploy account. The role is needed to create the short-lived install tokens.
  3. Connect your GitLab group or username to your author account, once. Your AI agent does it with the MCP server: ask it to connect your GitLab, or let it find the path in your git remote. Without the MCP server, open a ticket with your GitLab group or username and we connect it. Once connected, it shows under the Private Image field of your items and on the Submit with AI page.

A GitLab group can be connected to one Appdonia account only. If yours is already taken, or you need to change it after your items use private images, open a ticket.

You can use the project your code is already in. If you would rather not give access to your source code, push the images to a separate project and invite @mobidonia-deploy only there.

The client's server never gets a lasting key to your registry. For each install we create a token that can only read that one project and expires within the hour, and we remove it as soon as the install has finished.

An app that uses only public images needs none of this. Leave the private image empty.

Create the appdonia.yaml file

The stack is described in a file called appdonia.yaml, kept in your project as docker/appdonia.yaml. It is a Docker Compose file with a few Appdonia conventions.

Your agent writes it for you:

  • With the MCP server connected, the guide comes with it. You install nothing else.
  • Without it, install the appdonia-deploy skill and run /appdonia-deploy laravel in your project. The skill supports Laravel projects.

A small example:

services:
  app:
    image: registry.gitlab.com/your-group/your-app:1.0.0
    environment:
      - SERVICE_URL_APP_80
      - APP_URL=${SERVICE_URL_APP}
      - DB_HOST=mysql
      - DB_PASSWORD=${DB_PASSWORD}
    depends_on:
      - mysql
  mysql:
    image: mysql:8.4
    environment:
      - MYSQL_DATABASE=app
      - MYSQL_PASSWORD=${DB_PASSWORD}
    volumes:
      - mysql-data:/var/lib/mysql
  • SERVICE_URL_<NAME>_<PORT> marks the service that gets the client's domain and the port it listens on. One service must have it.
  • ${NAME} takes its value from the item's environment variables, which are filled in for each install. See Environment variables.
  • The app must start without an install wizard: on start it migrates the database and creates the first admin from the environment variables.

Add it to your item by hand

If you do not use the agent for this step, open your item from Portfolio, choose Edit and go to Docker Settings.

Field What to enter
Docker Compose (YAML) The content of your appdonia.yaml file
Private Image The link to your image with its tag, for example registry.gitlab.com/your-group/your-app:1.0.0. It must be one of the images in the Docker Compose file and it must be in your connected GitLab.

A stack can have one private image. All other images in it must be public.

When you save, we check that the file is valid, that one service has a public port, and that we can reach the image's project in GitLab. The agent gets the same checks and the same messages.

Test your install

You can install your own app at any time, also while it is still a draft. Use Test install in your portfolio or in the Docker Settings of the item.

  • Installs of your own apps cost nothing: you pay no app price and need no licence.
  • You do not need a plan.
  • You install on your own server, the same way a client does, so you only pay your server provider.

Test the install before you send the item for review. An item that installs cleanly is approved much faster.

Submit for review

An item needs a description and a price before it can be submitted. A product image, screenshots and working Docker settings are what the reviewer looks at first.

  • With the agent: tell it to submit the item. It tells you if something is missing.
  • By hand: open the item, choose Edit and then Submit for Review.

The item is then In review. If it is rejected, read the feedback on the item, change it and submit it again. Becoming an author lists every status.

Release a new version

  1. Push the new image to your GitLab with a new tag, for example 1.1.0.
  2. Change the tag in both the Docker Compose file and the Private Image field. With the agent: "Update my item to version 1.1.0".
  3. Add a changelog entry with the new version, so clients can update.

Use a new tag for every release, and do not delete the tags of versions that are still published. Clients can only install what is still in your registry.

Appdonia

Secure checkout by AgentaOS