Skip to content
Scalpels home

Sign up now for $10 in credit on a new Laravel Cloud account.

Documentation

Scalpels

Use Scalpels from your agent

Updated

The Scalpels MCP server installs once at the user level of your agent harness. That connection gives your agent the catalog, documentation, your teams, and their MCP-enabled products. All MCP requests require authentication.

Install

In Claude Code, Claude Desktop, or another OAuth-capable MCP client, add https://scalpels.app/mcp as a remote server. Sign in to Scalpels in the browser and review the access request. You do not need a client ID or a token copied from settings.

The initial OAuth scope, mcp:use, lets the client read Scalpels, connect sites, deploy apps, and call installed app tools, including writes. It applies to teams you can access and never grants platform support access. Each team still enforces your current role.

Installation maintenance has a separate scope, maintain:write. An OAuth client must request it explicitly and open a new consent screen. It can request mcp:use maintain:write together, or maintain:write alone for read and maintenance access without deployment or app-tool execution. Refreshing an existing connection cannot add this permission. A client that cannot request additional scopes can use a new installer token with Maintain apps selected.

OAuth connections appear on the Agent access page alongside installer tokens. Revoking a connection stops both its current bearer token and its ability to refresh. Access tokens last one hour. Refresh tokens rotate on use and last 30 days.

Headless and CLI installation

Create a token on the Agent access page, /settings/agent-access, under Profile settings. That page shows two installation formats once, when the token is created.

The first is the hitch command, using the claim code shown on that page. It runs through npx, so hitch does not need to be installed first:

npx hitch-mcp install https://scalpels.app/mcp --claim YOUR-CLAIM-CODE --claim-url https://scalpels.app/mcp/claim

The second adds the server and the revealed token to your harness's JSON MCP configuration:

{
  "mcpServers": {
    "scalpels": {
      "url": "https://scalpels.app/mcp",
      "headers": {
        "Authorization": "Bearer YOUR-TOKEN"
      }
    }
  }
}

Scalpels supports HTTP transport only. Existing installer tokens keep working. The public catalog and documentation remain available on the website without signing in.

The MCP works without a stored Cloud or Forge token. readiness marks hosting_account as optional: a stored token only enables one-click deploy_app and connect_site. Without one, your agent deploys and connects with your own provider CLI, MCP or API.

Learn the fleet

Talk to me about how the tools in Scalpels might fit into our development workflow.

After connecting, your agent can read the catalog, product pages, documentation, and integration guides. The product information includes each application's capabilities, infrastructure requirements, environment keys, and available guides.

Read your team and account

Who belongs to this team, which invitations are still open, and which agents have access to my account?

team_status reads one explicit team's entitlement and web permissions. Members and invitations are opt-in through include_members and include_invitations. Direct members can read the roster. Only direct Owners and Admins can read unaccepted invitations, including expired ones. Inherited team access does not grant roster or invitation access. Each list returns up to 20 rows and its own next cursor. Pages are live, so membership changes between calls can affect the list.

account_status reads your profile and your own installer and OAuth connection metadata, 20 connections at a time. It identifies the calling connection when it is in that list. An expired OAuth access token does not mean the connection has lost its refresh grant. The tool returns no bearer tokens, claim codes, credential hashes, or security secrets. Ordinary API tokens that were not created as agent connections are not listed.

Both tools require read access and make no provider requests or account changes. Web permissions describe your role, not authority granted to this MCP token.

Manage teams

With fresh team:write consent, request team_change_plan for an explicit team, then apply_team_change with its handle and an idempotency key. Supported operations are rename, create a child team within an owned parent's allowance, invite, resend or revoke an invitation, change a member's role, remove a member, and transfer ownership. Existing role and single-owner protections still apply. Creating the first root team remains part of onboarding.

Routine operations use MCP-client approval. Demotion, removal, invitation revocation, and ownership transfer require the original requester to approve the exact preview through its signed browser link. GET approves nothing. The authenticated, CSRF-protected POST approves only. Return to the agent to apply the plan. Invitation roles cannot be overwritten. Revoke separately before inviting at a different role.

Manage your account access

With fresh account:write consent, request account_change_plan, then apply_account_change. Your agent can rename your profile without changing your email or security settings. Revoking an exact caller-owned installer or OAuth connection requires separate browser approval, then agent apply. Other connections remain unchanged. Revoking the calling connection prevents further calls through it, including receipt reads.

New access always requires fresh human consent. The plan's protected browser page lists the exact abilities before creating anything. Selecting Create this exact access creates that grant and shows its MCP configuration once. Copy it directly into your client, never into chat. The agent receives only the new connection's ID and receipt. Reloading cannot reveal the token again. An existing grant does not acquire new authority, and refresh cannot expand its scopes.

