Connect an AI tool

Connect Claude Code to hosting over MCP

You can launch a site straight from Claude Code: the site works on your computer, and the chat is still open. By the end of this guide, the same chat will get it live and return an address. Connecting takes a few minutes: one command in the terminal, a restart and an approval in the browser.

What to know first

Terminal
The window where you type commands. Claude Code runs inside it.
MCP
The connection Claude Code uses to run actions in the hosting account, like an upload or reading logs. The full explanation is in the guide "What is MCP".
Project folder
The folder on your computer that holds the files of the site, and that Claude Code works from.

What you need before you start

Claude Code installed, and a site that opens on your computer without errors. You do not need an account with us ahead of time: you can create one in the approval window, in the middle of the process. A new account first confirms its email address, from the link sent to it.

You run the commands from inside the project folder. This is the folder Claude Code ties the connection to, and the one it will upload the files from.

Step 1: Add the connection

In the terminal, in the project folder, run the first command. It adds the connection to this folder only.

To make the connection available in every folder on the computer, run the second command instead.

claude mcp add --transport http handsome https://hosting.handsome.co.il/mcp
claude mcp add --transport http --scope user handsome https://hosting.handsome.co.il/mcp

Step 2: Restart and approve in the browser

Claude Code loads a new connection only when it starts, so a chat that is already open does not see it. Close Claude Code and open it again in the same folder. The first command opens it and continues the previous chat.

When it is up, type the second command in the chat, and then:

claude --continue
/mcp
  1. Choose handsome in the list, and then the Authenticate option.
  2. In the browser window that opens, sign in to your account, or create a new one, and approve the connection.
  3. Go back to Claude Code. Next to handsome it now shows that it is connected.

Step 3: Ask it to get the site live

Write in the chat, in ordinary words: "Can you get this site live through handsome?". From here Claude Code works in this order, and every step appears in the chat:

  1. Checks what is in the account, and whether a site connected to this folder already exists.
  2. Runs a check on the computer that the site opens and has no errors. Without a check that passes, no server is ordered.
  3. If the site has a form, asks where to send the messages from it. Without another answer, they go to the email of the account.
  4. Packs the files and uploads them.
  5. Asks to order a server, and stops. An approval link arrives at the email of the account. The page that opens shows what is being ordered and for how much, and you pay there.
  6. After the approval it continues by itself, waits for the site to come up and returns an address.

After the site is live: updates, problems and a domain

An update to a site that already exists does not need an approval by email. Ask it to "upload the changes", and Claude Code checks again on the computer and uploads a new version to the same site.

When something does not work, ask it to "check the logs for why the site returns an error". If an update broke something, ask it to roll back to the previous version.

To connect a domain, ask it to "connect the domain example.co.il". Claude Code returns two records to change at the domain registrar, and checks when the connection has worked. You can also buy a new domain from the chat, and then an approval link arrives by email again.

What Claude Code does not do by itself

Ordering a server, buying a domain, making a server bigger, deleting a site and a restore always wait for a click on a link in an email. A charge, deleting a site or a restore do not happen just because something was written in the chat.

Changes to a site that already exists, like a new version, settings or DNS records, happen straight from the chat, with no email. So it is worth reading in the chat what Claude Code is about to change.

The key created by the connection appears on the account page, and that is also where you cancel it. Do not paste a password or a key into the chat: the approval in the browser replaces them.

Try it now

Connect Claude Code by following the steps, and first ask "What do I have in my account?". This request only reads and does not cost money. When it works, you can ask for the first launch.

When Claude Code returns an address, and it opens on your phone too, your site is live. From here every update is one request in the chat.

If it did not work
  • handsome does not appear in the list? Claude Code was opened from a different folder than the one where the connection was added. Open it from the project folder, or add the connection again with the second command in step 1.
  • No browser opened? Claude Code shows an address instead. Copy it into the browser and approve there.
  • The window asked you to confirm your email? A new account first confirms its email address from the link that was sent. After that, approve the connection again, as in step 2.
  • The check on the computer failed? Claude Code shows what failed, for example a page that did not load. Ask it to fix it and check again. No server is ordered until the check passes.
  • Claude Code wrote that the daily limit has run out? The answer shows the time it renews. Wait for it and continue from the same point.
  • No approval email arrived? Check the spam folder, and that this is the mailbox of the account that approved the connection.

Go to the "Connect an AI tool" page (Hebrew)

Check yourself

Answer in your head first, then open.

Why do you need to restart Claude Code after adding the connection?

Because it loads new connections only when it starts.

What happens before a server is ordered?

Claude Code runs a check on the computer that the site opens and works. Without a check that passes, there is no server.

Why is the connection approved in the browser and not with a password in the chat?

Because what is written in the chat is kept by the tool. The approval in the browser gives Claude Code a key of its own, which you can cancel on the account page, and the password does not pass through it.

Common questions

Do I need an account before I start?

No. You can create an account in the approval window that opens from Claude Code. A new account first confirms its email address from the link that was sent, and then you approve the connection and continue in the same chat.

Does the connection cost money?

No. You pay for the server of the site, and only after you click the approval link that arrives by email.

The site was built in another tool. Can I still do this?

Yes. Claude Code works on any folder on the computer, including one for a site that was built somewhere else. Open it in the folder and ask it to launch.

Does it work with WordPress too?

Yes. Claude Code can order a WordPress server, give the steps for moving an existing site to it and manage plugins and themes. The order waits for approval by email, like any order.

Can I disconnect Claude Code from the account?

Yes. Cancel the key on the account page, and the connection stops working.

Continue from here