Docs / Connect via MCP

Connect via MCP

Sarpius runs a hosted MCP (Model Context Protocol) server so AI assistants like Claude can work with your account directly. You connect once with a single sign-in, approve exactly which access to grant, and then ask the assistant about your projects and resources without pasting any keys.

What the MCP server is

MCP is an open standard that lets an AI assistant call external tools. Sarpius exposes an MCP endpoint that maps those tool calls onto the Sarpius public API, using your own account and only the access you approve.

The endpoint is a single URL. Any MCP client that supports remote (Streamable HTTP) servers can connect to it.

text
https://mcp.sarpius.dev/mcp
Hinweis

You never hand the assistant a password or an API key. The connection is authorized with OAuth: a browser sign-in where you approve the access, and the assistant only ever holds a short-lived token.

Connect Claude

In Claude, open the connectors settings and add a custom connector, then follow the sign-in. The whole flow is automatic once you paste the URL.

  1. In Claude, go to Settings and open Connectors, then choose to add a custom connector.
  2. Paste the Sarpius MCP URL: https://mcp.sarpius.dev/mcp
  3. Claude opens the Sarpius sign-in in your browser. Log in to your Sarpius account.
  4. Review the access on the consent screen and approve it. The connector then shows as connected.
  5. In a chat, enable the Sarpius connector and ask about your account, for example to list your projects.
Hinweis

A verified Sarpius badge on the consent screen confirms you are authorizing the real Sarpius sign-in and not a lookalike.

What the assistant can do

The server exposes 79 tools over your account: 32 that read and 47 that change something. The assistant can drive the whole lifecycle, not just look things up.

  • Read: list projects, their Components, deployments and deployment logs, runtime logs, databases, buckets, messaging, domains and routing rules, environment variables, usage, wallets and transactions, members and invites, and support tickets.
  • Build and ship: create a project, point a Component at a git source, trigger a deploy, run migrations, roll back to an earlier deployment, start and stop an app.
  • Provision and wire up: create databases, buckets and messaging, link and unlink them to a Component, and set the environment variables they need.
  • Routing: add a custom domain, add and change routing rules and project routes, and repair or verify the git webhook.
  • Scheduled jobs: with the scheduled-jobs tools (list_schedules, create_schedule, update_schedule, delete_schedule, run_schedule, list_schedule_runs, get_schedule_run, preview_schedule_runs), list, create, change, delete and run-now the cron schedules of a Component, read their run history, and preview upcoming run times. Changing a schedule's command needs apps:build_commands:write.
  • Support: open a ticket, reply to it, and close it.
  • Tear down: delete an app, a database, a bucket, messaging, or the whole project.
Achtung

Writes cost money and deletes are final. Creating a project, a dedicated database or a custom domain starts a charge the moment the resource exists, and no delete anywhere can be undone. If your account has two-factor authentication, deleting an app or a project requires your current 2FA code, exactly like the console. One tool deserves its own warning: update_config replaces the entire environment-variable map, so any key you leave out is removed.

The MCP server is a thin proxy in front of the Sarpius public API, so it can only ever do what your approved scopes allow. A tool you did not grant the scope for is not merely refused: it is not offered.

Access, scopes, and revoking

The consent screen lists exactly which scopes you are granting. Reading and changing are separate scopes per area, so projects:read and projects:write are two different decisions, and the same split applies to apps, deploys, domains, databases, storage, messaging and support. Nothing is granted that you do not approve.

Three build fields (build command, install command, start command) sit behind a scope of their own, apps:build_commands:write, which apps:write does not include. The platform runs those commands verbatim with your decrypted environment, so granting them is handing the assistant shell access to your build. Grant it deliberately or not at all.

The connection uses short-lived access tokens that refresh in the background, so there is no long-lived secret sitting in the assistant. You can revoke the connection at any time from your Sarpius account under connected apps, or by removing the connector in Claude. Revoking takes effect immediately.

A full flow, end to end

This is what shipping a small app from a chat actually looks like. Every step is one tool call, and the scope each step needs is named so you can see what the consent screen has to cover.

  1. Create the project (create_project, projects:write). A project is a billable container per Component, so this is the step that starts costing money.
  2. Point the Component at your repository (set_git_source, apps:write). The assistant needs the repo URL and the branch; your credentials stay on the platform.
  3. Create the database it needs (create_database, databases:write) and attach it (link_database, databases:write). The connection variables are injected into the Component for you.
  4. Deploy (trigger_deploy, deploys:write), then watch it (get_deployment_log, deploys:read). A failed build shows up here as the build output, not as a bare error.
  5. Add your own domain (add_domain, domains:write). The certificate is issued and renewed for you; the DNS record at your registrar stays yours to set.
  6. If the deploy broke something, roll back (rollback_deployment, deploys:write) or stop the app to end its per-minute billing while you look (stop_app, apps:write).

The outcome: a running app on your own domain, provisioned, wired and billed exactly as if you had clicked through the console yourself, because underneath it is the same public API.

Troubleshooting

  • Use the exact URL https://mcp.sarpius.dev/mcp, with no trailing slash added.
  • Connecting opens a browser sign-in. If nothing appears, allow pop-ups for Claude and try again.
  • If the assistant cannot see a resource, check which scopes you approved on the consent screen, then reconnect to widen them.
  • If a connect attempt fails once, simply try again. The sign-in is safe to retry.

Sarpius ist ein Handelsname von Synthwave-technologies.nl · KvK 73239038 · USt-IdNr. NL002410192B67 · Apeldoorn, Niederlande

(c)2026 Sarpius. Alle Rechte vorbehalten.

Gehostet in der EU