• DIRECT
  • PUBLIC
  • CHAT
  • HUMAN

How to distribute build artifacts with your AI

Connect Codemagic to your AI client once. After that, you can grab build files and share them using simple chat commands.

Ask AI about this page

Short answer

How can I get my IPA or APK files through my AI?

Your AI pulls the specific build files from Codemagic and generates either a secure authenticated link or a public URL for you. You'll get the direct download links right in your chat window. Here is how the process works.

The results.

Where your builds end up.

The AI handles the heavy lifting of finding and linking your files.

DIRECT

Authenticated links

The AI uses get_artifact to find your specific build. You get a link that works with your existing credentials.

PUBLIC

Public download URLs

If you need to share a build with someone else, the AI uses create_public_artifact_url to make a link that anyone can use.

CHAT

In-chat delivery

Instead of logging into a dashboard, the links appear directly in your conversation. You just copy and paste them.

HUMAN

Manual verification

You still decide which specific build version is the right one to share. The AI only provides the links you ask for.

The workflow

What your AI does when a build is ready.

The AI acts as a bridge between your Codemagic builds and your chat interface.

  1. Locate the build

    Your AI searches through your Codemagic project to find the specific IPA or APK you need.

    get_artifact
  2. Generate access

    The AI creates a way for you to actually download the file, either through a private or public link.

    create_public_artifact_urlget_artifact
  3. Deliver the link

    The AI presents the final URL in your chat window so you can use it immediately.

    create_public_artifact_url
  4. Confirm details

    The AI provides the file metadata so you can double check the build version before you send the link.

    get_artifact

Try it

Copy these to start.

Use these prompts to trigger the Codemagic tools.

Starting points

Replace the project names and file types with your actual Codemagic data.

Codemagic Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_pNfm2lX2WqmSzosnLxFoxsMQehesV2YsKzeaN0sV/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Codemagic capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "codemagic-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_pNfm2lX2WqmSzosnLxFoxsMQehesV2YsKzeaN0sV/mcp"
    }
  }
}
Copy into chat04
  • Get the download link for the latest APK from my mobile-app-repo project.

  • Create a public URL for the IPA file in the ios-build-prod project.

  • Find the most recent build artifact for my web-app-service.

  • I need a public link for the build in the beta-test-project.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Codemagic once, then ask.

Click the link to connect your account. Your credentials stay encrypted and you can start asking for files immediately.

Connect Codemagic to your AI

FAQ

How this task behaves.

  • 01

    Can the AI trigger a new build in Codemagic?

    No. This MCP only handles retrieving and linking existing artifacts.

  • 02

    Will the AI delete any of my builds?

    No. The AI does not have any tools to delete or modify files in Codemagic.

  • 03

    Can I get a link for an old build?

    Yes, as long as the artifact still exists in Codemagic, the AI can find it.

  • 04

    Does the AI choose which build is 'production ready'?

    No. You must specify which build or version you want to access.

  • 05

    Are public links accessible to anyone?

    Yes, if you use the tool to create a public URL, that link can be accessed without authentication.

  • More questions about Codemagic? The Connector page answers them. See everything the Codemagic Connector can do

Connect Codemagic to Claude, Cursor, ChatGPT & more