pay.sh docs
ToolchainCommands

Agents

pay mcp and pay skills — run the Pay MCP server and browse the pay-skills provider catalog.

The Agents group covers the two surfaces an AI agent talks to directly: the MCP server it connects to, and the provider catalog it browses.

For a task-shaped walk-through of attaching an agent client to pay, see Using pay → Pass-through commands.

pay mcp

Start the local MCP server (for Claude Code, Cursor, and other MCP-capable clients).

pay mcp

pay mcp runs in the foreground and speaks the Model Context Protocol over stdio. Most clients don't launch it directly — pay setup writes the MCP config that points the client at pay mcp.

The server exposes:

  • pay.search — query the skills catalog.
  • pay.endpoints — list endpoints for a service.
  • pay.curl — paid HTTP request, gated by the client's auth-required policy.
  • pay.balance — read account balances.
  • pay.validate_provider — sanity-check a PAY.md before publishing.

pay skills

Browse, search, and inspect API providers from the skills catalog.

pay skills <subcommand>
SubcommandPurpose
searchSearch by keyword or category.
endpointsList endpoints for a specific service.
addAdd a provider source (GitHub org/repo or URL).
removeRemove a provider source.
listList configured provider sources.
updateRefresh the local cache from all sources.
provider syncSync runtime provider YAMLs into registry .md files.

Search for API providers and endpoints. Matches service names, endpoint paths, and descriptions.

pay skills search "gemini"
pay skills search "translate text" --category ai_ml
pay skills search --json
FlagTypeDefaultDescription
[QUERY]positionalKeyword to search for. Omit to list everything.
--category (-c)stringFilter by category (ai_ml, data, compute, maps, …).
--jsonboolfalseOutput as JSON instead of a table.

pay skills endpoints

List all endpoints for a specific service.

pay skills endpoints bigquery jobs
pay skills endpoints solana-foundation/google/bigquery jobs --json
FlagTypeDefaultDescription
<SERVICE>positionalService name or FQN. Required.
<RESOURCE>positionalResource name, e.g. jobs or datasets. Required.
--jsonboolfalseOutput as JSON instead of a table.

pay skills add

Add a provider source — a GitHub org/repo or a full catalog URL.

pay skills add solana-foundation/pay-skills
pay skills add https://catalog.example.com/skills.json
FlagTypeDefaultDescription
<SOURCE>positionalGitHub org/repo or full URL. Required.

pay install (alias pay add, short flag -i) is a shorthand for the same operation.

pay skills remove

Remove a provider source. Aliases: rm.

pay skills remove solana-foundation/pay-skills

pay skills list

List configured provider sources. Alias: ls.

pay skills list

pay skills update

Refresh the local skills cache from all sources. Useful after add or when a provider has updated its catalog.

pay skills update
FlagTypeDefaultDescription
--forceboolfalseBypass the CDN cache.

pay skills provider sync

Sync runtime provider YAMLs into registry .md files. Writes <out>/<operator>/<origin>/<name>.md for every input.

pay skills provider sync providers/google/*.yml --operator solana-foundation
pay skills provider sync providers/google/translate.yml \
  --operator solana-foundation \
  --service-url "https://google-{name}.run.app" \
  --sandbox-service-url "https://sandbox-google-{name}.run.app"
FlagTypeDefaultDescription
<PATHS>...positionalPaths to .yml files or glob patterns. Required.
--operatorstringOperator/aggregator serving these APIs (e.g. solana-foundation). Required.
--out (-o)pathprovidersOutput directory.
--originstringOverride the origin org. Inferred from the parent directory of each input file.
--service-urltemplateTemplate for service_url (production). Use {name} as placeholder. Falls back to routing.url from the YAML.
--sandbox-service-urltemplateTemplate for sandbox_service_url. Use {name} as placeholder.

On this page