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.
As of now, Muse Code doesn’t support the standard client-side OAuth authentication flow, which is why this guide uses the API key flow instead. Once Muse Code adds support for it, authentication will switch to the standard OAuth sign-in flow.
Step-by-step Instructions
Create an AppDeploy API key - run this in your terminal:
curl -X POST https://api-v2.appdeploy.ai/mcp/api-key -H "Content-Type: application/json" -d '{"client_name": "muse"}'Copy the
api_keyvalue from the response and save it securely - it cannot be retrieved later.Open your Muse Code settings file at
~/.config/muse/settings.json(create it if it doesn’t exist) and add AppDeploy undermcp_servers, replacingYOUR_API_KEYwith the key from step 1:{ "mcp_servers": { "appdeploy": { "transport": "streamable_http", "url": "https://api-v2.appdeploy.ai/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } }If the file already exists, add the
appdeployentry to your existingmcp_serversblock and keep the rest of your settings.Start a new Muse Code session. AppDeploy’s tools load automatically - the API key is your credential, so there is no browser sign-in.
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.”
Your API key identifies your AppDeploy account. Keep it out of shared configs and source control.
Need Help?
If you encounter any issues, check our troubleshooting guide or contact us at support@appdeploy.ai.