Skip to content
AI and automation5 min read

Connect Claude to your hosting with MCP

Short answer

MCP (Model Context Protocol) lets an AI app call tools on another service. With Araby MCP you create a key for one hosting account in the Araby Panel and add it to Claude Code or Cursor; the assistant can then read logs, create databases or deploy, and every change goes through your approval in the app.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What Araby MCP can do
  2. The safety model
  3. Before you start
  4. 1. Create a key in the Araby Panel
  5. 2. Add it to Claude Code
  6. 3. Add it to Cursor or another app
  7. 4. Try it
  8. Good practice
  9. Troubleshooting
  10. On ArabyHost

MCP is an open standard that lets AI apps discover and call tools on other services. Instead of copying error messages into a chat and pasting fixes back by hand, you connect the assistant to your hosting once, and it looks at the real logs, files and settings itself, then proposes or makes the change.

What Araby MCP can do

Depending on the key’s permission, the assistant can:

  • Read: list your sites and files, read a file, read the error log, check disk usage, and list DNS records, databases and email accounts.
  • Change, with your approval: edit files and .env, create a database, an email account or a subdomain, add a domain, set the PHP version, and deploy from Git.

The safety model

Control What it means
One account per key A key works only on the hosting account you chose when creating it. For another site, create another key.
Read only, or read and change A read-only key reads files, logs and settings and changes nothing.
Your approval Changes run only after you approve the tool call in your AI app.
Expiry 30 days, 90 days, 1 year or never; you can revoke a key at any time.
Revocation Revoking stops every app using the key at once, and changing your password revokes keys too.
Masked secrets Passwords and keys found in files are hidden before results reach the AI.
Backups before edits Before a tool edits a file, the original is copied to ~/.araby-backups, outside your web root.

Before you start

  • An active ArabyHost hosting account. Any plan works, because MCP doesn’t use SSH.
  • An app that supports remote MCP servers over HTTP: Claude Code, Cursor or another MCP client.

1. Create a key in the Araby Panel

  1. Open Connect your AI from the panel menu.
  2. Under Create a key, enter a Name that says where it will be used (for example “Claude Code on my work laptop”), then choose the Hosting account, the Permission (start with Read only) and Expires after.
  3. Click Create key and copy it. It’s shown once; if you lose it, revoke it and create a new one.

2. Add it to Claude Code

From your project folder, run:

claude mcp add --transport http arabyhost https://panel.arabyhost.com/mcp --header "Authorization: Bearer YOUR_KEY"
claude mcp list

Put your key in place of YOUR_KEY. claude mcp list should show arabyhost as connected, and inside a session /mcp lists the server and its tools. By default the server is added for the current project and saved in your own Claude Code settings, not in the repository. Don’t use --scope project: it writes a .mcp.json file into the project, and a key inside it would end up in Git. The command line also lands in your shell history, so clear that entry afterwards on a shared computer.

3. Add it to Cursor or another app

Cursor reads ~/.cursor/mcp.json:

{
  "mcpServers": {
    "arabyhost": {
      "url": "https://panel.arabyhost.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}

Most other MCP apps accept the same block in their MCP settings. Restart the app and check that the server shows as connected. The Connect your AI page shows the exact snippet for each app, and the short version is in the setup notes.

4. Try it

Start with read-only questions:

  • “Read the error log for example.com and explain the latest 500 error.”
  • “How much disk space is my account using?”
  • “List my DNS records and tell me whether the MX records look right.”

With a read-and-change key:

  • “Create a database called shop and write its details to .env.”
  • “Deploy the latest commit from Git.”

Before each change, the app shows the tool and its inputs. Read them, then approve or refuse.

Good practice

  • One key per app and device, so revoking one doesn’t break the others.
  • Start read-only. When you need changes, create a separate read-and-change key with a short expiry.
  • Don’t auto-approve write tools, and never paste the key into a chat.
  • Keep your code in Git and let the assistant deploy from the repository (deploy from GitHub), so every release can be traced and rolled back.

Troubleshooting

  • 401 or “unauthorized”: the key is mistyped, expired or revoked, or you changed your password. Create a new key.
  • The tools don’t appear: restart the app. In Claude Code, run claude mcp list from the same project folder where you added the server.
  • A change is refused: the key is read-only. Create a read-and-change key for that job.
  • It works on the wrong site: each key is tied to one hosting account; check which account the key was made for.
  • You can’t create another key: you’ve reached the limit of active keys. Revoke the ones you no longer use.

On ArabyHost

Araby MCP is built into the Araby Panel, so deploying from Claude or Cursor sits alongside deploying from GitHub or by ZIP upload. The same tools power Araby AI, the assistant inside the panel that reads error logs and explains fixes. MCP manages the account; if you also want the agent to run commands on the server, Claude Code and Codex run over SSH on the AI/Developer plans (see Claude Code on a server). Claude and Cursor are products of their own companies, and ArabyHost has no partnership with them.

FAQ

Does Araby MCP need SSH?

No. It works through the panel, so it can manage files, databases, DNS and deploys without an SSH session, on any active hosting account. SSH is only needed if you also want Claude Code to run commands on the server.

Can the AI change something I didn't approve?

A read-only key can't change anything. With a read-and-change key, each change goes through your AI app's approval prompt, unless you've set the app to approve those tools automatically, so keep approvals on.

What should I do if a key leaks?

Revoke it on the Connect your AI page; every app using it stops working immediately. Changing your account password also revokes your keys automatically.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.