saperly-mcp AGENTS.md

saperly-mcp AGENTS.md is an instructions file for Codex, OpenCode from Saperly/saperly-mcp. It costs 2,467 tokens per session, scanned A, original, MIT.

Instructions for using Saperly, a service that gives AI agents phone numbers and APIs for making compliant voice calls. MCP is a standard way for an AI client to connect to external tools.

In plain words
What is it for?
Use it to configure the Saperly MCP server, provide its API key, and build phone interactions through hosted, webhook, or raw-audio modes.
Why use it?
It explains setup, authentication, transport, and operating patterns so an agent can connect to Saperly correctly.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/saperly/saperly-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/Saperly/saperly-mcp

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for saperly-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/saperly/saperly-mcp/agents-md.svg)](https://agentmods.dev/instructions/saperly/saperly-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/saperly/saperly-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/saperly/saperly-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,467 This file is loaded in full into every session.
When invoked 2,467 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.02467 $0.02467
Opus 5 $0.01234 $0.01234
Sonnet 5 $0.00493 $0.00493
Haiku 4.5 $0.00247 $0.00247

Measured 4d ago against content hash 01f0ca30797a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

saperly-mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md: @saperly/mcp

Patterns and pitfalls for AI agents (Claude Desktop, Claude Code, Cursor) using the Saperly MCP server. If you are an MCP client reading this autonomously, the tool names and patterns below are canonical — see the generated tool index at the end of this file for the full list.

1. What Saperly is

Saperly is the phone carrier for AI agents. One API call gives any agent a real phone number with TCPA compliance, consent capture, and an audit trail built in. Hosted mode runs the AI for you (Saperly handles speech-to-text, the LLM call, and text-to-speech). Webhook mode lets your backend decide responses turn by turn. Audio mode streams raw audio over a WebSocket if you need full control of the media plane.

2. Installation

For Claude Code:

claude mcp add saperly -- npx -y @saperly/mcp
export SAPERLY_API_KEY=sk_live_...

For Claude Desktop, add this entry to claude_desktop_config.json:

{
  "mcpServers": {
    "saperly": {
      "command": "npx",
      "args": ["-y", "@saperly/mcp"],
      "env": { "SAPERLY_API_KEY": "sk_live_..." }
    }
  }
}

Transport is stdio. The server is a Node.js 18+ binary published as @saperly/mcp.

3. Authentication

Saperly uses a two-tier credential model. The MCP server reads exactly one credential from the environment at startup; pick the tier that matches the tools you plan to call.

Credential Prefix What it does Where to get it
API key sk_test_… / sk_live_… Place calls, send SMS, manage lines, query usage. Portal, or minted by a service key via POST /v1/keys.
Service key sk_svc_test_… / sk_svc_live_… Mint, list, get, update, rotate, revoke child API keys. Credential management only. Portal only (Settings → Service Keys).

Child API keys minted by a service key carry their own scope. The API accepts exactly four permission tiers on POST /v1/keys and PATCH /v1/keys/{id}. A fifth value, legacy_full, appears on responses for keys minted before v0.5.7.0 but cannot be set via the API.

Read the full file on GitHub · 169 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 169 lines · 2,467 tokens per session scan A 01f0ca30797a

Subscribe to this mod's changes

saperly-mcp AGENTS.md is an instructions file published in the GitHub repository Saperly/saperly-mcp (3 stars, last pushed 2mo ago), licensed MIT. It adds 2,467 tokens to every session, about $0.0123 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.