@lerianstudio/matcher-mcp 5.0.0-beta.61 → 5.0.0-beta.63
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
CHANGED
|
@@ -44,13 +44,16 @@ as the matcher app, which also pins the embedded OpenAPI spec to the matched
|
|
|
44
44
|
matcher version. The bearer token the relay forwards is never baked into the
|
|
45
45
|
image.
|
|
46
46
|
|
|
47
|
-
It speaks **Streamable HTTP** and binds `MCP_PORT` (default `4019`)
|
|
48
|
-
|
|
47
|
+
It speaks **Streamable HTTP** and binds `MCP_PORT` (default `4019`). The server
|
|
48
|
+
also hosts the optional console copilot and voice routes:
|
|
49
49
|
|
|
50
50
|
| Method | Path | Purpose |
|
|
51
51
|
|--------|------------|--------------------------------------------------|
|
|
52
52
|
| `GET` | `/healthz` | Plain liveness probe. |
|
|
53
53
|
| `POST` | `/mcp` | The Streamable HTTP MCP endpoint clients connect to. |
|
|
54
|
+
| `POST` | `/agent/turns` | Stream an authenticated copilot turn when a provider is configured. |
|
|
55
|
+
| `GET` | `/agent/transcribe` | Report voice-transcription availability for the authenticated caller. |
|
|
56
|
+
| `POST` | `/agent/transcribe` | Transcribe an authenticated voice recording when configured. |
|
|
54
57
|
|
|
55
58
|
Point any Streamable-HTTP MCP client at `POST /mcp` and send the matcher bearer
|
|
56
59
|
token as the `Authorization` header.
|
|
@@ -73,6 +76,9 @@ Three options for `<mcp-url>`:
|
|
|
73
76
|
- **Local matcher dev (repo clone).** `make up` brings the relay up as a compose
|
|
74
77
|
service on `:4019` alongside the rest of the stack (`restart: unless-stopped`,
|
|
75
78
|
so it stays up — no separate process to babysit). Use `http://localhost:4019/mcp`.
|
|
79
|
+
If Matcher runs on the host, stop both Compose `app` and `mcp` first and start
|
|
80
|
+
the host relay with `MATCHER_API_URL=http://localhost:4018`; the Compose relay
|
|
81
|
+
targets the Docker-only name `app:4018`. See [`../docs/development.md`](../docs/development.md).
|
|
76
82
|
- **Run it standalone with `npx`.** `@lerianstudio/matcher-mcp` is a **public**
|
|
77
83
|
package (Apache-2.0) — no registry auth needed. Start the relay (binds `:4019`)
|
|
78
84
|
pointed at your Matcher API:
|
|
@@ -264,13 +270,14 @@ full embedded OpenAPI spec.
|
|
|
264
270
|
| `fee_schedule_*` | Manage fee schedules — create, list, get, update, delete, and simulate. |
|
|
265
271
|
| `fee_rule_*` | Manage fee rules attached to schedules — create, list, get, update, delete. |
|
|
266
272
|
| `match_rule_*` | Manage a context's match rules — create, list, get, update, delete, reorder. |
|
|
267
|
-
| `context_*` | Manage reconciliation contexts — create, list, get, update,
|
|
268
|
-
| `source_*` | Manage a context's data sources — create, list, get, update,
|
|
273
|
+
| `context_*` | Manage reconciliation contexts — create, list, get, update, archive, restore, setup progress, and next-step guidance. |
|
|
274
|
+
| `source_*` | Manage a context's data sources — create, list, get, update, archive, and restore. |
|
|
275
|
+
| `field_map_*` | Manage field maps — create, list by context, get by source, update, and delete. |
|
|
269
276
|
| `match_run_*` | Drive reconciliation runs — start a run, list runs, get a run, inspect match groups. |
|
|
270
277
|
| `exception_*` | Work reconciliation exceptions — list/get, history and comments (list/add/delete), per-exception action verbs (dispatch, open-dispute, force-match, adjust-entry), and cross-exception bulk actions (assign/resolve/dispatch). |
|
|
271
278
|
| `dispute_*` | Manage the dispute lifecycle — list, get, close, submit evidence. |
|
|
272
|
-
| `ingestion_*` | Inspect a context's import lifecycle — list jobs, get a job, list a job's per-row errors and transactions, search transactions, ignore a transaction
|
|
273
|
-
| `dashboard_*` | Read
|
|
279
|
+
| `ingestion_*` | Inspect a context's import lifecycle — list jobs, get a job, list a job's per-row errors and transactions, search transactions, ignore a transaction, and upload files through `ingestion_upload` or `ingestion_upload_begin`. |
|
|
280
|
+
| `dashboard_*` | Read combined aggregates and focused slices (cash-impact, match-rate, metrics, SLA, source-breakdown, volume). The console uses the aggregate for volume, match rate and SLA, plus separate metrics, source-breakdown and cash-impact queries. Only standalone volume, match-rate and SLA reads have no console consumer. |
|
|
274
281
|
| `report_*` | Pull a context's reports — paginated matched/unmatched/variance reads, the summary read, four counts (exceptions/matched/unmatched/transactions), and five base64 exports (exceptions/matched/summary/unmatched/variance). |
|
|
275
282
|
| `workspace_usage` | Read the caller's own commercial state and free-tier consumption — plan, billing status, both trial axes (days remaining, matched lines against the cap), the expiry verdict, and the derived percentage consumed. Takes no arguments; the workspace comes from the relayed credential. |
|
|
276
283
|
|
|
@@ -288,11 +295,16 @@ HTTP client and a single token relay, so both surfaces map matcher errors
|
|
|
288
295
|
|
|
289
296
|
### Intentionally not curated
|
|
290
297
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
298
|
+
`uploadFile` has curated replacements. Use `ingestion_upload` for a small
|
|
299
|
+
base64-in-JSON payload or `ingestion_upload_begin` for a real local file; the
|
|
300
|
+
relay rebuilds or brokers the multipart request. `matcher_invoke` cannot build
|
|
301
|
+
that binary body and points callers to the curated tools.
|
|
302
|
+
|
|
303
|
+
`extractDocument` accepts a raw document body and has no MCP path today; call
|
|
304
|
+
the Matcher HTTP API directly for that operation. Inbound callback and webhook
|
|
305
|
+
receivers (`processCallback`, aggregator webhooks, and hub events) stay
|
|
306
|
+
generic-only because they are machine- or hub-initiated deliveries rather than
|
|
307
|
+
operator actions.
|
|
296
308
|
|
|
297
309
|
## Project layout
|
|
298
310
|
|
|
@@ -309,7 +321,7 @@ mcp/
|
|
|
309
321
|
└── src/
|
|
310
322
|
├── server.ts # entry point: builds the per-request server, wires tools + telemetry
|
|
311
323
|
├── config.ts # frozen, fail-loud bootstrap config
|
|
312
|
-
├── transport/ #
|
|
324
|
+
├── transport/ # HTTP routing for /healthz, /mcp, /agent/turns and /agent/transcribe
|
|
313
325
|
├── auth/ # request-scoped fail-closed bearer-token relay
|
|
314
326
|
├── matcher/ # Matcher HTTP client
|
|
315
327
|
├── observability/ # OpenTelemetry init + token-free tool instrumentation
|
|
@@ -330,6 +342,9 @@ pnpm test # run vitest
|
|
|
330
342
|
pnpm dev # run with --watch
|
|
331
343
|
```
|
|
332
344
|
|
|
345
|
+
For the Compose and host-process topologies, including the `:4018`/`:4019`
|
|
346
|
+
proxy variables used by the UI, see [`../docs/development.md`](../docs/development.md).
|
|
347
|
+
|
|
333
348
|
## Toolchain
|
|
334
349
|
|
|
335
350
|
Mirrors the `ui/` sub-project: **pnpm** (`pnpm@11.5.2`), Node `>=22`, ESLint flat
|
|
@@ -21,6 +21,16 @@ const ANTHROPIC_DEFAULT_MODEL = 'claude-opus-4-8';
|
|
|
21
21
|
// ponytail: placeholder name/input is a known ceiling — enrich LLMToolResult
|
|
22
22
|
// with the originating name/input if the model needs to see its prior args.
|
|
23
23
|
const SYNTHETIC_TOOL_USE_NAME = 'tool';
|
|
24
|
+
/**
|
|
25
|
+
* The prompt-cache breakpoint marker, at the default 5-minute TTL.
|
|
26
|
+
*
|
|
27
|
+
* 5m, not 1h: the 1-hour TTL costs 2x on the write instead of 1.25x and only
|
|
28
|
+
* pays off when requests sharing the prefix start more than five minutes
|
|
29
|
+
* apart. Every round inside an agentic turn starts seconds after the last, and
|
|
30
|
+
* a read refreshes the entry's timer for free, so a busy console keeps the
|
|
31
|
+
* 5-minute entry alive indefinitely at the cheaper write price.
|
|
32
|
+
*/
|
|
33
|
+
const CACHE_EPHEMERAL = { type: 'ephemeral' };
|
|
24
34
|
/**
|
|
25
35
|
* Build a provider backed by Anthropic. When `streamFn` is omitted the key is
|
|
26
36
|
* required (its absence throws CopilotUnconfiguredError here, at construction);
|
|
@@ -31,10 +41,31 @@ export function createAnthropicProvider(config, streamFn) {
|
|
|
31
41
|
return {
|
|
32
42
|
async streamTurn(input, handlers) {
|
|
33
43
|
const tools = input.tools.map(toAnthropicTool);
|
|
44
|
+
// Prompt caching, two of the API's four allowed breakpoints.
|
|
45
|
+
//
|
|
46
|
+
// The request renders as tools -> system -> messages, and everything up
|
|
47
|
+
// to the end of `system` is byte-identical on every round of every turn:
|
|
48
|
+
// `buildSystemPrompt` returns a frozen module constant with nothing
|
|
49
|
+
// interpolated into it (the operator's screen context is deliberately a
|
|
50
|
+
// user message, not part of the system tier), and the tool catalogue is
|
|
51
|
+
// memoized over the immutable spec index. That static floor is the whole
|
|
52
|
+
// prize (it dwarfs the conversation), so breakpoint 1 goes on the last
|
|
53
|
+
// (only) system block, which caches the tools ahead of it in the same
|
|
54
|
+
// entry. Nothing had to be moved out of it; it was already stable, just
|
|
55
|
+
// unmarked.
|
|
56
|
+
//
|
|
57
|
+
// Breakpoint 2 is the top-level marker: the API places it on the last
|
|
58
|
+
// cacheable block and walks it forward as the request grows, which is
|
|
59
|
+
// exactly the shape of the tail here: a turn accumulates tool results
|
|
60
|
+
// round over round, and the browser replays the whole conversation on
|
|
61
|
+
// the next POST. A write bills only the delta past the highest cache
|
|
62
|
+
// hit, so this second entry costs the messages delta, never the prefix
|
|
63
|
+
// breakpoint 1 already covers.
|
|
34
64
|
const params = {
|
|
35
65
|
model: config.copilotModel ?? ANTHROPIC_DEFAULT_MODEL,
|
|
36
66
|
max_tokens: ANTHROPIC_MAX_TOKENS,
|
|
37
|
-
system: input.system,
|
|
67
|
+
system: [{ type: 'text', text: input.system, cache_control: CACHE_EPHEMERAL }],
|
|
68
|
+
cache_control: CACHE_EPHEMERAL,
|
|
38
69
|
messages: buildAnthropicMessages(input),
|
|
39
70
|
...(tools.length > 0 ? { tools } : {}),
|
|
40
71
|
};
|
|
@@ -46,13 +77,25 @@ export function createAnthropicProvider(config, streamFn) {
|
|
|
46
77
|
// neither, so the loop meters this round as 0 (fail-open).
|
|
47
78
|
let inputTokens;
|
|
48
79
|
let outputTokens;
|
|
80
|
+
// Prompt-cache halves of the input, tracked separately so `usageFrom`
|
|
81
|
+
// can both fold them into the true prompt size and report them raw. Read
|
|
82
|
+
// off message_start with message_delta (also cumulative, and nullable
|
|
83
|
+
// there) as a refresh, so a stream that only populates them on the delta
|
|
84
|
+
// is still accounted rather than silently metered as an uncached turn.
|
|
85
|
+
let cacheCreationTokens;
|
|
86
|
+
let cacheReadTokens;
|
|
49
87
|
for await (const event of openStream(params)) {
|
|
50
88
|
if (event.type === 'message_start') {
|
|
51
89
|
inputTokens = event.message.usage.input_tokens;
|
|
52
90
|
outputTokens = event.message.usage.output_tokens;
|
|
91
|
+
cacheCreationTokens = event.message.usage.cache_creation_input_tokens ?? undefined;
|
|
92
|
+
cacheReadTokens = event.message.usage.cache_read_input_tokens ?? undefined;
|
|
53
93
|
}
|
|
54
94
|
else if (event.type === 'message_delta') {
|
|
55
95
|
outputTokens = event.usage.output_tokens;
|
|
96
|
+
cacheCreationTokens =
|
|
97
|
+
event.usage.cache_creation_input_tokens ?? cacheCreationTokens;
|
|
98
|
+
cacheReadTokens = event.usage.cache_read_input_tokens ?? cacheReadTokens;
|
|
56
99
|
}
|
|
57
100
|
else if (event.type === 'content_block_start' &&
|
|
58
101
|
event.content_block.type === 'tool_use') {
|
|
@@ -74,7 +117,12 @@ export function createAnthropicProvider(config, streamFn) {
|
|
|
74
117
|
}
|
|
75
118
|
}
|
|
76
119
|
}
|
|
77
|
-
const usage = usageFrom(
|
|
120
|
+
const usage = usageFrom({
|
|
121
|
+
inputTokens,
|
|
122
|
+
outputTokens,
|
|
123
|
+
cacheCreationTokens,
|
|
124
|
+
cacheReadTokens,
|
|
125
|
+
});
|
|
78
126
|
if (toolBlocks.size === 0) {
|
|
79
127
|
// ponytail: turn-end is inferred from the absence of tool_use blocks —
|
|
80
128
|
// we do NOT inspect stop_reason, so a max_tokens-truncated text answer
|
|
@@ -104,14 +152,32 @@ function defaultAnthropicStream(config) {
|
|
|
104
152
|
}
|
|
105
153
|
/**
|
|
106
154
|
* Build an LLMUsage from the tracked token counts, or `undefined` when the
|
|
107
|
-
* stream reported
|
|
108
|
-
* missing
|
|
155
|
+
* stream reported no usage at all (so the loop meters this round as 0, which
|
|
156
|
+
* is fail-open). A missing field defaults to 0 rather than dropping the whole
|
|
157
|
+
* usage.
|
|
158
|
+
*
|
|
159
|
+
* `inputTokens` is deliberately NOT the API's `input_tokens`. With caching on,
|
|
160
|
+
* that field counts only the uncached remainder. The total prompt is
|
|
161
|
+
* `input_tokens + cache_creation_input_tokens + cache_read_input_tokens`, so
|
|
162
|
+
* the cached halves are added back here. Reporting the remainder instead would
|
|
163
|
+
* make every cached round look ~25k tokens cheaper than it is to the two
|
|
164
|
+
* consumers that read this number: the per-turn ceiling in `runAgentTurn`
|
|
165
|
+
* (which would stop tripping on a runaway) and the copilot token metric (which
|
|
166
|
+
* would under-report the prompt floor by the whole cached prefix). The raw
|
|
167
|
+
* halves ride alongside, unfolded, as the cache-hit evidence.
|
|
109
168
|
*/
|
|
110
|
-
function usageFrom(
|
|
111
|
-
if (inputTokens === undefined && outputTokens === undefined) {
|
|
169
|
+
function usageFrom(raw) {
|
|
170
|
+
if (raw.inputTokens === undefined && raw.outputTokens === undefined) {
|
|
112
171
|
return undefined;
|
|
113
172
|
}
|
|
114
|
-
|
|
173
|
+
const cacheCreationTokens = raw.cacheCreationTokens ?? 0;
|
|
174
|
+
const cacheReadTokens = raw.cacheReadTokens ?? 0;
|
|
175
|
+
return {
|
|
176
|
+
inputTokens: (raw.inputTokens ?? 0) + cacheCreationTokens + cacheReadTokens,
|
|
177
|
+
outputTokens: raw.outputTokens ?? 0,
|
|
178
|
+
cacheCreationTokens,
|
|
179
|
+
cacheReadTokens,
|
|
180
|
+
};
|
|
115
181
|
}
|
|
116
182
|
function toAnthropicTool(def) {
|
|
117
183
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-anthropic.js","sourceRoot":"","sources":["../../src/copilot/provider-anthropic.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,EAAE;AACF,2EAA2E;AAC3E,8EAA8E;AAC9E,wCAAwC;AAExC,OAAO,SAAS,MAAM,mBAAmB,CAAA;AAGzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,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,GAAkC,KAAK,CAAC,WAAW,CAAC,GAAG,CACxE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;YACX,IAAI,EAAE,UAAU;YAChB,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,IAAI,EAAE,uBAAuB;YAC7B,KAAK,EAAE,EAAE;SACV,CAAC,CACH,CAAA;QACD,MAAM,gBAAgB,GAAkC,KAAK,CAAC,WAAW,CAAC,GAAG,CAC3E,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;YACX,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,MAAM,CAAC,EAAE;YACtB,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,GAAG,CAAC,MAAM,CAAC,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACvD,CAAC,CACH,CAAA;QACD,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,EAAE,CAAC,CAAA;QAC5D,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC,CAAA;IAC5D,CAAC;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lerianstudio/matcher-mcp",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.63",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Model Context Protocol server for the Matcher reconciliation engine",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
"eslint": "^10.4.1",
|
|
67
67
|
"typescript": "^6.0.2",
|
|
68
68
|
"typescript-eslint": "^8.60.1",
|
|
69
|
-
"vitest": "^4.1.
|
|
69
|
+
"vitest": "^4.1.11"
|
|
70
70
|
}
|
|
71
71
|
}
|