reply-cli 0.17.2 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -56
- package/dist/commands/skills.js +13 -14
- package/dist/commands/skills.js.map +1 -1
- package/dist/operations/commands.js +76 -37
- package/dist/operations/commands.js.map +1 -1
- package/dist/operations/direct-send.d.ts +6 -1
- package/dist/operations/direct-send.js +47 -2
- package/dist/operations/direct-send.js.map +1 -1
- package/dist/operations/direct-sends.js +6 -5
- package/dist/operations/direct-sends.js.map +1 -1
- package/dist/skills/adapter-flat.d.ts +7 -18
- package/dist/skills/adapter-flat.js +69 -165
- package/dist/skills/adapter-flat.js.map +1 -1
- package/dist/skills/detect.js +2 -3
- package/dist/skills/detect.js.map +1 -1
- package/dist/skills/hosts.js +16 -16
- package/dist/skills/hosts.js.map +1 -1
- package/dist/skills/journal.d.ts +1 -1
- package/dist/skills/journal.js.map +1 -1
- package/dist/skills/orchestrate.d.ts +3 -8
- package/dist/skills/orchestrate.js +80 -73
- package/dist/skills/orchestrate.js.map +1 -1
- package/dist/skills/packs.d.ts +11 -15
- package/dist/skills/packs.js +66 -138
- package/dist/skills/packs.js.map +1 -1
- package/dist/skills/plugins.d.ts +19 -0
- package/dist/skills/plugins.js +67 -0
- package/dist/skills/plugins.js.map +1 -0
- package/dist/skills/report.d.ts +1 -2
- package/dist/skills/report.js +75 -20
- package/dist/skills/report.js.map +1 -1
- package/dist/skills/types.d.ts +18 -22
- package/package.json +2 -1
- package/skills/reply-adapter/reply-api/SKILL.md +231 -0
- package/skills/reply-adapter/reply-auth/SKILL.md +111 -0
- package/skills/reply-adapter/reply-cli/SKILL.md +178 -0
- package/skills/reply-adapter/reply-mcp/SKILL.md +115 -0
- package/skills/reply-adapter/reply-operations-mapping/SKILL.md +469 -0
- package/skills/reply-adapter/reply-operations-mapping/fulfilment.yaml +2986 -0
- package/skills/reply-adapter/reply-operations-mapping/references/fulfilment.md +872 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-01-discovery.md +35 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-02-contacts.md +46 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-03-audiences.md +39 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-04-import.md +28 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-05-campaigns.md +49 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-06-steps.md +41 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-07-messages.md +28 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-08-enrollment.md +30 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-09-conversations.md +32 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-10-tasks.md +35 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-11-meetings.md +40 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-12-signals.md +33 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-13-inbound.md +34 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-14-privacy.md +46 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-15-sending.md +57 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-16-social.md +36 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-17-oversight.md +55 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-18-team.md +38 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-19-accounts.md +35 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-20-measurement.md +33 -0
- package/skills/reply-adapter/reply-operations-mapping/references/mapping-21-introspection.md +38 -0
- package/dist/skills/adapter-native.d.ts +0 -22
- package/dist/skills/adapter-native.js +0 -335
- package/dist/skills/adapter-native.js.map +0 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reply-auth
|
|
3
|
+
description: >
|
|
4
|
+
Reply.io credentials in depth: API key types (personal, Team, Organization), the scopes
|
|
5
|
+
model (domain:verb), acting-user headers, and team/organization resolution errors
|
|
6
|
+
(TEAM_REQUIRED, USER_REQUIRED and friends). Use when choosing or creating a key for an
|
|
7
|
+
agent, resolving 401/403 auth errors, or working across multiple teams.
|
|
8
|
+
metadata:
|
|
9
|
+
version: 1.1.0
|
|
10
|
+
pack: reply-adapter
|
|
11
|
+
category: execution
|
|
12
|
+
maturity: reviewed
|
|
13
|
+
status: active
|
|
14
|
+
owner: skills-maintainers
|
|
15
|
+
tags: [auth, keys, scopes, teams, security]
|
|
16
|
+
tools: [reply-cli, reply-mcp]
|
|
17
|
+
api: [authentication, user-account]
|
|
18
|
+
relations:
|
|
19
|
+
recommends: [reply-cli, reply-mcp, approval-boundaries]
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Auth, keys & scopes
|
|
23
|
+
|
|
24
|
+
## Purpose
|
|
25
|
+
|
|
26
|
+
Every toolkit surface authenticates with the same `Authorization: Bearer` header — an API key or
|
|
27
|
+
an OAuth token. What differs is the key's **type** (who it can act as) and its **scopes** (what it
|
|
28
|
+
may call). Getting these right is the difference between a safely-bounded agent and a 403 loop.
|
|
29
|
+
|
|
30
|
+
## When to use / when NOT to use
|
|
31
|
+
|
|
32
|
+
- Use when provisioning an agent's credential, debugging 401/403, or acting across teams/orgs.
|
|
33
|
+
- For interactive personal use, `reply auth login` (OAuth) is simpler — see `reply-cli`.
|
|
34
|
+
|
|
35
|
+
## Prerequisites
|
|
36
|
+
|
|
37
|
+
Access to Reply → **Settings → API Key** (personal), or owner/admin rights for Team/Org keys.
|
|
38
|
+
|
|
39
|
+
## Execution guidance
|
|
40
|
+
|
|
41
|
+
### Key types
|
|
42
|
+
|
|
43
|
+
| Type | Acts as | Notes |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| Personal | you | scoped; the right choice for agents and MCP |
|
|
46
|
+
| Team | any user in one workspace | owner-created; add `X-User-Id` or `X-User-Email` to impersonate; defaults to the owner |
|
|
47
|
+
| Organization | any user in any org workspace | **always** requires an acting user: `X-USER-ID`, or `X-User-Email` + `X-TEAM-ID`; multiple keys, named/rotated independently |
|
|
48
|
+
|
|
49
|
+
Resolved-user permissions always apply — no key grants more than the user it acts as.
|
|
50
|
+
MCP accepts personal keys/OAuth only (no Team/Org keys).
|
|
51
|
+
|
|
52
|
+
### Scopes (`domain:verb`)
|
|
53
|
+
|
|
54
|
+
Verbs: `read`, `write` (create/update/delete), `operate` (runtime actions: push to sequence,
|
|
55
|
+
start/pause, reply). `write` and `operate` each satisfy `read`; they do NOT include each other.
|
|
56
|
+
Wildcards: `contacts:*` (any verb in a domain), `*:*` (everything). Domains: settings, contacts,
|
|
57
|
+
sequences, channels, inbox, tasks, reporting (read-only), webhooks, ai-sdr, other.
|
|
58
|
+
Every endpoint's doc page states its minimal scope; llms.txt shows it per line.
|
|
59
|
+
|
|
60
|
+
**Least privilege for agents:** grant only what the workflow needs, e.g. inbox triage =
|
|
61
|
+
`inbox:read` + `inbox:operate`; analytics = `reporting:read` + `sequences:read`. A 403 with
|
|
62
|
+
`insufficient_scope` mid-workflow means the key is missing one of these — the response never
|
|
63
|
+
lists granted scopes, so check the key in Settings.
|
|
64
|
+
|
|
65
|
+
### Team / organization resolution
|
|
66
|
+
|
|
67
|
+
A credential that can access more than one team must resolve to exactly one before team-scoped
|
|
68
|
+
work runs. Codes you will meet (problem+json):
|
|
69
|
+
|
|
70
|
+
| Code | Status | Meaning | Fix |
|
|
71
|
+
|---|---|---|---|
|
|
72
|
+
| `TEAM_REQUIRED` | 403 | multiple teams, none specified; payload lists accessible teams | pin one: `reply team use <id>` / `--team-id` / `X-TEAM-ID` |
|
|
73
|
+
| `TEAM_NOT_ACCESSIBLE` | 403 | specified team isn't yours | pick from `reply team list` |
|
|
74
|
+
| `USER_REQUIRED` | 403 | org key without acting user | pass `--user-id` or `--user-email` (+ team id) |
|
|
75
|
+
| `USER_NOT_FOUND` | 401 | acting user doesn't exist | verify the id/email |
|
|
76
|
+
|
|
77
|
+
Plain invalid/expired key = **empty-body 401** with `WWW-Authenticate: Bearer` (no JSON) — that's
|
|
78
|
+
an auth failure, not a resolution failure.
|
|
79
|
+
|
|
80
|
+
## Validation
|
|
81
|
+
|
|
82
|
+
`reply api /v3/whoami` confirms identity; `reply api /v3/whoami/team-users` lists teams the
|
|
83
|
+
credential can act in. Verify both before long workflows.
|
|
84
|
+
|
|
85
|
+
## Reporting
|
|
86
|
+
|
|
87
|
+
When a workflow required scope or team changes, record which key/scopes/team were used — future
|
|
88
|
+
runs depend on it.
|
|
89
|
+
|
|
90
|
+
## Failure modes
|
|
91
|
+
|
|
92
|
+
Covered above; one addition — key revoked mid-run: every call turns empty-401. Stop, tell the
|
|
93
|
+
user, never retry in a loop.
|
|
94
|
+
|
|
95
|
+
## Safety
|
|
96
|
+
|
|
97
|
+
- Never commit keys, print them in logs, or store them in the workspace; the CLI store and host
|
|
98
|
+
secret managers are the only homes. Rotate on any suspicion of exposure.
|
|
99
|
+
- For unattended agents (daemon, schedulers) prefer narrowly-scoped personal keys and treat
|
|
100
|
+
`operate` scopes as the dangerous tier — they send real messages.
|
|
101
|
+
|
|
102
|
+
## Related skills
|
|
103
|
+
|
|
104
|
+
- `reply-cli` — where credentials live locally and how precedence works.
|
|
105
|
+
- `reply-mcp` — auth specifics of the MCP connection.
|
|
106
|
+
|
|
107
|
+
## Changelog
|
|
108
|
+
|
|
109
|
+
- 1.1.0 (2026-07-30): renamed `auth-and-keys` → `reply-auth` (the knowledge is Reply-specific,
|
|
110
|
+
so it carries the provider prefix); moved into the `reply-adapter` pack.
|
|
111
|
+
- 1.0.0 (2026-07-27): initial version per docs.reply.io authentication guide.
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reply-cli
|
|
3
|
+
description: >
|
|
4
|
+
Operate Reply.io from the terminal with the reply CLI: sign in (OAuth or API key),
|
|
5
|
+
manage profiles and team context, and call any API v3 endpoint via `reply api`.
|
|
6
|
+
Use when executing any Reply.io operation from a shell, setting up authentication,
|
|
7
|
+
or when another Reply skill needs commands executed.
|
|
8
|
+
metadata:
|
|
9
|
+
version: 1.3.0
|
|
10
|
+
pack: reply-adapter
|
|
11
|
+
category: execution
|
|
12
|
+
maturity: reviewed
|
|
13
|
+
status: active
|
|
14
|
+
owner: skills-maintainers
|
|
15
|
+
tags: [cli, auth, execution]
|
|
16
|
+
tools: [reply-cli]
|
|
17
|
+
api: [user-account]
|
|
18
|
+
relations:
|
|
19
|
+
recommends: [reply-api, reply-auth, reply-operations-mapping]
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Using the reply CLI
|
|
23
|
+
|
|
24
|
+
## Purpose
|
|
25
|
+
|
|
26
|
+
`reply` (npm: `reply-cli`, Node ≥ 20) is the terminal entry point to Reply.io. It handles
|
|
27
|
+
authentication, multi-account profiles and team context, and exposes the **entire** API v3 through
|
|
28
|
+
one command — `reply api`. All other Reply skills execute through it.
|
|
29
|
+
|
|
30
|
+
Reaching the whole API is not the same as reaching the whole job. Whether a given business
|
|
31
|
+
operation can be performed against Reply at all — and how far it keeps the operation's promise —
|
|
32
|
+
is answered per operation in `reply-operations-mapping`, not by this skill. This one is how a call
|
|
33
|
+
is issued once that question has an answer.
|
|
34
|
+
|
|
35
|
+
## When to use / when NOT to use
|
|
36
|
+
|
|
37
|
+
- Use for any Reply.io operation from a shell: auth, identity checks, raw API calls.
|
|
38
|
+
- Do NOT call `https://api.reply.io` with curl/fetch directly — the CLI adds credential handling,
|
|
39
|
+
retries with `Retry-After`, team headers and error guidance for free.
|
|
40
|
+
- In an MCP-connected client where no shell is available, use the `reply-mcp` skill instead.
|
|
41
|
+
|
|
42
|
+
## Prerequisites
|
|
43
|
+
|
|
44
|
+
- Node.js ≥ 20. Setup check once per session: `command -v reply` — if absent, prefix commands with
|
|
45
|
+
`npx -y reply-cli` and suggest `npm i -g reply-cli` for frequent use.
|
|
46
|
+
- Verify auth before any workflow: `reply auth whoami` — do not proceed until it succeeds.
|
|
47
|
+
|
|
48
|
+
## Execution guidance
|
|
49
|
+
|
|
50
|
+
### Authentication
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
reply auth login # OAuth in the browser (PKCE) — preferred interactively
|
|
54
|
+
echo <key> | reply auth login --with-token # store an API key (stdin keeps it out of history)
|
|
55
|
+
reply auth status # who you are signed in as, and how — no secrets printed
|
|
56
|
+
reply auth whoami # verify the credential against the API
|
|
57
|
+
reply auth logout
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Credential precedence (strict): `--api-key` flag → `REPLY_API_KEY` env → stored credential.
|
|
61
|
+
Flag/env are ephemeral — never written to disk. Expired OAuth sessions refresh automatically; if
|
|
62
|
+
refresh fails the CLI asks to log in again.
|
|
63
|
+
|
|
64
|
+
A user with no Reply.io account can create one during `reply auth login` — the sign-in page
|
|
65
|
+
offers registration, and a trial costs nothing. Say that rather than treating a missing account
|
|
66
|
+
as a dead end.
|
|
67
|
+
|
|
68
|
+
### Keeping the CLI current
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
reply install # update to the newest release (`reply update` is an alias)
|
|
72
|
+
reply install --dry-run # report whether an update exists, change nothing
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Only a global npm install is driven; a project-local copy, an `npx` run or a source checkout is
|
|
76
|
+
reported with the command that fits it and left alone. `reply --version` mentions a newer release
|
|
77
|
+
when one exists, and says nothing when output is piped or `--json` is in play — so it never
|
|
78
|
+
corrupts machine-readable output.
|
|
79
|
+
|
|
80
|
+
### Profiles (multiple accounts)
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
reply profile add alice@example.com && reply profile use alice@example.com
|
|
84
|
+
reply profile list # '*' marks the active profile
|
|
85
|
+
reply --profile bob@example.com auth whoami # one-off override
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Resolution: `--profile` → `REPLY_PROFILE` → profile set with `profile use` → default.
|
|
89
|
+
Each profile stores its own credential; `profile show` never prints secrets.
|
|
90
|
+
|
|
91
|
+
### Team context
|
|
92
|
+
|
|
93
|
+
A profile can pin a team (workspace); it is sent as `X-TEAM-ID` on every call.
|
|
94
|
+
Precedence: `--team-id` → `REPLY_TEAM_ID` → the profile's pinned team.
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
reply team list # teams you can act in
|
|
98
|
+
reply team use 1045 # verify + pin on the current profile
|
|
99
|
+
reply team current # pinned + effective team
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Organization API keys additionally need an acting user: pass exactly one of `--user-id <id>` or
|
|
103
|
+
`--user-email <email>` (email also requires a team id). Flag-only — never stored.
|
|
104
|
+
|
|
105
|
+
### `reply api` — any v3 endpoint
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
reply api /v3/whoami # GET; your identity + team
|
|
109
|
+
reply api /v3/sequences # list sequences
|
|
110
|
+
reply api /v3/contacts --pretty # indented output
|
|
111
|
+
reply api /v3/contacts --body @contact.json # a body switches the method to POST
|
|
112
|
+
echo '<json>' | reply api /v3/contacts --body - # body from stdin
|
|
113
|
+
reply api /v3/whoami --verbose # full request/response trace on stderr, creds redacted
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Rules: the path is used **exactly as written in the API docs** (starts with `/v3`; query string
|
|
117
|
+
goes in the path). `--method GET|POST|PUT|PATCH|DELETE` overrides the default. Output is always
|
|
118
|
+
`{"code": <http status>, "data": <body>}` on stdout — check `code` yourself; stdout stays clean
|
|
119
|
+
for piping. Transient failures (429/5xx) retry automatically honoring `Retry-After`.
|
|
120
|
+
|
|
121
|
+
### Exit codes & errors
|
|
122
|
+
|
|
123
|
+
- `0` success · `1` API/runtime error (`code` ≥ 400 in the printed JSON) · `2` usage error.
|
|
124
|
+
- On team/user-resolution errors the CLI prints fix-it guidance on stderr (e.g. `TEAM_REQUIRED` →
|
|
125
|
+
`reply team use <id>`, with your teams listed). Follow it before retrying.
|
|
126
|
+
- `401` with empty body = bad/expired credential → re-run `reply auth login` or fix the key.
|
|
127
|
+
|
|
128
|
+
## Validation
|
|
129
|
+
|
|
130
|
+
After any write, read the entity back (`reply api GET …`) and confirm IDs/counts before reporting
|
|
131
|
+
success. Never claim success without checking `code` and the response body. Which read to perform
|
|
132
|
+
is not a judgement call: every operation in the `sdr-operations` contract names its
|
|
133
|
+
`before_repeating` state, and that is the read-back — it is also what makes a resumed run and an
|
|
134
|
+
interrupted plan safe, so it is not optional on the paths nobody is watching.
|
|
135
|
+
|
|
136
|
+
## Reporting
|
|
137
|
+
|
|
138
|
+
Include in reports: commands executed (writes only), resulting IDs and counts, and any non-zero
|
|
139
|
+
exit codes with their error `code` slugs.
|
|
140
|
+
|
|
141
|
+
## Failure modes
|
|
142
|
+
|
|
143
|
+
- `Not authenticated` → run the auth setup above.
|
|
144
|
+
- `TEAM_REQUIRED` / `TEAM_NOT_ACCESSIBLE` / `USER_REQUIRED` / `USER_NOT_FOUND` → see
|
|
145
|
+
`reply-auth` skill; the CLI's stderr guidance shows the exact fix.
|
|
146
|
+
- Discrete domain commands (e.g. `reply sequences list`) are **not available yet**. The command
|
|
147
|
+
groups are `auth`, `profile`, `team`, `api`, `skills` and `install` — nothing else exists.
|
|
148
|
+
Don't invent one: reach the operation through `reply api`, using the endpoint mapping in
|
|
149
|
+
`reply-operations-mapping`.
|
|
150
|
+
|
|
151
|
+
## Safety
|
|
152
|
+
|
|
153
|
+
`reply api` executes real mutations with no dry-run: treat any POST/PATCH/DELETE as live. Follow
|
|
154
|
+
the calling skill's confirmation rules; never send a write on the user's behalf without the
|
|
155
|
+
explicit confirmation its Safety section requires.
|
|
156
|
+
|
|
157
|
+
## Related skills
|
|
158
|
+
|
|
159
|
+
- `reply-api` — how to find the right endpoint and read the docs before calling.
|
|
160
|
+
- `reply-auth` — key types, scopes and team/org resolution in depth.
|
|
161
|
+
- `reply-operations-mapping` — whether an operation is performable against Reply at all, and the
|
|
162
|
+
endpoint group that performs it.
|
|
163
|
+
|
|
164
|
+
## Changelog
|
|
165
|
+
|
|
166
|
+
- 1.3.0 (2026-08-10): said plainly that reaching the whole API is not reaching the whole job — the
|
|
167
|
+
per-operation answer is in `reply-operations-mapping` — because "exposes the entire API v3" was
|
|
168
|
+
the sentence an agent was reading as "anything the user asks for is reachable". The read-back in
|
|
169
|
+
*Validation* is now named as the contract's `before_repeating` state rather than left as a
|
|
170
|
+
general instruction to check afterwards. The command inventory was re-checked against the
|
|
171
|
+
2.0.0 contract and needed no change.
|
|
172
|
+
- 1.2.0 (2026-08-02): the command inventory was two groups out of date — `skills` and `install`
|
|
173
|
+
shipped and this skill still said the CLI covers auth/profile/team plus `reply api`, which is
|
|
174
|
+
how an agent ends up telling a user a command does not exist. Added self-update, and a note
|
|
175
|
+
that a user without an account can register during login instead of being turned away.
|
|
176
|
+
- 1.1.0 (2026-07-30): moved into the `reply-adapter` pack; category `technical` → `execution`;
|
|
177
|
+
`auth-and-keys` renamed `reply-auth`.
|
|
178
|
+
- 1.0.0 (2026-07-27): initial version, matches reply-cli v1 (auth, profiles, teams, `reply api`).
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reply-mcp
|
|
3
|
+
description: >
|
|
4
|
+
Connect Reply.io to an MCP-compatible AI client (Claude, ChatGPT, Codex, Cursor) via the
|
|
5
|
+
remote server mcp.reply.io, choose the right auth, and decide when to use MCP tools versus
|
|
6
|
+
the CLI. Use when setting up the Reply MCP connection or choosing between MCP and CLI execution.
|
|
7
|
+
metadata:
|
|
8
|
+
version: 1.2.0
|
|
9
|
+
pack: reply-adapter
|
|
10
|
+
category: execution
|
|
11
|
+
maturity: reviewed
|
|
12
|
+
status: active
|
|
13
|
+
owner: skills-maintainers
|
|
14
|
+
tags: [mcp, setup, auth]
|
|
15
|
+
tools: [reply-mcp]
|
|
16
|
+
api: [introduction]
|
|
17
|
+
relations:
|
|
18
|
+
recommends: [reply-cli, reply-auth, reply-operations-mapping]
|
|
19
|
+
alternative-to: [reply-cli]
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Reply MCP
|
|
23
|
+
|
|
24
|
+
## Purpose
|
|
25
|
+
|
|
26
|
+
Reply MCP (`https://mcp.reply.io`, remote streamable-http) exposes a curated catalog of Reply
|
|
27
|
+
tools (`reply_*`) to any MCP client — contacts, sequences, analytics, inbox, tasks, channels,
|
|
28
|
+
team, and the AI-SDR configuration surface. One connection, no HTTP plumbing.
|
|
29
|
+
|
|
30
|
+
## When to use / when NOT to use
|
|
31
|
+
|
|
32
|
+
- Use in MCP-capable clients when no shell is available, or when curated tools cover the task.
|
|
33
|
+
- The MCP catalog is a **subset** of API v3, and API v3 is itself a minority of the job. Of the
|
|
34
|
+
325 vendor-neutral operations in the `sdr-operations` contract, **most are not performable here
|
|
35
|
+
at all**, and the rest divide into fully, by composition, and only in part.
|
|
36
|
+
`reply-operations-mapping` carries that division operation by operation and is generated from the
|
|
37
|
+
fulfilment register — the figures live there once, rather than being copied into a second skill
|
|
38
|
+
where they would go stale without anyone noticing. The tool catalog is a curated slice of what
|
|
39
|
+
remains, so **a missing tool is the ordinary case, not a malfunction**. Size a plan against that
|
|
40
|
+
rather than against the impression a tidy tool list gives.
|
|
41
|
+
- When a needed capability is missing from the tools, fall back to the CLI (`reply api` reaches
|
|
42
|
+
the whole API) rather than improvising with an adjacent tool. A tool that returns approximately
|
|
43
|
+
the right shape for a different question is worse than no tool.
|
|
44
|
+
|
|
45
|
+
## Prerequisites
|
|
46
|
+
|
|
47
|
+
Either a **personal scoped API key** (Reply → Settings → API Key) or an OAuth-capable MCP client.
|
|
48
|
+
|
|
49
|
+
## Execution guidance
|
|
50
|
+
|
|
51
|
+
### Connect
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Claude Code
|
|
55
|
+
claude mcp add --transport http reply-mcp https://mcp.reply.io \
|
|
56
|
+
--header "Authorization: Bearer <personal_api_key>"
|
|
57
|
+
|
|
58
|
+
# Codex
|
|
59
|
+
export REPLY_MCP_TOKEN="<personal_api_key>"
|
|
60
|
+
codex mcp add reply-mcp --url https://mcp.reply.io --bearer-token-env-var REPLY_MCP_TOKEN
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Desktop apps (Claude, ChatGPT): add a remote/custom connector with URL `https://mcp.reply.io` and
|
|
64
|
+
authorize via OAuth. Verify by listing tools — `reply_*` should appear.
|
|
65
|
+
|
|
66
|
+
### Choosing auth
|
|
67
|
+
|
|
68
|
+
- **Personal API key (recommended):** scoped — grant only the permissions the agent needs; a tool
|
|
69
|
+
is callable only if the key holds its scope.
|
|
70
|
+
- **OAuth:** grants the full tool catalog (all scopes) — convenient, but prefer a scoped key when
|
|
71
|
+
you want to bound what the agent can do.
|
|
72
|
+
- **Not supported:** Team keys and Organization keys (act-on-behalf) — MCP is a single-user
|
|
73
|
+
connection. Never pass credentials in the URL (`?api_key=…`); header or OAuth only.
|
|
74
|
+
|
|
75
|
+
## Validation
|
|
76
|
+
|
|
77
|
+
After connecting, call a read tool (e.g. current-user/team lookup) and confirm the expected
|
|
78
|
+
identity before running workflows.
|
|
79
|
+
|
|
80
|
+
## Reporting
|
|
81
|
+
|
|
82
|
+
Note which surface executed each step (MCP tool vs CLI) so runs are reproducible.
|
|
83
|
+
|
|
84
|
+
## Failure modes
|
|
85
|
+
|
|
86
|
+
- Tool missing for the task → use `reply-cli` (`reply api`), which reaches the whole documented
|
|
87
|
+
API. If the operation is not there either, `reply-operations-mapping` says so and why — that is
|
|
88
|
+
an answer to give the user, not a gap to improvise around.
|
|
89
|
+
- Scope-denied tool call → the key lacks that permission; see `reply-auth`.
|
|
90
|
+
- OAuth client fails with a registration/allow-list error → the client lacks CIMD support and DCR
|
|
91
|
+
is allow-listed server-side; report it to the Reply community Slack (docs.reply.io/slack).
|
|
92
|
+
|
|
93
|
+
## Safety
|
|
94
|
+
|
|
95
|
+
Same rules as everywhere: tools that send messages, start sequences, or delete data require the
|
|
96
|
+
user's explicit confirmation in the conversation. A scoped key is the mechanical enforcement —
|
|
97
|
+
recommend read-mostly scopes for unattended agents.
|
|
98
|
+
|
|
99
|
+
## Related skills
|
|
100
|
+
|
|
101
|
+
- `reply-cli` — full-surface alternative and fallback.
|
|
102
|
+
- `reply-auth` — scope grammar and key hygiene.
|
|
103
|
+
- `reply-operations-mapping` — which operations Reply performs at all, and how far.
|
|
104
|
+
|
|
105
|
+
## Changelog
|
|
106
|
+
|
|
107
|
+
- 1.2.0 (2026-08-10): the "curated subset" claim was measured against nothing. It is now stated
|
|
108
|
+
against the 325-operation contract, and it points at the generated fulfilment register for the
|
|
109
|
+
division rather than restating figures that would go stale here — so a reader can see that the
|
|
110
|
+
tool catalog is a slice of a surface that already covers a minority of the job, and that a
|
|
111
|
+
missing tool is the expected case rather than a fault. Added the rule that an adjacent tool is
|
|
112
|
+
never a substitute for a missing one.
|
|
113
|
+
- 1.1.0 (2026-07-30): moved into the `reply-adapter` pack; category `technical` → `execution`;
|
|
114
|
+
`auth-and-keys` renamed `reply-auth`.
|
|
115
|
+
- 1.0.0 (2026-07-27): initial version per docs.reply.io/reply-mcp.
|