@lerianstudio/matcher-mcp 1.5.0-beta.2 → 1.5.0-beta.3
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/dist/server.js
CHANGED
|
@@ -113,7 +113,7 @@ function registerTools(server) {
|
|
|
113
113
|
registerListOperationsTool(server, index);
|
|
114
114
|
registerDescribeOperationTool(server, index);
|
|
115
115
|
// Generic invoke (task 1.2.3): assembles + validates + dispatches any of the
|
|
116
|
-
//
|
|
116
|
+
// 171 operations with the caller's relayed token (fail-closed). Shares the
|
|
117
117
|
// RFC 9457 → tool-error mapping (toToolError) with the curated surface.
|
|
118
118
|
registerInvokeTool(server, index);
|
|
119
119
|
// Curated fee-schedule vertical (task 1.3.2): six typed tools (create/list/
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
// covers — the registry the drift guard checks against.
|
|
3
3
|
//
|
|
4
4
|
// WHY THIS EXISTS
|
|
5
|
-
// The server exposes two surfaces over the
|
|
5
|
+
// The server exposes two surfaces over the 171-operation matcher spec:
|
|
6
6
|
// 1. The GENERIC trio (matcher_list_operations / describe / invoke) reads the
|
|
7
7
|
// spec at runtime, so it tracks the spec automatically. `load.test.ts`
|
|
8
|
-
// already pins `index.operations.size ===
|
|
8
|
+
// already pins `index.operations.size === 171` as that side's canary.
|
|
9
9
|
// 2. The CURATED tools (the ~72 hand-written Zod tools under `src/tools/*/`)
|
|
10
10
|
// hard-code their own method+path. NOTHING in those tools consults the
|
|
11
11
|
// spec, and their unit tests assert against the same hard-coded literal —
|
|
@@ -153,5 +153,14 @@ export const GENERIC_ONLY_OPERATION_IDS = [
|
|
|
153
153
|
// discovery hub (generic-only) — inbound streaming-hub event receiver; signed,
|
|
154
154
|
// hub-driven delivery, not an operator-initiated action (cf. above).
|
|
155
155
|
'receiveHubEvent', // POST /v1/discovery/hub/events
|
|
156
|
+
// self-service onboarding (generic-only) — PUBLIC, anonymous, PRE-TENANT
|
|
157
|
+
// routes for the console signup flow. The MCP relay authenticates every call
|
|
158
|
+
// with an already-provisioned tenant token, so "create me a workspace" is not
|
|
159
|
+
// an operator action on this surface (cf. the webhook receivers above).
|
|
160
|
+
'signup', // POST /v1/signup
|
|
161
|
+
'signup-verify', // POST /v1/signup/verify
|
|
162
|
+
// PUBLIC pre-login PKCE bootstrap for the console (client id + issuer per
|
|
163
|
+
// workspace slug); browser-facing discovery, not an operator action.
|
|
164
|
+
'workspace-auth-config', // GET /v1/workspaces/{slug}/auth-config
|
|
156
165
|
];
|
|
157
166
|
//# sourceMappingURL=curated-operations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"curated-operations.js","sourceRoot":"","sources":["../../src/spec/curated-operations.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,wDAAwD;AACxD,EAAE;AACF,kBAAkB;AAClB,uEAAuE;AACvE,gFAAgF;AAChF,4EAA4E;AAC5E,2EAA2E;AAC3E,+EAA+E;AAC/E,4EAA4E;AAC5E,+EAA+E;AAC/E,yEAAyE;AACzE,4EAA4E;AAC5E,EAAE;AACF,0EAA0E;AAC1E,+EAA+E;AAC/E,6EAA6E;AAC7E,+EAA+E;AAC/E,4EAA4E;AAC5E,gFAAgF;AAChF,8DAA8D;AAC9D,EAAE;AACF,kDAAkD;AAClD,kFAAkF;AAClF,+EAA+E;AAC/E,+EAA+E;AAC/E,6EAA6E;AAC7E,uDAAuD;AAEvD;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,6CAA6C;IAC7C,mBAAmB,EAAE,mDAAmD;IACxE,mBAAmB,EAAE,gEAAgE;IACrF,gBAAgB,EAAE,gEAAgE;IAClF,kBAAkB,EAAE,mDAAmD;IACvE,qBAAqB,EAAE,yEAAyE;IAChG,mBAAmB,EAAE,gEAAgE;IAErF,qCAAqC;IACrC,eAAe,EAAE,8DAA8D;IAC/E,eAAe,EAAE,qDAAqD;IACtE,YAAY,EAAE,qDAAqD;IACnE,cAAc,EAAE,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BAAyB,EAAE,8CAA8C;IACzE,0BAA0B,EAAE,oEAAoE;IAChG,0BAA0B,EAAE,6DAA6D;IACzF,8EAA8E;IAC9E,4DAA4D;IAC5D,0BAA0B,EAAE,wDAAwD;IACpF,+EAA+E;IAC/E,qEAAqE;IACrE,iBAAiB,EAAE,gCAAgC;
|
|
1
|
+
{"version":3,"file":"curated-operations.js","sourceRoot":"","sources":["../../src/spec/curated-operations.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,wDAAwD;AACxD,EAAE;AACF,kBAAkB;AAClB,uEAAuE;AACvE,gFAAgF;AAChF,4EAA4E;AAC5E,2EAA2E;AAC3E,+EAA+E;AAC/E,4EAA4E;AAC5E,+EAA+E;AAC/E,yEAAyE;AACzE,4EAA4E;AAC5E,EAAE;AACF,0EAA0E;AAC1E,+EAA+E;AAC/E,6EAA6E;AAC7E,+EAA+E;AAC/E,4EAA4E;AAC5E,gFAAgF;AAChF,8DAA8D;AAC9D,EAAE;AACF,kDAAkD;AAClD,kFAAkF;AAClF,+EAA+E;AAC/E,+EAA+E;AAC/E,6EAA6E;AAC7E,uDAAuD;AAEvD;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,6CAA6C;IAC7C,mBAAmB,EAAE,mDAAmD;IACxE,mBAAmB,EAAE,gEAAgE;IACrF,gBAAgB,EAAE,gEAAgE;IAClF,kBAAkB,EAAE,mDAAmD;IACvE,qBAAqB,EAAE,yEAAyE;IAChG,mBAAmB,EAAE,gEAAgE;IAErF,qCAAqC;IACrC,eAAe,EAAE,8DAA8D;IAC/E,eAAe,EAAE,qDAAqD;IACtE,YAAY,EAAE,qDAAqD;IACnE,cAAc,EAAE,8DAA8D;IAC9E,eAAe,EAAE,qDAAqD;IAEtE,yCAAyC;IACzC,iBAAiB,EAAE,6DAA6D;IAChF,iBAAiB,EAAE,sEAAsE;IACzF,cAAc,EAAE,sEAAsE;IACtF,gBAAgB,EAAE,6DAA6D;IAC/E,mBAAmB,EA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,EAAE,gCAAgC;IACnD,yEAAyE;IACzE,6EAA6E;IAC7E,8EAA8E;IAC9E,wEAAwE;IACxE,QAAQ,EAAE,kBAAkB;IAC5B,eAAe,EAAE,yBAAyB;IAC1C,0EAA0E;IAC1E,qEAAqE;IACrE,uBAAuB,EAAE,wCAAwC;CACzD,CAAA"}
|
package/dist/spec/openapi.yaml
CHANGED
|
@@ -6466,6 +6466,43 @@ components:
|
|
|
6466
6466
|
- left
|
|
6467
6467
|
- right
|
|
6468
6468
|
type: object
|
|
6469
|
+
SignupBody:
|
|
6470
|
+
additionalProperties: false
|
|
6471
|
+
properties:
|
|
6472
|
+
acceptTos:
|
|
6473
|
+
description: Must be true; acceptance is recorded with a timestamp.
|
|
6474
|
+
type: boolean
|
|
6475
|
+
companyName:
|
|
6476
|
+
description: Company/organization name; a URL-safe slug is derived from it.
|
|
6477
|
+
examples:
|
|
6478
|
+
- Acme Payments
|
|
6479
|
+
maxLength: 200
|
|
6480
|
+
type: string
|
|
6481
|
+
email:
|
|
6482
|
+
description: Work email; disposable domains are rejected.
|
|
6483
|
+
examples:
|
|
6484
|
+
- founder@acme.com
|
|
6485
|
+
maxLength: 254
|
|
6486
|
+
type: string
|
|
6487
|
+
password:
|
|
6488
|
+
description: Account password; 12–72 characters with letters and digits. The 72-byte cap is bcrypt's input limit.
|
|
6489
|
+
maxLength: 72
|
|
6490
|
+
type: string
|
|
6491
|
+
required:
|
|
6492
|
+
- email
|
|
6493
|
+
- password
|
|
6494
|
+
- companyName
|
|
6495
|
+
- acceptTos
|
|
6496
|
+
type: object
|
|
6497
|
+
SignupResponse:
|
|
6498
|
+
additionalProperties: false
|
|
6499
|
+
properties:
|
|
6500
|
+
message:
|
|
6501
|
+
description: Human-readable acknowledgement (identical for known and unknown emails).
|
|
6502
|
+
type: string
|
|
6503
|
+
required:
|
|
6504
|
+
- message
|
|
6505
|
+
type: object
|
|
6469
6506
|
SimulateFeeItem:
|
|
6470
6507
|
additionalProperties: false
|
|
6471
6508
|
properties:
|
|
@@ -7784,6 +7821,25 @@ components:
|
|
|
7784
7821
|
- totalActual
|
|
7785
7822
|
- netVariance
|
|
7786
7823
|
type: object
|
|
7824
|
+
VerifyBody:
|
|
7825
|
+
additionalProperties: false
|
|
7826
|
+
properties:
|
|
7827
|
+
token:
|
|
7828
|
+
description: The verification token from the signup email link.
|
|
7829
|
+
maxLength: 512
|
|
7830
|
+
type: string
|
|
7831
|
+
required:
|
|
7832
|
+
- token
|
|
7833
|
+
type: object
|
|
7834
|
+
VerifyResponse:
|
|
7835
|
+
additionalProperties: false
|
|
7836
|
+
properties:
|
|
7837
|
+
message:
|
|
7838
|
+
description: Human-readable verification result.
|
|
7839
|
+
type: string
|
|
7840
|
+
required:
|
|
7841
|
+
- message
|
|
7842
|
+
type: object
|
|
7787
7843
|
VersionBody:
|
|
7788
7844
|
additionalProperties: false
|
|
7789
7845
|
properties:
|
|
@@ -7858,6 +7914,23 @@ components:
|
|
|
7858
7914
|
- periodStart
|
|
7859
7915
|
- periodEnd
|
|
7860
7916
|
type: object
|
|
7917
|
+
WorkspaceAuthConfig:
|
|
7918
|
+
additionalProperties: false
|
|
7919
|
+
properties:
|
|
7920
|
+
clientId:
|
|
7921
|
+
description: OAuth client id of the workspace's console application.
|
|
7922
|
+
type: string
|
|
7923
|
+
issuer:
|
|
7924
|
+
description: Public base URL of the identity provider (the PKCE issuer).
|
|
7925
|
+
type: string
|
|
7926
|
+
organization:
|
|
7927
|
+
description: Identity-provider organization name for the workspace.
|
|
7928
|
+
type: string
|
|
7929
|
+
required:
|
|
7930
|
+
- clientId
|
|
7931
|
+
- organization
|
|
7932
|
+
- issuer
|
|
7933
|
+
type: object
|
|
7861
7934
|
securitySchemes:
|
|
7862
7935
|
BearerAuth:
|
|
7863
7936
|
bearerFormat: JWT
|
|
@@ -15345,6 +15418,97 @@ paths:
|
|
|
15345
15418
|
summary: Export variance report
|
|
15346
15419
|
tags:
|
|
15347
15420
|
- Reporting
|
|
15421
|
+
/v1/signup:
|
|
15422
|
+
post:
|
|
15423
|
+
description: "Starts self-service onboarding. This is a PUBLIC, anonymous, pre-tenant route: it carries no operator JWT and creates no account yet. It validates the payload (email, password policy, company name, and mandatory Terms of Service acceptance) and stores a pending record whose TTL is the whole expiry mechanism. A company name whose derived slug is reserved (e.g. admin, api, www) is rejected with a 400 application/problem+json error. To prevent account enumeration, an email that is already registered or pending returns the SAME 202 response as a new one; a repeat signup for a still-pending email re-sends the verification email, throttled per address. The route is rate-limited per client IP. All errors use the RFC 9457 application/problem+json contract."
|
|
15424
|
+
operationId: signup
|
|
15425
|
+
requestBody:
|
|
15426
|
+
content:
|
|
15427
|
+
application/json:
|
|
15428
|
+
schema:
|
|
15429
|
+
$ref: "#/components/schemas/SignupBody"
|
|
15430
|
+
required: true
|
|
15431
|
+
responses:
|
|
15432
|
+
"202":
|
|
15433
|
+
content:
|
|
15434
|
+
application/json:
|
|
15435
|
+
schema:
|
|
15436
|
+
$ref: "#/components/schemas/SignupResponse"
|
|
15437
|
+
description: Accepted
|
|
15438
|
+
default:
|
|
15439
|
+
content:
|
|
15440
|
+
application/problem+json:
|
|
15441
|
+
schema:
|
|
15442
|
+
$ref: "#/components/schemas/Detail"
|
|
15443
|
+
description: Error
|
|
15444
|
+
security: []
|
|
15445
|
+
summary: Create a self-service signup
|
|
15446
|
+
tags:
|
|
15447
|
+
- Onboarding
|
|
15448
|
+
/v1/signup/verify:
|
|
15449
|
+
post:
|
|
15450
|
+
description: "Completes self-service onboarding. This is a PUBLIC, anonymous, pre-tenant route: it exchanges the emailed verification token for a provisioned workspace. It is idempotent and re-entrant: a repeat call re-drives an incomplete provisioning to completion, and a token that no longer resolves (already used or expired) returns the same 200 response. The route is rate-limited per client IP."
|
|
15451
|
+
operationId: signup-verify
|
|
15452
|
+
requestBody:
|
|
15453
|
+
content:
|
|
15454
|
+
application/json:
|
|
15455
|
+
schema:
|
|
15456
|
+
$ref: "#/components/schemas/VerifyBody"
|
|
15457
|
+
required: true
|
|
15458
|
+
responses:
|
|
15459
|
+
"200":
|
|
15460
|
+
content:
|
|
15461
|
+
application/json:
|
|
15462
|
+
schema:
|
|
15463
|
+
$ref: "#/components/schemas/VerifyResponse"
|
|
15464
|
+
description: OK
|
|
15465
|
+
default:
|
|
15466
|
+
content:
|
|
15467
|
+
application/problem+json:
|
|
15468
|
+
schema:
|
|
15469
|
+
$ref: "#/components/schemas/Detail"
|
|
15470
|
+
description: Error
|
|
15471
|
+
security: []
|
|
15472
|
+
summary: Verify a self-service signup
|
|
15473
|
+
tags:
|
|
15474
|
+
- Onboarding
|
|
15475
|
+
/v1/workspaces/{slug}/auth-config:
|
|
15476
|
+
get:
|
|
15477
|
+
description: "Resolves the minimum a browser needs to start a PKCE login for a workspace: the console OAuth client id, the identity-provider organization, and the public issuer URL. This is a PUBLIC, anonymous, read-only, pre-tenant route: it carries no operator JWT and returns nothing about the account, its owner, or its lifecycle. It answers only for ACTIVE workspaces; a nonexistent, still-provisioning, or suspended workspace returns an IDENTICAL 404 (no enumeration of lifecycle state). The response is briefly cacheable and the route is rate-limited per client IP. Errors use the RFC 9457 application/problem+json contract."
|
|
15478
|
+
operationId: workspace-auth-config
|
|
15479
|
+
parameters:
|
|
15480
|
+
- description: Workspace slug as typed on the login screen.
|
|
15481
|
+
in: path
|
|
15482
|
+
name: slug
|
|
15483
|
+
required: true
|
|
15484
|
+
schema:
|
|
15485
|
+
description: Workspace slug as typed on the login screen.
|
|
15486
|
+
examples:
|
|
15487
|
+
- acme
|
|
15488
|
+
maxLength: 63
|
|
15489
|
+
type: string
|
|
15490
|
+
responses:
|
|
15491
|
+
"200":
|
|
15492
|
+
content:
|
|
15493
|
+
application/json:
|
|
15494
|
+
schema:
|
|
15495
|
+
$ref: "#/components/schemas/WorkspaceAuthConfig"
|
|
15496
|
+
description: OK
|
|
15497
|
+
headers:
|
|
15498
|
+
Cache-Control:
|
|
15499
|
+
schema:
|
|
15500
|
+
description: Short public cache lifetime for the login config.
|
|
15501
|
+
type: string
|
|
15502
|
+
default:
|
|
15503
|
+
content:
|
|
15504
|
+
application/problem+json:
|
|
15505
|
+
schema:
|
|
15506
|
+
$ref: "#/components/schemas/Detail"
|
|
15507
|
+
description: Error
|
|
15508
|
+
security: []
|
|
15509
|
+
summary: Resolve a workspace's public login configuration
|
|
15510
|
+
tags:
|
|
15511
|
+
- Onboarding
|
|
15348
15512
|
/version:
|
|
15349
15513
|
get:
|
|
15350
15514
|
description: Returns the service build version (from the VERSION environment variable, default 0.0.0) and the server UTC timestamp.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lerianstudio/matcher-mcp",
|
|
3
|
-
"version": "1.5.0-beta.
|
|
3
|
+
"version": "1.5.0-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Model Context Protocol server for the Matcher reconciliation engine",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@anthropic-ai/sdk": "^0.110.0",
|
|
49
49
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
50
50
|
"@opentelemetry/api": "1.9.1",
|
|
51
|
-
"@opentelemetry/exporter-metrics-otlp-http": "0.
|
|
52
|
-
"@opentelemetry/exporter-trace-otlp-http": "0.
|
|
53
|
-
"@opentelemetry/resources": "2.
|
|
54
|
-
"@opentelemetry/sdk-metrics": "2.
|
|
55
|
-
"@opentelemetry/sdk-node": "0.
|
|
51
|
+
"@opentelemetry/exporter-metrics-otlp-http": "0.220.0",
|
|
52
|
+
"@opentelemetry/exporter-trace-otlp-http": "0.220.0",
|
|
53
|
+
"@opentelemetry/resources": "2.9.0",
|
|
54
|
+
"@opentelemetry/sdk-metrics": "2.9.0",
|
|
55
|
+
"@opentelemetry/sdk-node": "0.220.0",
|
|
56
56
|
"@opentelemetry/semantic-conventions": "1.41.1",
|
|
57
57
|
"ajv": "^8.20.0",
|
|
58
58
|
"openai": "^6.45.0",
|