AI DEVELOPMENT / DEPLOY

Deploy FastAPI from Claude Code with KamuiDash

Set up the connector, review the start command, and check the public URL

This guide shows how to deploy a FastAPI app you built with Claude Code to KamuiDash. Connect the KamuiDash connector on the Claude website first. You can then ask Claude Code to deploy the app or check its logs from the same account.

The example comes from a FastAPI deployment in June 2026. The connection steps reflect the setup as of November 2026.

Check the connection, then ask Claude to propose where to deploy the app and how to start it. After you approve the settings, verify the result for that deployment and check the public URL. This guide assumes you already have the app's source code locally or on GitHub.

In this article

1. Connect KamuiDash in Claude

This walkthrough uses the KamuiDash connector from Claude chat in Claude Code. The official KamuiDash setup guide for Claude Code covers connecting through the KamuiDash Plugin.

  1. Open the KamuiDash connector page in Claude and click Connect.
  2. Sign in to KamuiDash, review the requested permissions, and approve them. Back in Claude, look for Connected next to KamuiDash.
  3. Start a new Claude Code session with the same Claude account and run /mcp to see if KamuiDash is listed. Ask “List my KamuiDash projects” to check which projects you can access.
November 2026 · Connector setup
Claude connector settings show KamuiDash marked Connected
Claude's connector settings in November 2026. Look for “Connected” next to KamuiDash.

With this setup, you can connect without installing the KamuiDash CLI or issuing an access token manually. To use the connector in Claude chat, connect it and open a new chat. Claude Code can pick up connectors from Claude when you sign in with a Claude subscription. Anthropic's connector setup guide

2. Put your FastAPI code on GitHub

The FastAPI sample app returns a message at / and exposes a health check at /health. Its two dependencies are fastapi and uvicorn[standard]. In main.py, the app reads the PORT environment variable and listens on 0.0.0.0.

To deploy your own app, put the source on GitHub and give KamuiDash access to the repository. You may need to grant access in GitHub the first time. If you want Claude Code to inspect the source and propose a start command, open the app's local repository before asking.

Check access in two places. Claude Code needs to read the source, and KamuiDash needs to fetch the repository from GitHub. If Claude Code can read the local files but KamuiDash does not list the repository, grant access to it through the GitHub integration.

Check that your FastAPI app uses the PORT it receives at startup and listens on 0.0.0.0 so it can accept external connections. The sample starts the server like this.

main.py
if __name__ == "__main__":
    port = int(os.environ.get("PORT", 8000))
    uvicorn.run(app, host="0.0.0.0", port=port)

3. Ask Claude Code to deploy

Ask for a deployment in one sentence

With the app's repository open in Claude Code, you can refer to the project you're already working on.

Please deploy the app I'm building in this project to KamuiDash.

The screenshot shows a Claude chat where we shared the public sample repository and used this prompt. Compare the branch and start command Claude proposes with the settings for the app you intend to deploy.

November 2026 · Reviewing settings before deployment
A Japanese Claude chat shows a one-sentence deployment request and the proposed branch, setup command, and start command
In this planning conversation, Claude proposes using the sample's main branch, installing dependencies from requirements.txt, and starting the app with python main.py. It asks for approval before deploying.

Review the settings and approve the deployment

Check the project, branch, start command, visibility, and cost. This sample uses pip install -r requirements.txt for setup and python main.py to start. Once the settings look right, ask Claude to proceed.

Deploy with these settings.

Check that the deployment succeeded

Check the public URL and the response from /health.

During a redeployment, the previous version may still respond at the public URL. Match the deployment result to the commit you intended to release before opening the URL. If the build stalls, ask “Show me the first error in the logs for this deployment.”

Results from the first deployment

In June 2026, we made three requests to the public URL in the Tokyo region. All three returned HTTP 200. The response times were approximately 1.13, 0.14, and 0.13 seconds. These measurements come from that specific run of the sample app.

June 2026 · First deployment result
Claude Code reports a successful deployment, one running instance, and HTTP 200 responses from / and /health
Claude Code's report from the first deployment in June 2026 shows a successful deployment, one running instance, and HTTP 200 responses from / and /health.

Troubleshooting

Summary

Connect KamuiDash in Claude, specify the GitHub repository and branch, and ask Claude Code to deploy. To try it with your own app, open its repository after connecting and adapt the prompts above.

KamuiDash is a PaaS for deploying web apps from GitHub.