Contents
Before MCP, every AI application had to build its own integration with every service. The protocol fixes that the way USB fixed plugging in devices: one interface both sides understand.
How MCP works
- Host: the app you talk to, such as Claude Desktop, Claude Code or Cursor.
- Client: the part inside the host that connects to MCP servers.
- Server: a small program that exposes specific capabilities:
- Tools: actions the model can take, such as “create a database” or “deploy the site”.
- Resources: data to read, such as files or logs.
- Prompts: ready-made instruction templates.
They exchange JSON-RPC messages over two main transports: stdio for a server running on your machine, and HTTP for a remote server on the internet.
Example: adding a local MCP server
In apps such as Claude Desktop you add servers in a JSON settings file, for example a server that can read one folder:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/projects"]
}
}
}
After restarting the app, the model sees file-reading tools for that folder only, and asks your permission before using them.
When do you need MCP?
- When you want an AI assistant to use data from your own systems, such as a database or support tickets.
- When you want the assistant to take real actions, such as deploying a site or creating a task in a project tool.
- When you build a tool and want it to work with several AI apps without writing a separate integration for each.
Misconceptions and risks
- MCP isn’t a model: it’s only a way to connect things; the intelligence comes from the language model.
- MCP doesn’t replace APIs: an MCP server often just calls an existing API.
- Prompt injection: a tool’s output can contain text that tries to steer the model, so don’t give servers sensitive access without review.
On ArabyHost
ArabyHost provides the Araby MCP server, so you can deploy your site straight from Claude or Cursor by talking to the assistant instead of uploading files by hand. Deploying from GitHub or by ZIP upload is available too. Follow the guide to connecting Claude to your hosting via MCP, read about AI agents to see how these tools are used, and see the AI plans.
FAQ
How is MCP different from a regular API?
An API is designed for a developer who writes custom code for each service. MCP exposes tools in a standard way that an AI application discovers automatically, so it knows which tools exist, what inputs they take and when to call them.
Does MCP work with apps other than Claude?
Yes. The protocol is open and is now supported by many apps and developer tools, including Cursor and other code editors and agent platforms.
Are MCP servers safe?
An MCP server runs with whatever permissions you give it, so it may read your files or run commands. Install servers only from trusted sources, use narrowly scoped keys, and review tool calls before approving them.