@celigo/api-specs 0.2.204 → 0.2.205
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/connection.yml +3 -1
- package/dist/mcp-server.yml +56 -17
- package/package.json +1 -1
- package/schemas.json +3 -2
package/dist/connection.yml
CHANGED
|
@@ -1185,7 +1185,9 @@ paths:
|
|
|
1185
1185
|
- |-
|
|
1186
1186
|
Soft-deletes the connection into the recycle bin (restorable for 30 days). Check
|
|
1187
1187
|
`GET /v1/connections/{_id}/dependencies` first — a connection still referenced by flows,
|
|
1188
|
-
exports, imports,
|
|
1188
|
+
exports, imports, a borrowing connection, or MCP servers (a tool override, or a
|
|
1189
|
+
`connections[]` entry that requires end-user credentials) is rejected with 422
|
|
1190
|
+
`dependencies_not_deleted`.
|
|
1189
1191
|
/v1/connections/{_id}/ping:
|
|
1190
1192
|
get:
|
|
1191
1193
|
x-internal: false
|
package/dist/mcp-server.yml
CHANGED
|
@@ -20,7 +20,7 @@ info:
|
|
|
20
20
|
- Carries **permission sets** ("Capability Sets" in the UI) — named bundles of its tools, APIs, prompts, and resources granted to end users via `pset:<_id>` capability strings on end-user, group, and role resource grants
|
|
21
21
|
- Carries optional **traffic limits** (`policies[]`) — a server-level rate limit, a per-user rate limit for OAuth end users, and a usage quota — enforced before a tool runs; a rejected call gets HTTP 429 with `Retry-After`
|
|
22
22
|
- Can proxy **upstream MCP servers** (`upstreamMcpConnections[]`, attached through `mcp`-type connections) and whitelist which of their tools, prompts, and resources it exposes
|
|
23
|
-
- Lists the **connections**
|
|
23
|
+
- Lists the **connections** each end user must supply their own credentials for (`connections[]`); only entries with `requiresEndUserCredentials: true` are kept
|
|
24
24
|
- Can be pinned to a **network policy** (`_networkPolicyId`) that restricts which IP ranges may reach it
|
|
25
25
|
servers:
|
|
26
26
|
- url: https://api.integrator.io
|
|
@@ -2468,17 +2468,23 @@ components:
|
|
|
2468
2468
|
ServerConnection:
|
|
2469
2469
|
type: object
|
|
2470
2470
|
description: |-
|
|
2471
|
-
One connection
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
`GET /v1/mcpservers/{_id}/connections` lists.
|
|
2471
|
+
One connection each end user must supply their own credentials for.
|
|
2472
|
+
Connections named here and in `tools[].overrides.connections[]`
|
|
2473
|
+
together form the set that `GET /v1/mcpservers/{_id}/connections` lists.
|
|
2475
2474
|
x-celigo-ai-guidance:
|
|
2476
2475
|
- |-
|
|
2477
2476
|
Reference a live connection owned by this account: an unknown id fails
|
|
2478
2477
|
with 422 "resource_not_found" and the same connection listed twice with
|
|
2479
|
-
422 "resource_invalid"
|
|
2478
|
+
422 "resource_invalid" — even on an entry sent with the flag false, which
|
|
2479
|
+
is then dropped.
|
|
2480
|
+
- |-
|
|
2481
|
+
A stored entry makes the connection a dependency of the server:
|
|
2482
|
+
DELETE /v1/connections/{_id} fails with 422 "dependencies_not_deleted"
|
|
2483
|
+
("mcpserver <id> must be deleted before you can delete connection <id>")
|
|
2484
|
+
until a PUT removes the entry or clears its flag.
|
|
2480
2485
|
required:
|
|
2481
2486
|
- _connectionId
|
|
2487
|
+
- requiresEndUserCredentials
|
|
2482
2488
|
properties:
|
|
2483
2489
|
_connectionId:
|
|
2484
2490
|
type: string
|
|
@@ -2493,14 +2499,15 @@ components:
|
|
|
2493
2499
|
- 6ab1ebb94db5688fd8c7189f
|
|
2494
2500
|
requiresEndUserCredentials:
|
|
2495
2501
|
type: boolean
|
|
2496
|
-
default: false
|
|
2497
2502
|
description: |-
|
|
2498
2503
|
When true, each end user must supply their own values for the fields
|
|
2499
2504
|
the connection's `endUserProvidedFields` names (through the MCP setup
|
|
2500
2505
|
page) before calling tools that use it; those values are stored as a
|
|
2501
|
-
per-user `mcpChild` connection.
|
|
2502
|
-
|
|
2503
|
-
|
|
2506
|
+
per-user `mcpChild` connection. Only `true` is stored — an entry sent
|
|
2507
|
+
with `false` is dropped on save, so clearing the flag removes the
|
|
2508
|
+
entry. The platform contract is that clearing the flag, or dropping
|
|
2509
|
+
the connection from every server that set it, invalidates the end
|
|
2510
|
+
users' `mcpChild` connections for it.
|
|
2504
2511
|
examples:
|
|
2505
2512
|
- true
|
|
2506
2513
|
Annotations:
|
|
@@ -3716,6 +3723,20 @@ components:
|
|
|
3716
3723
|
description: |-
|
|
3717
3724
|
Connection of type `mcp` that holds the upstream server URL and
|
|
3718
3725
|
credentials. Each connection can be attached to a server once.
|
|
3726
|
+
When the upstream server rejects a proxied `tools/call`, `prompts/get`,
|
|
3727
|
+
or `resources/read`, the MCP client gets a JSON-RPC error with HTTP
|
|
3728
|
+
status 200: -32008 `Upstream server denied access` for an upstream 403,
|
|
3729
|
+
-32004 `Upstream rate limit exceeded` for a 429, and for a 401 either
|
|
3730
|
+
-32007 `Upstream connection requires re-authorization` or -32603. A
|
|
3731
|
+
`token` or `custom` connection answers -32007. An `oauth` connection
|
|
3732
|
+
first refreshes its token and retries once: -32007 when the connection
|
|
3733
|
+
can't be refreshed (for example, it holds no refresh token), when the
|
|
3734
|
+
token endpoint rejects the grant (for example, with 400), or when the
|
|
3735
|
+
retry is still 401; -32603 when the refresh fails any other way, such
|
|
3736
|
+
as the token endpoint answering 5xx. -32007, -32008, and -32004 carry
|
|
3737
|
+
this id in
|
|
3738
|
+
`error.data._connectionId`; -32603, which an upstream 5xx also answers,
|
|
3739
|
+
carries no `error.data`.
|
|
3719
3740
|
examples:
|
|
3720
3741
|
- 6a6655fce52f3c30d0a53926
|
|
3721
3742
|
alias:
|
|
@@ -4140,13 +4161,17 @@ components:
|
|
|
4140
4161
|
- Order Processing Server
|
|
4141
4162
|
relativeURI:
|
|
4142
4163
|
type: string
|
|
4143
|
-
maxLength:
|
|
4164
|
+
maxLength: 128
|
|
4144
4165
|
pattern: ^\/[a-zA-Z0-9_\-]+$
|
|
4145
4166
|
description: |-
|
|
4146
4167
|
URI path segment for the MCP server endpoint. Must be unique per account —
|
|
4147
4168
|
duplicates are rejected with 422 `mcp_server_duplicate_relative_uri`. Only letters,
|
|
4148
4169
|
numbers, dashes, and underscores after the leading slash (the server's error message
|
|
4149
|
-
also claims colons and dots are allowed, but they are rejected in practice).
|
|
4170
|
+
also claims colons and dots are allowed, but they are rejected in practice). The
|
|
4171
|
+
length limit counts the leading slash; a longer value is rejected with 422
|
|
4172
|
+
`mcp_server_relative_uri_too_long`. `/registry`, `/oidc`, and `/portal`, in any letter
|
|
4173
|
+
case, are reserved for platform endpoints under the account alias and are rejected
|
|
4174
|
+
with 422 `mcp_server_reserved_relative_uri`. PUT applies both checks too. Creation
|
|
4150
4175
|
also requires the account to have an account alias set (422
|
|
4151
4176
|
`mcp_server_account_alias_required` otherwise).
|
|
4152
4177
|
x-celigo-ai-guidance:
|
|
@@ -4188,11 +4213,19 @@ components:
|
|
|
4188
4213
|
connections:
|
|
4189
4214
|
type: array
|
|
4190
4215
|
description: |-
|
|
4191
|
-
Connections
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4216
|
+
Connections each end user must supply their own credentials for. Only
|
|
4217
|
+
entries with `requiresEndUserCredentials: true` are kept — any other
|
|
4218
|
+
entry is validated, then dropped on save. Always returned (an empty
|
|
4219
|
+
array when none is listed) and cleared when omitted on PUT; together
|
|
4220
|
+
with `tools[].overrides.connections[]` it forms the set
|
|
4195
4221
|
`GET /v1/mcpservers/{_id}/connections` reports.
|
|
4222
|
+
x-celigo-ai-guidance:
|
|
4223
|
+
- |-
|
|
4224
|
+
List a connection here only to make each end user supply their own credentials
|
|
4225
|
+
for it, with requiresEndUserCredentials set to true. A connection the tools run on
|
|
4226
|
+
the account's own credentials needs no entry: an entry sent with the flag false
|
|
4227
|
+
still gets 201/200, but it is absent from the response and from every later
|
|
4228
|
+
GET — do not resend it.
|
|
4196
4229
|
items:
|
|
4197
4230
|
$ref: '#/components/schemas/ServerConnection'
|
|
4198
4231
|
tools:
|
|
@@ -11196,7 +11229,13 @@ components:
|
|
|
11196
11229
|
type:
|
|
11197
11230
|
- string
|
|
11198
11231
|
- 'null'
|
|
11199
|
-
description:
|
|
11232
|
+
description: |-
|
|
11233
|
+
Category of the failure. Null when the request succeeded or was blocked.
|
|
11234
|
+
For a proxied request, `authentication` when the upstream connection needs
|
|
11235
|
+
re-authorization (JSON-RPC -32007) or the upstream server denied access
|
|
11236
|
+
(-32008), `rateLimit` when it answered HTTP 429 (-32004), `upstreamError`
|
|
11237
|
+
for another upstream failure such as a 5xx (-32603), and `internal` when an
|
|
11238
|
+
`oauth` connection's token refresh failed (-32603).
|
|
11200
11239
|
examples:
|
|
11201
11240
|
- null
|
|
11202
11241
|
traceId:
|
package/package.json
CHANGED
package/schemas.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"provenance": {
|
|
3
3
|
"repo": "celigo/integrator-api-specs",
|
|
4
|
-
"iasCommit": "
|
|
4
|
+
"iasCommit": "c89a0221",
|
|
5
5
|
"generatedAt": "2026-10-28"
|
|
6
6
|
},
|
|
7
7
|
"roots": {
|
|
@@ -8332,7 +8332,8 @@
|
|
|
8332
8332
|
"requiresEndUserCredentials": 8
|
|
8333
8333
|
},
|
|
8334
8334
|
"r": [
|
|
8335
|
-
"_connectionId"
|
|
8335
|
+
"_connectionId",
|
|
8336
|
+
"requiresEndUserCredentials"
|
|
8336
8337
|
]
|
|
8337
8338
|
},
|
|
8338
8339
|
{
|