← Back to AppDeploy

Deploy apps from Muse Code - setup guide

This guide shows how to connect AppDeploy to Muse Code, Meta’s terminal coding agent, so it can deploy apps from chat and return a live URL.

Follow the steps below to set it up once, then deploy whenever you’re ready, without leaving Muse Code.

Step-by-step Instructions

  1. Open your Muse Code settings file at ~/.config/muse/settings.json (create it if it doesn’t exist) and add AppDeploy under mcp_servers:

    { "schema_version": 1, "mcp_servers": { "appdeploy": { "transport": "streamable_http", "url": "https://api-v2.appdeploy.ai/mcp" } } }

    If the file already exists, add the appdeploy entry to your existing mcp_servers block and keep the rest of your settings.

  2. Sign in to AppDeploy - run this in your terminal:

    muse mcp login appdeploy

    An authentication screen opens in your browser. Pick how to sign in: Google, Apple, or X. Once connected, the terminal shows “Logged in to MCP server appdeploy”. Muse Code keeps the sign-in and refreshes it automatically.

  3. Start a new Muse Code session. AppDeploy’s tools load automatically.

  4. Setup is done! Ask Muse Code to build your app - it will use AppDeploy to deploy it. For example:

    “Build a Hello Muse webpage with a global visitor counter and deploy it with AppDeploy.”

Note: Signing in requires Muse Code 1.1.1 or newer - check with muse —version. On a machine without a browser, run muse mcp login appdeploy —headless and paste the final redirect URL back into the terminal.


Need Help?

If you encounter any issues, check our troubleshooting guide or contact us at support@appdeploy.ai.