Service MCP servers
Each deployed service is its own remote MCP server at its account's host, with CrabTalk sign-in or your users' own, and optionally at a custom domain.
Every service deployed on CrabTalk is a remote MCP server over Streamable HTTP. A client lists its tools by their own names and calls them directly.
| Service | MCP server |
|---|---|
acme/search |
https://acme.crabtalk.app/search |
acme/acme |
https://acme.crabtalk.app |
A service named after its account serves at the account's host itself.
claude mcp add --transport http search https://acme.crabtalk.app/searchTo reach every service an account can call through one server, use https://mcp.crabtalk.ai instead.
Tools
- The list holds the service's tools its caller may call, with their input and output schemas, titles and descriptions. A tool's access decides who sees it.
- A tool marked
queryis listed withreadOnlyHint: true; every other tool is listed as possibly destructive. - The server's name is
owner/name, its version the deployed version, and the service's description is the server's instructions. - Calls run through the same execution, charging and refusals as HTTP calls. Refusals keep their explanation codes.
Refresh the client's tool list after a deploy to see new or changed tools.
Skills
The server also serves the service's skills over MCP's skills extension: skills/list lists them at skill://{name}/SKILL.md, and resources/read reads their files. Claude Code shows each as <server>:<skill>. A caller who cannot see the service sees none of them.
Sign-in
Who may call, and what they reach:
| Caller | Signs in with | Calls |
|---|---|---|
| Anyone | Nothing | Tools declared access = "anonymous", billed to the service's owner |
| A CrabTalk account | OAuth or an API key | Those their account may call |
Your users, with an app made --mcp |
Your identity provider, with no CrabTalk account | Those a signed-in app user may call |
Every caller sees the service's public tools. A call with no sign-in to a tool that takes none, or that is priced, gets an HTTP 401, and the client signs in. An account's own MCP server, at the bare owner's host, takes no calls without sign-in.
A client that must sign in gets an HTTP 401 whose WWW-Authenticate header points at the server's OAuth protected resource metadata. With no app, that metadata names CrabTalk as the authorization server. A CrabTalk API key as Authorization: Bearer is accepted in every case.
Your users' own sign-in
To have callers sign in with your sign-in, register an app with --mcp that lists the service and your identity provider:
crab app create acme-search --mcp --service acme/search \
--issuer https://accounts.google.com=CLIENT_ID- The service's metadata then names the app's issuers as its authorization servers.
- A bearer token is verified against its issuer's published keys, and its issuer and audience must match one of the app's
--issuers. A CrabTalk API key is still accepted. - The call's account is the app's account, as for a browser's call through the app, so your account pays for its callers. The service reads the user from
berm_lang::caller(), asCaller::App { user }, which isNonefor a caller who is not signed in. - Tools that create a service request are not listed to app users.
- When several apps with
--mcplist a service, its oldest one applies.
--origin is optional on an app with --mcp.
Custom domains
On Go, a service can also be served at a hostname of your own, at its root:
crab domain add acme/search mcp.acme.devThe command prints the DNS records to create at the domain's DNS provider. The domain is active once its certificate is issued; crab domain ls acme/search shows its status and, until then, the records it needs. crab domain rm acme/search mcp.acme.dev stops serving it.
- Each custom domain costs $0.10 a month, charged by each day it is held, from the plan's included usage first and then overage. See pricing.
- An account holds a fixed number of custom domains across its services.
- Free includes no custom domains, and a domain added on Go is not served while its account is on Free.
- From a terminal session,
crab domain addopens an approval page where an owner of the account approves the charge in the browser. An API key needs thedomains:writescope.
A service's Settings tab lists its custom domains and adds and removes them.
Refusals: E0110 (domain limit), E0111 (hostname taken), E0112 (no usage to pay for it).