Skip to main content

Connect AI assistants

With the Arianet MCP server, your AI assistant (Claude, ChatGPT, Cursor, VS Code or any MCP-compatible client) works on your Arianet account: it reads the state of your servers, creates BaaS projects, deploys sites, checks logs and runs any other operation of the Arianet API, always with the permissions you chose.

Server address:

https://mcp.ariaservice.net/mcp
  • OAuth sign-in: you never give the assistant a token or password. When you connect, the Arianet panel's consent page opens; you sign in and choose the account and the permissions.
  • Permissions you choose: the default is "View only" («فقط مشاهده»). You can narrow a connection or revoke it at any time.
  • Recorded in the activity log: everything the assistant does appears in the account activity log marked "via AI assistant" («از طریق دستیار هوش مصنوعی»).
Prefer to run it on your own computer?

arianet mcp in the Arianet CLI runs the same tools as a local (stdio) server with your CLI token. This page is about the remote server, which needs no installation.

Connecting, per client​

In every client, after you add the address the Arianet panel's consent page opens; its steps are described under the consent page.

Claude (web, desktop and mobile)​

  1. In Claude, go to Settings → Connectors and choose Add custom connector.
  2. Enter a name (for example Arianet) and the URL https://mcp.ariaservice.net/mcp, then choose Add.
  3. Choose Connect and approve the connection on the Arianet panel page.

The Claude mobile app does not add new connectors; a connector you add on the web is available on mobile automatically.

Claude Code​

claude mcp add --transport http arianet https://mcp.ariaservice.net/mcp

Then run /mcp in Claude Code, select arianet and choose Authenticate to open the consent page in your browser.

ChatGPT​

  1. In ChatGPT, go to Settings → Plugins, choose Add, then Add custom MCP server.
  2. Enter the URL https://mcp.ariaservice.net/mcp and set authentication to OAuth.
  3. Approve the connection on the Arianet panel page.

Depending on your ChatGPT plan, you may first need to turn on developer mode in the settings for the custom MCP server option to appear.

Cursor​

Put this in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
"mcpServers": {
"arianet": {
"url": "https://mcp.ariaservice.net/mcp"
}
}
}

Then sign in on arianet in Cursor's MCP settings.

VS Code​

Run MCP: Add Server from the Command Palette, choose HTTP and enter https://mcp.ariaservice.net/mcp. Or create .vscode/mcp.json in your project:

{
"servers": {
"arianet": {
"type": "http",
"url": "https://mcp.ariaservice.net/mcp"
}
}
}

The first time the assistant uses the server, VS Code asks you to sign in to Arianet.

Other clients​

Any client that supports MCP over Streamable HTTP with OAuth sign-in can connect; just give it https://mcp.ariaservice.net/mcp. Client registration is automatic, so no client ID or secret is needed.

The "Request to connect to your Arianet account" page opens on the Arianet panel and shows the name of the application asking to connect. If you did not start this connection yourself, choose "Deny" («رد»). The page is described in full in the panel guide.

  1. Account: choose your personal account or the organisation account the assistant should work on.

  2. Access level: choose one of:

    LevelWhat the assistant does
    View only («فقط مشاهده», default)Only looks; changes nothing.
    Development and deployment («توسعه و استقرار»)Creates, deploys and manages (sites, BaaS projects, servers).
    Full management («مدیریت کامل»)Everything on the account except managing tokens.
    Custom («سفارشی»)You pick each permission yourself.

    You decide the level; you can grant less or more than the application asked for. Creating API tokens or granting access to another application is never given to an assistant.

  3. Allow orders and payments («اجازهٔ سفارش و پرداخت»): off by default, which means the assistant cannot buy anything that costs money. If you turn it on, you also set a daily spending cap (default 1,000,000 Toman).

  4. For any level above "View only", or with payments allowed, you must re-enter your password or authenticator app code.

  5. Choose "Approve and connect" («تأیید و اتصال»); the browser returns to your AI client and the connection is ready.

At the bottom, the page lists what the assistant can never do: see your password or sign-in codes, read the passwords and private keys of your services, create API tokens, access your other accounts, or spend more than the daily cap.

Four safety tiers​

