Contents
Cursor writes code with you, but code helps nobody until it reaches a working site. The step that wears out most people who build with AI comes after the writing: uploading files, creating the database, pointing the domain, and reading the error when a white page appears. Connecting Cursor to your hosting through MCP lets it do those steps itself, while you approve each change.
What is MCP, and why does it matter?
MCP is a protocol that lets an AI app call tools in another service. At ArabyHost the service is your hosting account and the tools are the ones in the control panel itself: files, databases, DNS records, email, WordPress, SSL certificates, cron jobs, redirects, the error log, site protection and disk usage. Instead of copying an error from the browser into Cursor, Cursor reads it from the log.
Way one: one click, no keys
- Sign in to Araby Panel and open Connect your AI.
- In the one-click section press the button that adds the server to Cursor. Cursor opens and offers to add a server named
arabyhost. Accept. - On first use the browser opens the page that asks you to allow access to your hosting. Choose the site Cursor will work on and press Allow.
That is the whole setup. There is no key to copy and no file to edit. Cursor appears in your list of keys in the panel as a connected app, and you can disconnect it there whenever you like.
Way two: a key in mcp.json
This suits you if you want a read-only key or a fixed expiry.
- On the Connect your AI page create a key: give it a name that says where it is used, choose the hosting account, the permission (start with read only) and how long it lasts. The key is shown once.
- Open
~/.cursor/mcp.jsonand add:
{
"mcpServers": {
"arabyhost": {
"url": "https://panel.arabyhost.com/mcp",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}
Put your key in place of YOUR_KEY, then restart Cursor. Keep this file out of your project’s repository so the key never reaches GitHub.
What to ask once it is connected
Write your request in plain words in Cursor’s chat, for example:
- “Why is the site showing a 500 error? Read the error log and explain.”
- “Create a database for this project and write its details into the .env file.”
- “Upload this project to the site and check that it opens.”
- “Add a TXT record to verify the domain.”
- “What is filling the hosting disk?”
If you do not know where to start, the server offers ready-made jobs to your app: find the fault, review security, check before launch, put your project online, and set up business email. In apps that show MCP prompts you find them in the command list when you type /.
Who decides?
You do, and that is what makes the connection safe:
- One account: the connection is confined to the hosting account you chose and cannot reach another, whatever it is asked.
- Read only if you want: a read-only key has no tools that change anything.
- Your approval before a change: tools that change something go through Cursor’s approval prompt. Keep that prompt on and do not set approval to automatic.
- Secrets are masked: passwords and
.envvalues do not reach the model. - Deletion goes to the bin: a file the app deletes goes to the bin, where you can restore it. No tool deletes a database or a mailbox.
- Everything is recorded: every operation appears in your account’s activity log with its time.
Troubleshooting
- The server does not show: open Cursor’s MCP settings, check that
arabyhostis on, and restart. - It asks you to sign in every time: finish the access page all the way to Allow, and do not close the browser before that.
- A message that a tool does not exist: your key is read only, or the plan does not include that tool. Email plans, for example, get the email and DNS tools only.
- Refused for too many requests: wait for the earlier requests to finish, then try again.
On ArabyHost
Araby MCP comes with every hosting plan at no extra cost and with no SSH needed. If your project is a Node.js or Python app, or you want your agent to work on the server itself, AI plans add SSH in an isolated environment. See also deploying a Cursor project to hosting and connecting Claude to your hosting with MCP.
FAQ
Do I need a plan with SSH to connect Cursor?
No. Araby MCP works through the panel on any active hosting plan, so it manages files, databases and DNS records without an SSH session. You need an AI plan only if you want to run commands on the server itself or host Node.js and Python apps.
Can Cursor see all my sites?
No. Each connection works on one hosting account, which you choose when you sign in. For another site you connect again and choose the other account.
Do my passwords reach Cursor?
Secret values in your files, such as passwords and the values in .env, reach the app masked. When a database is created, its credentials are written straight into the .env file without passing through the chat.
How do I disconnect Cursor from my hosting?
On the Connect your AI page the app is in your list of keys. Revoke it there and its access stops at once. Every connection is also revoked automatically when you change your account password.
What if the tools do not show in Cursor after adding the server?
Open Cursor's MCP settings, check that the arabyhost server is switched on and that you finished signing in, then restart Cursor. If you used a key, check that it has not expired and that the line starts with the word Bearer.