FAQ
Common questions and answers that come up while using AxHub.
This page collects only short questions and answers.
If you have a symptom and need to narrow down the cause, Troubleshooting is faster.
Did the CLI install address change?
Yes. The current domain for the public install script is https://cli.axhub.ai.
curl -fsSL https://cli.axhub.ai/install.sh | bashAfter installing, global options and output formats are covered in the CLI reference.
Where are the MCP tools?
On the AxHub MCP server (https://mcp.axhub.ai/mcp). Connect an MCP client like Claude Code and you get 20 read-oriented default tools — app and deploy lookups, app DB and connector reads, SDK knowledge search, and more. If the server's deploy-write gate is on, 21 operational-change tools such as app creation and deploy triggering are added, for 41 in total. The connection steps are in Connecting AI tools.
Which deploy methods are supported?
The deploy method is determined in this order: axhub.yaml (manifest) → Dockerfile → Compose file → Railpack auto-detection. An app's deploy_method is one of docker | compose | static and is set when the app is created. Only a static app can later move to docker or compose — otherwise, if the manifest's value differs from the value recorded on the app, the deploy fails. Without an axhub.yaml, the same failure happens when the automatic decision (compose if there's only a compose file, docker for auto-detection) differs from the app's value. The full schema is in the axhub.yaml reference.
How does my app read the signed-in user?
Read the X-AxHub-* headers that the gate in front of your app forwards, on the server. email/name are base64-encoded. Per-language examples are in Read the SSO user info.
When do I use a PAT vs OAuth?
Use a PAT (AXHUB_API_KEY) on the surfaces where it's allowed, such as SDK calls and CI. For app creation, deploys, GitHub connection, and tenant / member / admin work, use OAuth device login (device flow). The login commands are in the CLI reference.
Can I connect to the app DB directly to insert or fix values?
The app DB can't be reached directly from outside. To load values that must not be committed, or to correct wrong ones, app owners and co-owners run a SQL file with axhub db exec. See Insert or correct values with SQL for usage and rules. Data your app works with day to day is read and written from app code through DATABASE_URL.