Galaxy MCP
Connect an MCP client to Galaxy to deploy apps, investigate failures, manage app settings, and review account usage.
Galaxy MCP connects your AI assistant to your Galaxy account through the Model Context Protocol. Start by checking which accounts the connection can access. From there, you can inspect and deploy apps, manage their settings, and review usage and estimated costs.
Connect to Galaxy
You need a Galaxy account and a client that supports remote MCP over Streamable HTTP with OAuth. Each Galaxy account you connect needs billing enabled with a valid payment method, even for read-only access. In an organization, your role also needs Connect MCP clients.
Use the client’s instructions for adding a remote MCP server. If you use a managed workspace, its policies may also limit which servers you can connect.
Add the server
Use the following server URL, then start the connection in your MCP client:
https://api.galaxycloud.app/mcpChoose what the client can access
Sign in to Galaxy and review the client name on the authorization screen. Select Only select accounts and choose the account you want to work with. Leave write access off for now.
All accounts includes your eligible personal account and organizations, including eligible organizations you join later. Use it only if you need that broader access.
Check the connection
Ask your assistant:
Using Galaxy MCP, list the Galaxy accounts this connection can access. Do not make any changes.
You should see only the accounts you authorized, along with your role and app permissions in each. If the account you expected is missing, check the connection’s account selection before you continue.
Manage access and approve changes
Account selection decides which accounts the client can see. Write access allows the client to request changes. Your Galaxy role and app permissions still determine which actions you can take. A confirmation prompt in your AI client is separate from all three: approving it does not grant extra Galaxy permissions.
If you need to deploy or change settings, authorize the client with write access and keep its account selection limited to the accounts it needs. To change selected accounts or revoke a connection, switch to your personal account and open Settings > MCP Clients under API & Integrations.
Before approving a change, check the account, app, and expected effect. For changes that raise your estimated cost, such as creating a paid app, Galaxy returns a quote before it makes the change. Some actions, such as deleting an app, also require confirmation. After you approve, the client must repeat the same request with the confirmation token, which is single-use and expires after five minutes.
Deploy an app
Choose the Galaxy account, region, app name, app type, and plan. Galaxy MCP can create Meteor apps on Essentials or Professional, and web apps on Production. Choose the source carefully: you can’t switch an app between Git and archive uploads after creating it.
Deploy from GitHub
Use Galaxy MCP to prepare a deploy of
example-org/example-appfrommainin my test account. Show me the app settings and estimated cost before creating anything. After I approve, deploy and report the app URL and deployment status.
Galaxy MCP supports GitHub for Git-based deployments. If the Galaxy GitHub App isn’t connected or can’t see your repository, ask your write-enabled client for an installation link. Open it yourself and grant access to the repository, then ask the client to check access again.
After approval, creating the Git-based app normally starts its first deploy. If Galaxy creates the app but returns no deployment ID, use deploy on that app instead of creating it again. Check Deployments or get_deploy_status, then open the app URL once it’s serving.
Deploy from an archive
Use this path to deploy local code without a Git repository. Galaxy MCP creates the app, requests an upload URL, and starts the deployment when you ask. The archive itself goes directly to storage over HTTPS, not through the MCP connection. Use a client that can work with local files and run a terminal command, or pack and upload the archive yourself.
Create an upload app
Call create_app with source: upload and leave out repository, branch, and integrationId. Review and approve the quote before creating the app. The response gives you an appId, but no deployment starts. If you already have an upload app, reuse its appId.
Prepare the archive
For a web app, use get_build_config on the app to check its install, build, and start commands. If fixedByTemplate lists a command, the framework template supplies it. If you need to change an editable setting, save it with update_build_config and leave redeploy off.
Pack the project contents into a .tar.gz with the project files at the archive root. Leave out .git, node_modules, .env files, credentials, and generated files the build doesn't need. See the Python upload example for how the archive root relates to the start command.
For Meteor, use the .tar.gz produced by meteor build --server-only --architecture os.linux.x86_64 <output-folder> as-is. Don't pack the Meteor source directory.
Request a URL and upload the file
Call request_upload with the appId, the compressed file's exact size in bytes (sizeBytes), and its hexadecimal SHA-256 checksum (sha256). The limit is 100 MiB (104,857,600 bytes). The tool returns an uploadId and a signed uploadUrl.
Send the same file with HTTP PUT before uploadUrlExpiresAt (15 minutes after the request). Keep the signed URL private. For example, from your terminal:
curl --fail --upload-file ./galaxy-app.tar.gz '<uploadUrl>'Start and verify the deployment
After the PUT succeeds, call deploy with appId and uploadId before deployBefore (one hour after the upload request). Galaxy checks the file's size and checksum, then starts the deployment using the same pipeline as galaxy deploy.
Check get_deploy_status or the app's Deployments page. Once the deployment succeeds, open the app URL. An upload ID can start only one deployment. For a new deploy from an archive, request a fresh upload.
Manage and troubleshoot apps
Investigate a failed deploy. Ask the assistant to check the latest deployment status and build logs without changing the app. If the build completed but the app won’t start, ask it to check runtime logs and health metrics too. Compare the findings with Deployments and Runtime Logs. A diagnosis suggests likely causes, not a guarantee that a particular fix will work.
Review usage before scaling. Ask what changed in this month’s usage, then request a cost estimate for a different container count or size. Estimates don’t change the app. Review the plan limits and quote before changing scaling settings.
Change app settings. Name the account, app, field, and intended value. Ask the assistant to show the current setting and tell you if applying the change requires a deploy. When working with environment variables, check changed keys rather than printing values. Don’t paste credentials or webhook URLs into a shared conversation.
Check before retrying. If a change returns an error, check the saved setting and deployment history before trying again. On an upload app, update_build_config with redeploy: true returns UPLOAD_REQUIRED without saving. Retry without redeploy, then request a fresh upload when you’re ready to deploy.
Troubleshoot access
- Authorization didn’t open or you were sent back to the dashboard: Check that you signed in with the intended Galaxy account and that your workspace allows the connection.
- An account or app is missing: Check billing, the accounts selected for this connection, your role, and the account name or app ID used in the request.
SCOPE_REQUIRED: The connection is read-only. If you want to make changes, authorize it again with write access.PERMISSION_DENIED: Check your role and app permissions with the Galaxy account owner or administrator. Turning on write access doesn’t change your role.- A confirmation expired or no longer matches: Ask for a new preview or quote. Review it again before approving.
Tool reference
These tools operate on accounts and apps you’re authorized to access. The tools available for a specific action depend on the connection’s access, your Galaxy permissions, and the app’s type, plan, or current state. Read tools retrieve information or estimate costs. Write tools can make changes, request upload authorization, or send notifications.
Accounts, apps, and usage
| Tool | Access | What it does |
|---|---|---|
list_accounts | Read | Lists authorized accounts and your role and app permissions in each. |
list_apps | Read | Lists an account’s apps. Follow the next cursor for more results. |
get_app | Read | Shows an app’s status, plan, configured size, and domains. |
get_costs | Read | Shows monthly usage costs by app and database, in USD cents. The current month may include a projection. |
explain_cost_change | Read | Compares two consecutive months and breaks down changes by app and database. |
estimate_app_cost | Read | Estimates app costs for a different container size or count without changing anything. |
Deployments and versions
| Tool | Access | What it does |
|---|---|---|
get_git_connection | Read | Checks GitHub access. Returning an installation link requires write access. |
list_repos | Read | Lists accessible GitHub repositories or the branches in one repository. |
create_app | Write | Creates an app. It attempts the first deploy for a Git app; an upload app waits for an archive. |
request_upload | Write | Requests a short-lived archive upload URL and returns its upload ID. |
deploy | Write | Starts a deployment from the app’s Git branch or an uploaded archive. |
get_deploy_status | Read | Shows deployment progress, recent deployments, and startup signals. |
list_deploys | Read | Lists deployment history and identifies eligible rollback targets. |
get_build_logs | Read | Reads build, pre-deploy, and rollout logs for a deployment. |
cancel_deploy | Write | Cancels a deployment that is still building. |
list_versions | Read | Lists built versions and identifies versions you can deploy again. |
get_deploy_diff | Read | Compares changed environment variable keys and Meteor settings paths, without values. |
deploy_version | Write | After confirmation, redeploys an earlier built image without rebuilding, using current environment variables and Meteor settings. |
rollback_app | Write | After confirmation, returns to an earlier deployment’s built image and settings. It does not roll back databases. |
Health and lifecycle
| Tool | Access | What it does |
|---|---|---|
get_app_activity | Read | Shows recent app activity, such as deploys, restarts, and settings changes. |
get_app_logs | Read | Reads runtime logs for the selected app and time range. |
get_app_metrics | Read | Shows CPU, memory, requests, and container status. Includes connection metrics for Meteor apps. |
diagnose_app | Read | Combines app signals and suggests likely causes to investigate. |
start_app | Write | Starts a stopped app. Running containers can incur charges. |
stop_app | Write | Stops serving the app until it is started again. |
restart_app | Write | Replaces the containers of a running app without rebuilding. |
restart_container | Write | Replaces one container. A single-container app can be briefly unavailable. |
delete_app | Write | Permanently deletes an app after confirmation. Only the account owner can do this. Custom domains must be removed first. |
Build settings and environment
| Tool | Access | What it does |
|---|---|---|
get_build_config | Read | Reads install, build, startup, and health check settings. |
update_build_config | Write | Updates selected settings and can request a redeploy where supported. |
list_env_vars | Read | Lists environment variable keys and update times, never values. |
set_env_vars | Write | Adds or updates selected variables without removing other keys. |
delete_env_vars | Write | Removes selected keys after confirmation. |
set_meteor_settings | Write | Replaces the Meteor settings JSON. Changes take effect on the next deploy. |
Scaling
| Tool | Access | What it does |
|---|---|---|
scale_app | Write | Changes container size or count and can affect cost. |
get_autoscaling | Read | Shows autoscaling mode, bounds, rules, overrides, and plan limits. |
set_autoscaling | Write | Replaces autoscaling settings. Review the existing rules before changing them. |
set_autoscaling_override | Write | Sets temporary container bounds, then restores normal autoscaling when the override ends. |
cancel_autoscaling_override | Write | Ends a temporary override and restores normal autoscaling. |
Domains and notifications
| Tool | Access | What it does |
|---|---|---|
get_domain_status | Read | Shows DNS verification, certificate status, and DNS records to set. |
add_domain | Write | Adds a custom domain and returns DNS instructions. |
verify_domain | Write | Retries DNS verification or certificate issuance when applicable. |
set_primary_domain | Write | Makes an active domain the app’s primary URL. |
remove_domain | Write | Removes a custom domain and stops serving the app on it. |
list_notification_channels | Read | Lists email, Slack, and webhook channels and their enabled events. |
add_notification_channel | Write | Adds an email, Slack, or webhook destination and chooses its events. |
update_notification_channel | Write | Updates an existing channel’s label, events, or active state. |
test_notification_channel | Write | Sends a labeled test notification to the configured destination. |
remove_notification_channel | Write | Removes a notification channel after confirmation. |

