All guides

Deploy from an AI app (MCP)

Register one URL in Claude, ChatGPT, Cursor, VS Code or Claude Code, then say "deploy this" to ship your app.

  1. 1Connection URL

    Use this one URL in every AI app. No install or API token — the first time you connect, the OneCloud sign-in and approval screen opens. You can also copy it from Account settings → Connected apps.

    url
    https://dash.app.onecloud.im/mcp
  2. 2Claude (claude.ai, desktop, mobile)

    claude.ai/customize/connectors → Add → Add custom connector → name OneCloud, URL above → Continue → Add → Connect. On Team and Enterprise, an owner adds it under Organization settings → Connectors and members press Connect. Turn OneCloud on from the + menu in a chat.

  3. 3Claude Code (terminal)

    After adding, run /mcp in Claude Code → onecloud → Authenticate to open the approval screen in your browser.

    bash
    claude mcp add --transport http --scope user onecloud https://dash.app.onecloud.im/mcp
  4. 4Cursor

    Press "Add to Cursor" in Account settings → Connected apps, or put this in ~/.cursor/mcp.json (or .cursor/mcp.json for one project). In Settings → MCP press Login next to onecloud to approve.

    json
    {
      "mcpServers": {
        "onecloud": { "url": "https://dash.app.onecloud.im/mcp" }
      }
    }
  5. 5VS Code (GitHub Copilot agent)

    Press "Add to VS Code", or Command Palette → MCP: Add Server → HTTP → the URL above. To share with your team, put it in .vscode/mcp.json. The approval screen opens on first use.

    json
    {
      "servers": {
        "onecloud": { "type": "http", "url": "https://dash.app.onecloud.im/mcp" }
      }
    }
  6. 6Gemini CLI and Codex CLI

    Approve with /mcp auth onecloud in Gemini, or codex mcp login onecloud in Codex.

    bash
    # Gemini CLI
    gemini mcp add --transport http --scope user onecloud https://dash.app.onecloud.im/mcp
    
    # Codex CLI
    codex mcp add onecloud --url https://dash.app.onecloud.im/mcp
    codex mcp login onecloud
  7. 7ChatGPT

    chatgpt.com/plugins → + → Add custom MCP server → Connection: Public endpoint, the URL above, OAuth → Create. (Custom MCP servers are available on ChatGPT web for Business, Enterprise and Edu.)

  8. 8Approve access

    Pick permissions on the approval screen: read (always), write (create, deploy, change — needed to deploy) and run commands (only when you need it). The app can only do what your account can, within what you approved. Deleting or rolling back always asks you first.

  9. 9Deploy in one go

    You connect and sign in only once. After that, build an app in a Claude or ChatGPT chat and just say "deploy this to OneCloud". 1. The AI uploads the code from the chat as is (no Dockerfile needed — the language is detected). 2. It finds or creates the project and waits for the build and rollout. 3. When it's done it gives you the public URL (https://…), ready to use. For long builds the AI keeps waiting with wait_for_deployment and then tells you the URL. If a deploy fails, it reads the build and runtime logs, fixes the code and redeploys. An existing app is only overwritten when you ask to update it, like "fix it and redeploy". If a project name looks like a typo of an existing one, it asks before creating a new project. Sources: code it just wrote (files), a GitHub repository (auto-deploys on push), a public Git URL, or a Docker image. Your app must listen on $PORT (default 8080).

    text
    지금 만든 앱을 OneCloud 에 배포하고 주소 알려 줘
    이 폴더의 앱을 OneCloud 에 배포해 줘
    acme/shop-api 저장소를 배포하고 환경변수 DATABASE_URL 도 넣어 줘
    nginxinc/nginx-unprivileged 이미지를 hello 라는 이름으로 배포해 줘
    방금 배포한 앱 버튼 색을 바꿔서 다시 배포해 줘
    방금 배포한 앱이 실패했어. 로그 보고 고쳐서 다시 배포해 줘
  10. 10Disconnect and troubleshoot

    Disconnect any time in Account settings → Connected apps (takes effect immediately). To change permissions, disconnect and connect again. If the approval screen doesn't open, press Authenticate or Login again in the app. "Insufficient scope" means you approved without write — reconnect and choose write.

Related guides