Every tool belongs to one of four tiers, and the Arianet server enforces that tier's rule whatever the assistant says:

  1. Reading: listing servers, deployment status, logs and costs run directly.

  2. Ordinary changes: such as deploying a new version of a site. They run; your AI client usually asks you first.

  3. Destructive actions: such as running migrations on a database, rolling a site back, powering off or rebooting a server, and deleting things. The assistant must show you the exact action and get your explicit yes: the server issues a one-time confirmation that is valid for 10 minutes and bound to exactly those arguments; if anything changes, a new confirmation is needed. Clients that support MCP confirmation dialogs show a confirmation dialog instead.

  4. Paid or irreversible actions: such as creating a BaaS project, ordering a server, and deleting a server or project. These are approved only by you in the Arianet panel, never in the chat. The assistant gives you a link like:

    https://panel.ariaservice.net/users/ai-connections/approvals/<id>

    The page shows exactly which action was requested, with what details and at what price. Choose approve or deny and return to the chat; after you approve, the assistant runs exactly that action once. A request that is not approved in time expires and nothing happens.

  • If Allow orders and payments is off, paid actions are refused.
  • The daily spending cap is counted per connection, per day in Tehran time.
  • Pending approvals are also listed on the panel's AI connections page.

The assistant's tools​

Task tools​

ToolWhat it does
create_baas_projectCreates an Arianet BaaS project (approved in the panel) and returns its endpoint and public anon key. The service_role key is never given to the assistant; get it from the panel.
run_baas_migrationsRuns migrations on the project's database. It is a dry run by default, showing only what would change.
deploy_siteDeploys a site from a Git repository or by uploading files (up to 10 MB). A GitHub repository needs the Arianet GitHub App installed on it; if it is missing, the assistant gives you the install link.
deploy_statusShows the state of a deployment.
get_logsReads build and runtime logs.
rollback_siteRolls a site back to an earlier deployment.
create_serverOrders a server: first the quote, then your approval in the panel, then creation and progress reports.
server_powerPowers a server on or off, or reboots it.

The whole API​

  • search_api and describe_api: find the right operation in the Arianet API and describe its inputs.
  • call_api: runs any API operation within the connection's permissions; the same four safety tiers apply.
  • whoami: shows the account and permissions of the current connection.
  • account_overview: a summary of the account, its services and balance.
  • estimate_cost: estimates the cost before an order.

Example: git-push deploys from your phone​

With Claude Code on your phone (or any other client) you can update a site without a computer:

  1. Once, ask the assistant to connect the repository to your site with deploy_site, for example: "Connect my GitHub repository to the shop site and deploy from the main branch". If the Arianet GitHub App is not installed, the assistant gives you the install link.
  2. From then on, every push to the production branch deploys automatically.
  3. After a push, ask "What happened to the last deployment?" and the assistant answers with deploy_status, or "If it failed, read the logs and tell me why" and it checks with get_logs.
  4. If the new version is broken, go back to the previous one with rollback_site (this needs your explicit confirmation).

Security and managing connections​

  • Secrets never reach the assistant: passwords, sign-in codes, private keys and service secrets are never shown to assistants and are removed from responses.
  • In the panel, open AI connections («اتصال‌های هوش مصنوعی», /users/ai-connections). For each connection you see the account, permissions, orders-and-payments setting, creation time and last use, and you can:
    • reduce its permissions;
    • turn orders and payments off or lower the daily cap;
    • Revoke («قطع اتصال») it, which ends that application's access immediately.
  • A connection can only be narrowed. For more access, or to allow payments again, revoke it and connect again.
  • Assistants' activity («فعالیت‌های دستیارها») on the same page opens the account activity log filtered to what assistants did. If you do not recognise an action, revoke that connection.
  • Changing or resetting your password revokes every AI connection automatically; connect again afterwards.

Troubleshooting​

ProblemFix
401 or "unauthorized"The connection expired or was revoked (for example after a password change). Sign in again in the client, or remove the connector and add it again.
The assistant says it lacks a permission (scope)Connect again and choose a wider level on the consent page, such as "Development and deployment" or "Custom" with the permission you need.
A paid action is refusedOrders and payments are off, or the daily cap is used up. Revoke the connection and connect again with payments allowed, or wait for the next day (Tehran time).
An identity verification messageManaging services needs a verified account identity; once verified, ask the assistant again.