Team and account plans expire after ten minutes. Apply checks current authority and the preview's relevant state again. Same-key replays return the stored receipt. A consumed plan cannot be used for another write with a different key. Interrupted attempts stay blocked for support reconciliation rather than automatically retrying.

Manage a partner profile

Partner team Owners can read partner_status, then use partner_change_plan and apply_partner_change with fresh team:write consent. Text edits and application submission use MCP-client approval. Supply only changed text fields. Approved profiles save without reopening review. Submission follows the existing review, notification, and automatic-review rules. An agent cannot set category, placement, allowances, or review decisions.

For a missing or replacement logo, plan upload_logo and have the requesting human open upload_url. The signed page accepts an image up to 2 MB for that exact team. GET uploads nothing. The human POST saves only the logo, without changing text or submitting an application. MCP never accepts image data, remote image URLs, or storage paths. After upload, request a fresh application plan. Changed profiles, review state, logo, entitlement, authority, or scope invalidate the original preview. Replays return the original receipt rather than submitting or uploading again.

Review billing

billing_status reads the explicit team's current billing state and active offers for its Owner. It makes no Stripe requests and exposes no payment details. Other team roles can read entitlement through team_status.

With fresh billing:write consent, billing_handoff previews the exact team and checkout offer or customer portal. Only the requesting Owner can open the signed handoff and POST to continue to Stripe. GET starts no Stripe session. The human reviews and authorizes payment in Stripe. Subscription cancellation, payment methods, and invoices stay in Stripe's customer portal. Scalpels does not add a custom cancellation flow.

The handoff starts at most once. Stripe session URLs are sent only to the human browser, never through MCP or stored in the receipt. A return from Stripe is not proof of payment. Read billing_status after Stripe's signed webhook updates entitlement. An interrupted handoff blocks further MCP billing attempts for that team until support reconciles it.

Reauthorize a provider

With fresh team:write consent, request provider_handoff with an explicit team and cloud, forge, or github. Cloud and Forge require a direct Owner. GitHub also permits direct Admins. The original requester opens the signed, ten-minute preview and confirms a POST to select that team in the browser and open its existing provider settings. GET changes neither the selected team nor credentials and contacts no provider. POST consumes the handoff once. Scope revocation, authority changes, and changed previews invalidate it.

The handoff opens settings only. It does not prove a successful connection. The human enters Cloud or Forge tokens there or completes GitHub consent and installation selection. Existing settings and GitHub callbacks keep their selected-team behavior. Other open Scalpels tabs share the selected team. Never send provider credentials through MCP or chat. Inspect connection_status after the human finishes, and request refresh_connections when a provider refresh is needed.

Password confirmation, passkeys, two-factor setup and recovery, external OAuth consent, payment authorization, and account deletion remain human-presence ceremonies. Community participation and authenticated learning remain browser experiences. They have no new MCP operations.

Wire a site up

Get telemetry set up on my Forge-deployed sites.

With a token, your agent can find the Forge sites and Cloud environments that an installed provider is not hearing from, explain anything that must be fixed first, and ask you to confirm each connection. Scalpels returns a branch and, where the repository's plan allows, a draft PR. Your agent then checks out the branch, updates the affected Composer packages, and pushes it; you merge and deploy, and the agent refreshes and checks the connection until the provider reports it.

Apps on other hosts

Connect my self-hosted Laravel app to Hone.

Your agent can register a named external connection through connection_plan and apply_connection, without Cloud, Forge, or GitHub credentials for that application. You open the returned protected setup link, sign in as a team Owner or Admin, and generate credentials once. Copy them directly into your host's secret configuration, never into the agent conversation. The page supplies the provider recipe's package and configuration instructions.

After you install and deploy, the agent refreshes the provider and checks connection_status with host: external. It can report observed credential use, but cannot inspect the external host or prove its packages are installed. This works for supported bearer-credential provider recipes. Asymmetric credentials remain unsupported outside Laravel Cloud.

Routine connection plans use MCP-client approval. Disconnects require a separate authenticated approval link and revoke only the recorded credential. They do not remove host configuration or packages. See Apps hosted somewhere else.

Maintain an installation

Rotate Hone's managed sign-in credential, then show me its current state.

Your agent reads deployment_status for the exact installation, then requests a maintenance_plan. A plan expires after ten minutes and makes no host writes. apply_maintenance requires explicit maintain:write consent, current team Owner or Admin authority, the plan handle, and a caller-chosen idempotency key.

The supported operations are bounded:

