Connect your AI tool

Claude Code

How to add the Inhaus MCP server to Claude Code with one command, so it can deploy and share your apps behind your company login. Setup and fixes.

Add Inhaus to Claude Code with one command, and Claude Code can put the folder you're working in live behind your company login, then share it with the people you choose. You sign in with your browser. There is no API key to copy.

Before you start

  • An Inhaus account and a workspace. Create one at inhaus.dev/getstarted. Every new workspace gets 7 free days.
  • Claude Code installed, and a browser where you are signed in to Inhaus, or ready to sign in.
  • The connector URL. It is the same for everyone:
https://mcp.inhaus.dev/mcp

Set it up

  1. Add the server

    Run this once in your terminal:

    claude mcp add --transport http --scope user inhaus https://mcp.inhaus.dev/mcp

    --scope user makes Inhaus available in every project. Use --scope project instead to save it in the project's .mcp.json, so your team gets it too. The file holds no secrets: each person signs in with their own account.

  2. Sign in

    Start Claude Code with claude and run:

    /mcp

    Choose inhaus, then Authenticate. Your browser opens inhaus.dev. Sign in if asked, pick the workspace, and press Allow. See The consent page below.

  3. Check it works

    Ask Claude Code: "List my Inhaus apps." The first time, it asks to use the Inhaus tool. Allow it.

  4. Deploy
    > Deploy this folder to Inhaus as "Expense Claims" and share it with finance@acme.com.

    Claude Code sends the folder's files to deploy_app. Apps over 4 MB or 200 files are zipped and uploaded for you.

Authenticate opens the Inhaus consent page on inhaus.dev. It shows:

  • Claude Code wants to connect to Inhaus, and where you go back to after you allow it.
  • Signed in as, with your email. If it's the wrong account, choose Use another account before you allow. The wrong account is the usual reason a tool lands in the wrong workspace.
  • What Claude Code will be able to do: deploy, share and manage apps in the workspace you pick, and stay connected until you disconnect it. It acts as you, with your role. It can't do anything you can't.
  • Workspace: pick one. Claude Code only gets access to that workspace. Connect again to use another.
  • Allow to connect, or Cancel.

Check the connection

claude mcp list

inhaus should show as connected. If it says it needs authentication, run /mcp again. The Inhaus dashboard's Connect AI tool page also lists Claude Code, its workspace and when it was last used. See Manage connections.

5 things to try

Put this folder live as "Expense Claims".
Share Expense Claims with the finance team, view only.
The app reads a Stripe key from the code. Move it into an Inhaus secret and redeploy.
The last deploy broke the totals. Roll back to the old version.
Show me who opened Expense Claims since Monday.

Use it in a team project

With --scope project, Claude Code writes the server to .mcp.json in the project. Commit it. Everyone who opens the project gets the Inhaus server, runs /mcp once and signs in with their own account. Each person's calls act as them, with their own role on each app.

Troubleshooting

claude mcp list says inhaus needs authentication

Run /mcp in Claude Code, choose inhaus and Authenticate. Finish the consent page in the browser.

The server fails to connect

Check the URL ends in /mcp: https://mcp.inhaus.dev/mcp. The bare domain does not work. Check you used --transport http. Inhaus is a remote server, not a local (stdio) one.

The consent page asks me to sign in

The browser that opened is not the one where you're signed in to Inhaus. Sign in, or copy the page's link into the right browser.

Apps go to the wrong workspace

Each connection reaches one workspace. Disconnect and authenticate again, picking the right workspace. See Switch workspace.

Tools fail with unauthenticated

The connection was revoked or went unused for 30 days. Run /mcp and authenticate again.

Could not resolve fs, path or child_process

The code uses Node.js built-ins, which the app runtime does not have. Ask Claude Code to use web APIs instead and deploy again. See Troubleshooting.

Deploys stop after the first week

The workspace's 7 free days are over. Apps keep running, but deploying and sharing need a plan. Claude Code gives you the checkout link. See Plans.

Still stuck? Email hey@inhaus.dev.

Next steps

Best seen on a laptop

Inhaus is where you deploy and share the tools you build with AI, so it is made for a bigger screen. Open inhaus.dev on your laptop to get the full experience.

Continue on this phone anyway