Operation Effect Separate approval
dismiss Hide a failed deployment from the dashboard without deleting resources or changing resumability No
enable_vitals Ensure a dedicated read-only Console credential exists, stored encrypted No
enrol_auth Enrol or recover this owned installation's managed sign-in No
rotate_auth Rotate or recover its managed sign-in client secret, retaining old credentials until retirement No
disconnect_auth Move this installation to standalone sign-in and settle its managed credentials Yes
retire_auth Retire one exact old credential while keeping a usable replacement Yes
uninstall_websockets Delete the recorded WebSocket application and delete an owned cluster only if it is empty Yes

Routine operations use MCP-client approval. For the last three operations, the agent returns an expiring approval link. Open it as the original requester, sign in, review the exact installation and effects, and select Approve this exact action. Opening the page grants nothing. Approving it runs no maintenance. Return to the agent to apply that plan. A changed credential, resource binding, or ownership state requires a fresh preview and approval.

Repeated calls with the same idempotency key return the stored receipt without another write. An interrupted or ambiguous remote attempt returns outcome_unknown and blocks new maintenance attempts for that installation, including attempts by another admin. Keep the receipt, inspect deployment and provider state, and request support reconciliation before trying again. There is no automatic recovery or force-retry tool. A known pending disconnect can continue only through a fresh, separately approved disconnect plan.

deployment_status with include_vitals: true reads existing Console access without minting a credential. deployment_drift with inspect_orphans: true inspects unclaimed sibling Cloud environments without deleting them. Neither operation repairs a host. WebSocket uninstall leaves host variables and code unchanged and preserves a reused cluster.

Finish delivery separately

A connection or maintenance receipt is not proof that an integration works. Resolve and commit dependency changes in the consuming repository, run its checks against that commit, obtain approval to merge, and obtain deployment approval separately. These tools do not merge code or deploy a Forge site. After deployment, refresh the chosen provider and inspect the exact consumer's connection_status. Report the dependency commit, checks, merge, deployment outcome, and fresh reporting observation separately. Unknown or stale observations do not establish that telemetry arrived.

Ask the fleet

Tell me which of my projects have thrown exceptions in the last hour.

With the Call installed apps ability, your agent can list the MCP-enabled products the team runs, inspect their available tools, and relay a call to the selected deployment. The product applies your role to the call.

Talk back

Report this to Scalpels.

Your agent can file a bug report with relevant deployment context, reply to the resulting support thread, or search existing suggestions before proposing a product or tool that does not exist yet.

Abilities

Abilities are granted when a token is created on the Agent access page.

Read (always on)

Lets your agent see your teams, sites, connection status, the catalog and docs. It also files bug reports and suggestions on your behalf, and replies to them.

Connect sites

Lets your agent connect a Forge site or Cloud environment to a product you run, or register an external consumer. Hosted connections write the product's keys into that site's environment file. External connections return a protected credential setup link and do not change the host. Routine claims and connections use MCP-client approval. Disconnects require a separate authenticated approval link.

Deploy apps

Lets your agent start an app deployment, only from a fresh deployment plan, or resume one of your failed deployments. Each request needs its own idempotency key.

Maintain apps

maintain:write is separate from Deploy apps and starts unchecked. It grants installation-maintenance authority for sign-in credentials and Console monitoring. Existing tokens, including legacy wildcard tokens, do not gain it. Create a new token or reconnect through OAuth with fresh consent. Disconnects, credential retirement, and uninstall still require separate approval of the exact action. Maintenance consent does not approve a merge, deployment, or production migration.

Manage teams, account access, and billing

team:write, account:write, and billing:write are independent opt-in scopes. Each starts unchecked on the installer page and requires a new OAuth consent screen when requested by an OAuth client. Legacy wildcard, deployment, maintenance, and existing mcp:use grants do not imply them. Refresh cannot add a scope or restore one removed by downscoping. These permissions cannot be combined with platform-support access. They do not approve deployments, production migrations, security-setting changes, or payment.

Read installed apps

Lets your agent use the read-only tools of the MCP-enabled products installed on your teams, and nothing else. A token with this ability cannot reach a tool that changes anything, whatever ends up in the agent's context.

Call installed apps

Lets your agent call the tools of the MCP-enabled products installed on your teams, as you, with your role in each. It includes everything Read installed apps allows. Only deployments whose recorded metadata offers delegated MCP access are reachable this way.

What passes through Scalpels

When an agent relays a call to an installed product, the call and its answer pass through Scalpels. Scalpels does not intentionally persist that content in any store it controls (database, cache, session, queues, files, logs, traces, analytics, error reports); records only who asked which product for what, when, and whether it succeeded

That content transits Scalpels' memory and is not end-to-end encrypted.

Everything is deployed on the customer's own Laravel Cloud or Forge, and Scalpels holds no product data.

Per-installation sign-in

Whether an app uses Scalpels for sign-in is chosen per installation by that app's Owner, inside the app. There is no team-wide switch.