@yolk-sdk/emulators 0.1.0-canary.100
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/LICENSE +21 -0
- package/README.md +2165 -0
- package/dist/anthropic.d.mts +269 -0
- package/dist/anthropic.d.mts.map +1 -0
- package/dist/anthropic.mjs +177 -0
- package/dist/anthropic.mjs.map +1 -0
- package/dist/chat-completions.d.mts +288 -0
- package/dist/chat-completions.d.mts.map +1 -0
- package/dist/chat-completions.mjs +451 -0
- package/dist/chat-completions.mjs.map +1 -0
- package/dist/codex.d.mts +265 -0
- package/dist/codex.d.mts.map +1 -0
- package/dist/codex.mjs +199 -0
- package/dist/codex.mjs.map +1 -0
- package/dist/dropbox/api.d.mts +63 -0
- package/dist/dropbox/api.d.mts.map +1 -0
- package/dist/dropbox/api.mjs +565 -0
- package/dist/dropbox/api.mjs.map +1 -0
- package/dist/dropbox/state.d.mts +136 -0
- package/dist/dropbox/state.d.mts.map +1 -0
- package/dist/dropbox/state.mjs +209 -0
- package/dist/dropbox/state.mjs.map +1 -0
- package/dist/dropbox.d.mts +79 -0
- package/dist/dropbox.d.mts.map +1 -0
- package/dist/dropbox.mjs +124 -0
- package/dist/dropbox.mjs.map +1 -0
- package/dist/email-fixtures.d.mts +36 -0
- package/dist/email-fixtures.d.mts.map +1 -0
- package/dist/email-fixtures.mjs +1080 -0
- package/dist/email-fixtures.mjs.map +1 -0
- package/dist/email.d.mts +160 -0
- package/dist/email.d.mts.map +1 -0
- package/dist/email.mjs +608 -0
- package/dist/email.mjs.map +1 -0
- package/dist/emulator-compose.d.mts +40 -0
- package/dist/emulator-compose.d.mts.map +1 -0
- package/dist/emulator-compose.mjs +91 -0
- package/dist/emulator-compose.mjs.map +1 -0
- package/dist/emulator-http.d.mts +53 -0
- package/dist/emulator-http.d.mts.map +1 -0
- package/dist/emulator-http.mjs +117 -0
- package/dist/emulator-http.mjs.map +1 -0
- package/dist/emulator-kernel.d.mts +176 -0
- package/dist/emulator-kernel.d.mts.map +1 -0
- package/dist/emulator-kernel.mjs +413 -0
- package/dist/emulator-kernel.mjs.map +1 -0
- package/dist/fixture-route.d.mts +129 -0
- package/dist/fixture-route.d.mts.map +1 -0
- package/dist/fixture-route.mjs +257 -0
- package/dist/fixture-route.mjs.map +1 -0
- package/dist/fortnox/api.d.mts +92 -0
- package/dist/fortnox/api.d.mts.map +1 -0
- package/dist/fortnox/api.mjs +750 -0
- package/dist/fortnox/api.mjs.map +1 -0
- package/dist/fortnox/state.d.mts +533 -0
- package/dist/fortnox/state.d.mts.map +1 -0
- package/dist/fortnox/state.mjs +612 -0
- package/dist/fortnox/state.mjs.map +1 -0
- package/dist/fortnox.d.mts +128 -0
- package/dist/fortnox.d.mts.map +1 -0
- package/dist/fortnox.mjs +403 -0
- package/dist/fortnox.mjs.map +1 -0
- package/dist/gateway-evaluate-recordings.d.mts +12 -0
- package/dist/gateway-evaluate-recordings.d.mts.map +1 -0
- package/dist/gateway-evaluate-recordings.mjs +128 -0
- package/dist/gateway-evaluate-recordings.mjs.map +1 -0
- package/dist/gateway.d.mts +272 -0
- package/dist/gateway.d.mts.map +1 -0
- package/dist/gateway.mjs +400 -0
- package/dist/gateway.mjs.map +1 -0
- package/dist/github/api.d.mts +63 -0
- package/dist/github/api.d.mts.map +1 -0
- package/dist/github/api.mjs +527 -0
- package/dist/github/api.mjs.map +1 -0
- package/dist/github/state.d.mts +272 -0
- package/dist/github/state.d.mts.map +1 -0
- package/dist/github/state.mjs +303 -0
- package/dist/github/state.mjs.map +1 -0
- package/dist/github.d.mts +77 -0
- package/dist/github.d.mts.map +1 -0
- package/dist/github.mjs +180 -0
- package/dist/github.mjs.map +1 -0
- package/dist/google/calendar.d.mts +10 -0
- package/dist/google/calendar.d.mts.map +1 -0
- package/dist/google/calendar.mjs +252 -0
- package/dist/google/calendar.mjs.map +1 -0
- package/dist/google/drive.d.mts +8 -0
- package/dist/google/drive.d.mts.map +1 -0
- package/dist/google/drive.mjs +252 -0
- package/dist/google/drive.mjs.map +1 -0
- package/dist/google/gmail.d.mts +10 -0
- package/dist/google/gmail.d.mts.map +1 -0
- package/dist/google/gmail.mjs +591 -0
- package/dist/google/gmail.mjs.map +1 -0
- package/dist/google/shared.d.mts +107 -0
- package/dist/google/shared.d.mts.map +1 -0
- package/dist/google/shared.mjs +146 -0
- package/dist/google/shared.mjs.map +1 -0
- package/dist/google/state.d.mts +385 -0
- package/dist/google/state.d.mts.map +1 -0
- package/dist/google/state.mjs +496 -0
- package/dist/google/state.mjs.map +1 -0
- package/dist/google.d.mts +75 -0
- package/dist/google.d.mts.map +1 -0
- package/dist/google.mjs +210 -0
- package/dist/google.mjs.map +1 -0
- package/dist/linkedin-search/api.d.mts +45 -0
- package/dist/linkedin-search/api.d.mts.map +1 -0
- package/dist/linkedin-search/api.mjs +181 -0
- package/dist/linkedin-search/api.mjs.map +1 -0
- package/dist/linkedin-search/state.d.mts +123 -0
- package/dist/linkedin-search/state.d.mts.map +1 -0
- package/dist/linkedin-search/state.mjs +261 -0
- package/dist/linkedin-search/state.mjs.map +1 -0
- package/dist/linkedin-search.d.mts +69 -0
- package/dist/linkedin-search.d.mts.map +1 -0
- package/dist/linkedin-search.mjs +158 -0
- package/dist/linkedin-search.mjs.map +1 -0
- package/dist/mcp/afloat-recordings.d.mts +8 -0
- package/dist/mcp/afloat-recordings.d.mts.map +1 -0
- package/dist/mcp/afloat-recordings.mjs +918 -0
- package/dist/mcp/afloat-recordings.mjs.map +1 -0
- package/dist/mcp/api.d.mts +45 -0
- package/dist/mcp/api.d.mts.map +1 -0
- package/dist/mcp/api.mjs +609 -0
- package/dist/mcp/api.mjs.map +1 -0
- package/dist/mcp/recordings.d.mts +40 -0
- package/dist/mcp/recordings.d.mts.map +1 -0
- package/dist/mcp/recordings.mjs +2390 -0
- package/dist/mcp/recordings.mjs.map +1 -0
- package/dist/mcp/state.d.mts +86 -0
- package/dist/mcp/state.d.mts.map +1 -0
- package/dist/mcp/state.mjs +98 -0
- package/dist/mcp/state.mjs.map +1 -0
- package/dist/mcp.d.mts +85 -0
- package/dist/mcp.d.mts.map +1 -0
- package/dist/mcp.mjs +264 -0
- package/dist/mcp.mjs.map +1 -0
- package/dist/messages.d.mts +183 -0
- package/dist/messages.d.mts.map +1 -0
- package/dist/messages.mjs +532 -0
- package/dist/messages.mjs.map +1 -0
- package/dist/microsoft/api.d.mts +47 -0
- package/dist/microsoft/api.d.mts.map +1 -0
- package/dist/microsoft/api.mjs +178 -0
- package/dist/microsoft/api.mjs.map +1 -0
- package/dist/microsoft/calendar.d.mts +30 -0
- package/dist/microsoft/calendar.d.mts.map +1 -0
- package/dist/microsoft/calendar.mjs +271 -0
- package/dist/microsoft/calendar.mjs.map +1 -0
- package/dist/microsoft/drive.d.mts +36 -0
- package/dist/microsoft/drive.d.mts.map +1 -0
- package/dist/microsoft/drive.mjs +298 -0
- package/dist/microsoft/drive.mjs.map +1 -0
- package/dist/microsoft/graph.d.mts +198 -0
- package/dist/microsoft/graph.d.mts.map +1 -0
- package/dist/microsoft/graph.mjs +264 -0
- package/dist/microsoft/graph.mjs.map +1 -0
- package/dist/microsoft/mail.d.mts +48 -0
- package/dist/microsoft/mail.d.mts.map +1 -0
- package/dist/microsoft/mail.mjs +488 -0
- package/dist/microsoft/mail.mjs.map +1 -0
- package/dist/microsoft/state.d.mts +480 -0
- package/dist/microsoft/state.d.mts.map +1 -0
- package/dist/microsoft/state.mjs +625 -0
- package/dist/microsoft/state.mjs.map +1 -0
- package/dist/microsoft.d.mts +168 -0
- package/dist/microsoft.d.mts.map +1 -0
- package/dist/microsoft.mjs +483 -0
- package/dist/microsoft.mjs.map +1 -0
- package/dist/node.d.mts +47 -0
- package/dist/node.d.mts.map +1 -0
- package/dist/node.mjs +178 -0
- package/dist/node.mjs.map +1 -0
- package/dist/notion/api.d.mts +51 -0
- package/dist/notion/api.d.mts.map +1 -0
- package/dist/notion/api.mjs +507 -0
- package/dist/notion/api.mjs.map +1 -0
- package/dist/notion/state.d.mts +329 -0
- package/dist/notion/state.d.mts.map +1 -0
- package/dist/notion/state.mjs +432 -0
- package/dist/notion/state.mjs.map +1 -0
- package/dist/notion.d.mts +72 -0
- package/dist/notion.d.mts.map +1 -0
- package/dist/notion.mjs +127 -0
- package/dist/notion.mjs.map +1 -0
- package/dist/openai.d.mts +165 -0
- package/dist/openai.d.mts.map +1 -0
- package/dist/openai.mjs +141 -0
- package/dist/openai.mjs.map +1 -0
- package/dist/opencode-recordings.d.mts +7 -0
- package/dist/opencode-recordings.d.mts.map +1 -0
- package/dist/opencode-recordings.mjs +222 -0
- package/dist/opencode-recordings.mjs.map +1 -0
- package/dist/opencode.d.mts +70 -0
- package/dist/opencode.d.mts.map +1 -0
- package/dist/opencode.mjs +217 -0
- package/dist/opencode.mjs.map +1 -0
- package/dist/r2-fixtures.d.mts +36 -0
- package/dist/r2-fixtures.d.mts.map +1 -0
- package/dist/r2-fixtures.mjs +245 -0
- package/dist/r2-fixtures.mjs.map +1 -0
- package/dist/r2-guard.d.mts +43 -0
- package/dist/r2-guard.d.mts.map +1 -0
- package/dist/r2-guard.mjs +216 -0
- package/dist/r2-guard.mjs.map +1 -0
- package/dist/r2.d.mts +166 -0
- package/dist/r2.d.mts.map +1 -0
- package/dist/r2.mjs +517 -0
- package/dist/r2.mjs.map +1 -0
- package/dist/responses.d.mts +231 -0
- package/dist/responses.d.mts.map +1 -0
- package/dist/responses.mjs +556 -0
- package/dist/responses.mjs.map +1 -0
- package/dist/route-evidence.d.mts +45 -0
- package/dist/route-evidence.d.mts.map +1 -0
- package/dist/route-evidence.mjs +56 -0
- package/dist/route-evidence.mjs.map +1 -0
- package/dist/router.d.mts +93 -0
- package/dist/router.d.mts.map +1 -0
- package/dist/router.mjs +259 -0
- package/dist/router.mjs.map +1 -0
- package/dist/stateful-core.d.mts +17 -0
- package/dist/stateful-core.d.mts.map +1 -0
- package/dist/stateful-core.mjs +41 -0
- package/dist/stateful-core.mjs.map +1 -0
- package/dist/stateful-emulator.d.mts +578 -0
- package/dist/stateful-emulator.d.mts.map +1 -0
- package/dist/stateful-emulator.mjs +1248 -0
- package/dist/stateful-emulator.mjs.map +1 -0
- package/dist/stateful-secrets.d.mts +84 -0
- package/dist/stateful-secrets.d.mts.map +1 -0
- package/dist/stateful-secrets.mjs +216 -0
- package/dist/stateful-secrets.mjs.map +1 -0
- package/dist/subscription-usage-recordings.d.mts +9 -0
- package/dist/subscription-usage-recordings.d.mts.map +1 -0
- package/dist/subscription-usage-recordings.mjs +53 -0
- package/dist/subscription-usage-recordings.mjs.map +1 -0
- package/dist/subscription-usage.d.mts +53 -0
- package/dist/subscription-usage.d.mts.map +1 -0
- package/dist/subscription-usage.mjs +21 -0
- package/dist/subscription-usage.mjs.map +1 -0
- package/dist/telegram/api.d.mts +34 -0
- package/dist/telegram/api.d.mts.map +1 -0
- package/dist/telegram/api.mjs +257 -0
- package/dist/telegram/api.mjs.map +1 -0
- package/dist/telegram/state.d.mts +128 -0
- package/dist/telegram/state.d.mts.map +1 -0
- package/dist/telegram/state.mjs +154 -0
- package/dist/telegram/state.mjs.map +1 -0
- package/dist/telegram.d.mts +62 -0
- package/dist/telegram.d.mts.map +1 -0
- package/dist/telegram.mjs +127 -0
- package/dist/telegram.mjs.map +1 -0
- package/dist/todoist/api.d.mts +55 -0
- package/dist/todoist/api.d.mts.map +1 -0
- package/dist/todoist/api.mjs +415 -0
- package/dist/todoist/api.mjs.map +1 -0
- package/dist/todoist/state.d.mts +275 -0
- package/dist/todoist/state.d.mts.map +1 -0
- package/dist/todoist/state.mjs +345 -0
- package/dist/todoist/state.mjs.map +1 -0
- package/dist/todoist.d.mts +68 -0
- package/dist/todoist.d.mts.map +1 -0
- package/dist/todoist.mjs +181 -0
- package/dist/todoist.mjs.map +1 -0
- package/dist/xai.d.mts +267 -0
- package/dist/xai.d.mts.map +1 -0
- package/dist/xai.mjs +252 -0
- package/dist/xai.mjs.map +1 -0
- package/package.json +157 -0
- package/src/anthropic.ts +289 -0
- package/src/chat-completions.ts +924 -0
- package/src/codex.ts +296 -0
- package/src/dropbox/api.ts +1084 -0
- package/src/dropbox/state.ts +364 -0
- package/src/dropbox.ts +203 -0
- package/src/email-fixtures.ts +1297 -0
- package/src/email.ts +1108 -0
- package/src/emulator-compose.ts +147 -0
- package/src/emulator-http.ts +184 -0
- package/src/emulator-kernel.ts +844 -0
- package/src/fixture-route.ts +561 -0
- package/src/fortnox/api.ts +1352 -0
- package/src/fortnox/state.ts +798 -0
- package/src/fortnox.ts +801 -0
- package/src/gateway-evaluate-recordings.ts +153 -0
- package/src/gateway.ts +530 -0
- package/src/github/api.ts +986 -0
- package/src/github/state.ts +439 -0
- package/src/github.ts +271 -0
- package/src/google/calendar.ts +486 -0
- package/src/google/drive.ts +471 -0
- package/src/google/gmail.ts +1011 -0
- package/src/google/shared.ts +321 -0
- package/src/google/state.ts +686 -0
- package/src/google.ts +298 -0
- package/src/linkedin-search/api.ts +363 -0
- package/src/linkedin-search/state.ts +373 -0
- package/src/linkedin-search.ts +241 -0
- package/src/mcp/afloat-recordings.ts +1040 -0
- package/src/mcp/api.ts +1105 -0
- package/src/mcp/recordings.ts +2665 -0
- package/src/mcp/state.ts +144 -0
- package/src/mcp.ts +364 -0
- package/src/messages.ts +844 -0
- package/src/microsoft/api.ts +426 -0
- package/src/microsoft/calendar.ts +491 -0
- package/src/microsoft/drive.ts +541 -0
- package/src/microsoft/graph.ts +550 -0
- package/src/microsoft/mail.ts +833 -0
- package/src/microsoft/state.ts +822 -0
- package/src/microsoft.ts +982 -0
- package/src/node.ts +293 -0
- package/src/notion/api.ts +976 -0
- package/src/notion/state.ts +512 -0
- package/src/notion.ts +210 -0
- package/src/openai.ts +198 -0
- package/src/opencode-recordings.ts +257 -0
- package/src/opencode.ts +271 -0
- package/src/r2-fixtures.ts +295 -0
- package/src/r2-guard.ts +324 -0
- package/src/r2.ts +890 -0
- package/src/responses.ts +901 -0
- package/src/route-evidence.ts +90 -0
- package/src/router.ts +490 -0
- package/src/stateful-core.ts +70 -0
- package/src/stateful-emulator.ts +2620 -0
- package/src/stateful-secrets.ts +299 -0
- package/src/subscription-usage-recordings.ts +77 -0
- package/src/subscription-usage.ts +68 -0
- package/src/telegram/api.ts +437 -0
- package/src/telegram/state.ts +229 -0
- package/src/telegram.ts +227 -0
- package/src/todoist/api.ts +736 -0
- package/src/todoist/state.ts +456 -0
- package/src/todoist.ts +316 -0
- package/src/xai.ts +341 -0
|
@@ -0,0 +1,918 @@
|
|
|
1
|
+
//#region src/mcp/afloat-recordings.ts
|
|
2
|
+
/** Every Afloat MCP fixture, in the order of `afloatMcpConformanceFixtures`. */
|
|
3
|
+
const mcpEmulatorAfloatFixtures = [
|
|
4
|
+
{
|
|
5
|
+
id: "mcp.negotiation.era.afloat.synthetic",
|
|
6
|
+
caseId: "mcp.negotiation.era",
|
|
7
|
+
evidence: "unverified",
|
|
8
|
+
recordedAt: "2026-10-02",
|
|
9
|
+
account: "synthetic",
|
|
10
|
+
endpoint: "https://useafloat.com/mcp",
|
|
11
|
+
note: "server/discover answered with supportedVersions [\"2026-07-28\"]; the client then lists tools statelessly. Derived from the provider source (owner-supplied), not a live recording: the envelopes are the pinned official MCP server SDK 2.0.0 run in-process with the provider handler options, the listing is the published tool subset, and the results follow the provider output builders over synthetic data.",
|
|
12
|
+
exchanges: [{
|
|
13
|
+
request: {
|
|
14
|
+
method: "POST",
|
|
15
|
+
url: "https://useafloat.com/mcp",
|
|
16
|
+
headers: {
|
|
17
|
+
accept: "application/json, text/event-stream",
|
|
18
|
+
"content-type": "application/json",
|
|
19
|
+
"mcp-method": "server/discover",
|
|
20
|
+
"mcp-protocol-version": "2026-07-28"
|
|
21
|
+
},
|
|
22
|
+
body: {
|
|
23
|
+
jsonrpc: "2.0",
|
|
24
|
+
id: "server-discover-probe-1",
|
|
25
|
+
method: "server/discover",
|
|
26
|
+
params: { _meta: {
|
|
27
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
28
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
29
|
+
name: "yolk",
|
|
30
|
+
version: "0.1.0"
|
|
31
|
+
},
|
|
32
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
33
|
+
} }
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
response: {
|
|
37
|
+
status: 200,
|
|
38
|
+
headers: { "content-type": "application/json" },
|
|
39
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
40
|
+
}
|
|
41
|
+
}, {
|
|
42
|
+
request: {
|
|
43
|
+
method: "POST",
|
|
44
|
+
url: "https://useafloat.com/mcp",
|
|
45
|
+
headers: {
|
|
46
|
+
accept: "application/json, text/event-stream",
|
|
47
|
+
"content-type": "application/json",
|
|
48
|
+
"mcp-method": "tools/list",
|
|
49
|
+
"mcp-protocol-version": "2026-07-28"
|
|
50
|
+
},
|
|
51
|
+
body: {
|
|
52
|
+
jsonrpc: "2.0",
|
|
53
|
+
id: 0,
|
|
54
|
+
method: "tools/list",
|
|
55
|
+
params: { _meta: {
|
|
56
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
57
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
58
|
+
name: "yolk",
|
|
59
|
+
version: "0.1.0"
|
|
60
|
+
},
|
|
61
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
62
|
+
} }
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
response: {
|
|
66
|
+
status: 200,
|
|
67
|
+
headers: { "content-type": "application/json" },
|
|
68
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
69
|
+
}
|
|
70
|
+
}]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: "mcp.modern.stateless.afloat.synthetic",
|
|
74
|
+
caseId: "mcp.modern.stateless",
|
|
75
|
+
evidence: "unverified",
|
|
76
|
+
recordedAt: "2026-10-02",
|
|
77
|
+
account: "synthetic",
|
|
78
|
+
endpoint: "https://useafloat.com/mcp",
|
|
79
|
+
note: "A stateless listing and an absent-tool call: routing headers on every request, no session id, results complete. Derived from the provider source (owner-supplied), not a live recording: the envelopes are the pinned official MCP server SDK 2.0.0 run in-process with the provider handler options, the listing is the published tool subset, and the results follow the provider output builders over synthetic data.",
|
|
80
|
+
exchanges: [
|
|
81
|
+
{
|
|
82
|
+
request: {
|
|
83
|
+
method: "POST",
|
|
84
|
+
url: "https://useafloat.com/mcp",
|
|
85
|
+
headers: {
|
|
86
|
+
accept: "application/json, text/event-stream",
|
|
87
|
+
"content-type": "application/json",
|
|
88
|
+
"mcp-method": "server/discover",
|
|
89
|
+
"mcp-protocol-version": "2026-07-28"
|
|
90
|
+
},
|
|
91
|
+
body: {
|
|
92
|
+
jsonrpc: "2.0",
|
|
93
|
+
id: "server-discover-probe-1",
|
|
94
|
+
method: "server/discover",
|
|
95
|
+
params: { _meta: {
|
|
96
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
97
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
98
|
+
name: "yolk",
|
|
99
|
+
version: "0.1.0"
|
|
100
|
+
},
|
|
101
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
102
|
+
} }
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
response: {
|
|
106
|
+
status: 200,
|
|
107
|
+
headers: { "content-type": "application/json" },
|
|
108
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
request: {
|
|
113
|
+
method: "POST",
|
|
114
|
+
url: "https://useafloat.com/mcp",
|
|
115
|
+
headers: {
|
|
116
|
+
accept: "application/json, text/event-stream",
|
|
117
|
+
"content-type": "application/json",
|
|
118
|
+
"mcp-method": "tools/list",
|
|
119
|
+
"mcp-protocol-version": "2026-07-28"
|
|
120
|
+
},
|
|
121
|
+
body: {
|
|
122
|
+
jsonrpc: "2.0",
|
|
123
|
+
id: 0,
|
|
124
|
+
method: "tools/list",
|
|
125
|
+
params: { _meta: {
|
|
126
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
127
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
128
|
+
name: "yolk",
|
|
129
|
+
version: "0.1.0"
|
|
130
|
+
},
|
|
131
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
132
|
+
} }
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
response: {
|
|
136
|
+
status: 200,
|
|
137
|
+
headers: { "content-type": "application/json" },
|
|
138
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
request: {
|
|
143
|
+
method: "POST",
|
|
144
|
+
url: "https://useafloat.com/mcp",
|
|
145
|
+
headers: {
|
|
146
|
+
accept: "application/json, text/event-stream",
|
|
147
|
+
"content-type": "application/json",
|
|
148
|
+
"mcp-method": "server/discover",
|
|
149
|
+
"mcp-protocol-version": "2026-07-28"
|
|
150
|
+
},
|
|
151
|
+
body: {
|
|
152
|
+
jsonrpc: "2.0",
|
|
153
|
+
id: "server-discover-probe-1",
|
|
154
|
+
method: "server/discover",
|
|
155
|
+
params: { _meta: {
|
|
156
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
157
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
158
|
+
name: "yolk",
|
|
159
|
+
version: "0.1.0"
|
|
160
|
+
},
|
|
161
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
162
|
+
} }
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
response: {
|
|
166
|
+
status: 200,
|
|
167
|
+
headers: { "content-type": "application/json" },
|
|
168
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
request: {
|
|
173
|
+
method: "POST",
|
|
174
|
+
url: "https://useafloat.com/mcp",
|
|
175
|
+
headers: {
|
|
176
|
+
accept: "application/json, text/event-stream",
|
|
177
|
+
"content-type": "application/json",
|
|
178
|
+
"mcp-method": "tools/list",
|
|
179
|
+
"mcp-protocol-version": "2026-07-28"
|
|
180
|
+
},
|
|
181
|
+
body: {
|
|
182
|
+
jsonrpc: "2.0",
|
|
183
|
+
id: 0,
|
|
184
|
+
method: "tools/list",
|
|
185
|
+
params: { _meta: {
|
|
186
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
187
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
188
|
+
name: "yolk",
|
|
189
|
+
version: "0.1.0"
|
|
190
|
+
},
|
|
191
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
192
|
+
} }
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
response: {
|
|
196
|
+
status: 200,
|
|
197
|
+
headers: { "content-type": "application/json" },
|
|
198
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
request: {
|
|
203
|
+
method: "POST",
|
|
204
|
+
url: "https://useafloat.com/mcp",
|
|
205
|
+
headers: {
|
|
206
|
+
accept: "application/json, text/event-stream",
|
|
207
|
+
"content-type": "application/json",
|
|
208
|
+
"mcp-method": "tools/call",
|
|
209
|
+
"mcp-protocol-version": "2026-07-28",
|
|
210
|
+
"mcp-name": "yolk_conformance_absent"
|
|
211
|
+
},
|
|
212
|
+
body: {
|
|
213
|
+
jsonrpc: "2.0",
|
|
214
|
+
id: 1,
|
|
215
|
+
method: "tools/call",
|
|
216
|
+
params: {
|
|
217
|
+
name: "yolk_conformance_absent",
|
|
218
|
+
arguments: {},
|
|
219
|
+
_meta: {
|
|
220
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
221
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
222
|
+
name: "yolk",
|
|
223
|
+
version: "0.1.0"
|
|
224
|
+
},
|
|
225
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
response: {
|
|
231
|
+
status: 200,
|
|
232
|
+
headers: { "content-type": "application/json" },
|
|
233
|
+
body: "{\"jsonrpc\":\"2.0\",\"id\":1,\"error\":{\"code\":-32602,\"message\":\"Requested tool was not found\"}}"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "mcp.transport.response-encoding.afloat.synthetic",
|
|
240
|
+
caseId: "mcp.transport.response-encoding",
|
|
241
|
+
evidence: "unverified",
|
|
242
|
+
recordedAt: "2026-10-02",
|
|
243
|
+
account: "synthetic",
|
|
244
|
+
endpoint: "https://useafloat.com/mcp",
|
|
245
|
+
note: "Every answer is application/json holding the response to its request. Derived from the provider source (owner-supplied), not a live recording: the envelopes are the pinned official MCP server SDK 2.0.0 run in-process with the provider handler options, the listing is the published tool subset, and the results follow the provider output builders over synthetic data.",
|
|
246
|
+
exchanges: [{
|
|
247
|
+
request: {
|
|
248
|
+
method: "POST",
|
|
249
|
+
url: "https://useafloat.com/mcp",
|
|
250
|
+
headers: {
|
|
251
|
+
accept: "application/json, text/event-stream",
|
|
252
|
+
"content-type": "application/json",
|
|
253
|
+
"mcp-method": "server/discover",
|
|
254
|
+
"mcp-protocol-version": "2026-07-28"
|
|
255
|
+
},
|
|
256
|
+
body: {
|
|
257
|
+
jsonrpc: "2.0",
|
|
258
|
+
id: "server-discover-probe-1",
|
|
259
|
+
method: "server/discover",
|
|
260
|
+
params: { _meta: {
|
|
261
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
262
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
263
|
+
name: "yolk",
|
|
264
|
+
version: "0.1.0"
|
|
265
|
+
},
|
|
266
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
267
|
+
} }
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
response: {
|
|
271
|
+
status: 200,
|
|
272
|
+
headers: { "content-type": "application/json" },
|
|
273
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
274
|
+
}
|
|
275
|
+
}, {
|
|
276
|
+
request: {
|
|
277
|
+
method: "POST",
|
|
278
|
+
url: "https://useafloat.com/mcp",
|
|
279
|
+
headers: {
|
|
280
|
+
accept: "application/json, text/event-stream",
|
|
281
|
+
"content-type": "application/json",
|
|
282
|
+
"mcp-method": "tools/list",
|
|
283
|
+
"mcp-protocol-version": "2026-07-28"
|
|
284
|
+
},
|
|
285
|
+
body: {
|
|
286
|
+
jsonrpc: "2.0",
|
|
287
|
+
id: 0,
|
|
288
|
+
method: "tools/list",
|
|
289
|
+
params: { _meta: {
|
|
290
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
291
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
292
|
+
name: "yolk",
|
|
293
|
+
version: "0.1.0"
|
|
294
|
+
},
|
|
295
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
296
|
+
} }
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
response: {
|
|
300
|
+
status: 200,
|
|
301
|
+
headers: { "content-type": "application/json" },
|
|
302
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
303
|
+
}
|
|
304
|
+
}]
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
id: "mcp.tools.list.afloat.synthetic",
|
|
308
|
+
caseId: "mcp.tools.list",
|
|
309
|
+
evidence: "unverified",
|
|
310
|
+
recordedAt: "2026-10-02",
|
|
311
|
+
account: "synthetic",
|
|
312
|
+
endpoint: "https://useafloat.com/mcp",
|
|
313
|
+
note: "A listing on one tools/list page: the published tool subset, the receipt-upload tools marked readOnlyHint false. Derived from the provider source (owner-supplied), not a live recording: the envelopes are the pinned official MCP server SDK 2.0.0 run in-process with the provider handler options, the listing is the published tool subset, and the results follow the provider output builders over synthetic data.",
|
|
314
|
+
exchanges: [{
|
|
315
|
+
request: {
|
|
316
|
+
method: "POST",
|
|
317
|
+
url: "https://useafloat.com/mcp",
|
|
318
|
+
headers: {
|
|
319
|
+
accept: "application/json, text/event-stream",
|
|
320
|
+
"content-type": "application/json",
|
|
321
|
+
"mcp-method": "server/discover",
|
|
322
|
+
"mcp-protocol-version": "2026-07-28"
|
|
323
|
+
},
|
|
324
|
+
body: {
|
|
325
|
+
jsonrpc: "2.0",
|
|
326
|
+
id: "server-discover-probe-1",
|
|
327
|
+
method: "server/discover",
|
|
328
|
+
params: { _meta: {
|
|
329
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
330
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
331
|
+
name: "yolk",
|
|
332
|
+
version: "0.1.0"
|
|
333
|
+
},
|
|
334
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
335
|
+
} }
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
response: {
|
|
339
|
+
status: 200,
|
|
340
|
+
headers: { "content-type": "application/json" },
|
|
341
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
342
|
+
}
|
|
343
|
+
}, {
|
|
344
|
+
request: {
|
|
345
|
+
method: "POST",
|
|
346
|
+
url: "https://useafloat.com/mcp",
|
|
347
|
+
headers: {
|
|
348
|
+
accept: "application/json, text/event-stream",
|
|
349
|
+
"content-type": "application/json",
|
|
350
|
+
"mcp-method": "tools/list",
|
|
351
|
+
"mcp-protocol-version": "2026-07-28"
|
|
352
|
+
},
|
|
353
|
+
body: {
|
|
354
|
+
jsonrpc: "2.0",
|
|
355
|
+
id: 0,
|
|
356
|
+
method: "tools/list",
|
|
357
|
+
params: { _meta: {
|
|
358
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
359
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
360
|
+
name: "yolk",
|
|
361
|
+
version: "0.1.0"
|
|
362
|
+
},
|
|
363
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
364
|
+
} }
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
response: {
|
|
368
|
+
status: 200,
|
|
369
|
+
headers: { "content-type": "application/json" },
|
|
370
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
371
|
+
}
|
|
372
|
+
}]
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
id: "mcp.tools.call-read.afloat.synthetic",
|
|
376
|
+
caseId: "mcp.tools.call-read",
|
|
377
|
+
evidence: "unverified",
|
|
378
|
+
recordedAt: "2026-10-02",
|
|
379
|
+
account: "synthetic",
|
|
380
|
+
endpoint: "https://useafloat.com/mcp",
|
|
381
|
+
note: "A listing (the readOnlyHint precondition), then list-invoices answered with structured content matching its output schema. Derived from the provider source (owner-supplied), not a live recording: the envelopes are the pinned official MCP server SDK 2.0.0 run in-process with the provider handler options, the listing is the published tool subset, and the results follow the provider output builders over synthetic data.",
|
|
382
|
+
exchanges: [
|
|
383
|
+
{
|
|
384
|
+
request: {
|
|
385
|
+
method: "POST",
|
|
386
|
+
url: "https://useafloat.com/mcp",
|
|
387
|
+
headers: {
|
|
388
|
+
accept: "application/json, text/event-stream",
|
|
389
|
+
"content-type": "application/json",
|
|
390
|
+
"mcp-method": "server/discover",
|
|
391
|
+
"mcp-protocol-version": "2026-07-28"
|
|
392
|
+
},
|
|
393
|
+
body: {
|
|
394
|
+
jsonrpc: "2.0",
|
|
395
|
+
id: "server-discover-probe-1",
|
|
396
|
+
method: "server/discover",
|
|
397
|
+
params: { _meta: {
|
|
398
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
399
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
400
|
+
name: "yolk",
|
|
401
|
+
version: "0.1.0"
|
|
402
|
+
},
|
|
403
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
404
|
+
} }
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
response: {
|
|
408
|
+
status: 200,
|
|
409
|
+
headers: { "content-type": "application/json" },
|
|
410
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
request: {
|
|
415
|
+
method: "POST",
|
|
416
|
+
url: "https://useafloat.com/mcp",
|
|
417
|
+
headers: {
|
|
418
|
+
accept: "application/json, text/event-stream",
|
|
419
|
+
"content-type": "application/json",
|
|
420
|
+
"mcp-method": "tools/list",
|
|
421
|
+
"mcp-protocol-version": "2026-07-28"
|
|
422
|
+
},
|
|
423
|
+
body: {
|
|
424
|
+
jsonrpc: "2.0",
|
|
425
|
+
id: 0,
|
|
426
|
+
method: "tools/list",
|
|
427
|
+
params: { _meta: {
|
|
428
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
429
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
430
|
+
name: "yolk",
|
|
431
|
+
version: "0.1.0"
|
|
432
|
+
},
|
|
433
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
434
|
+
} }
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
response: {
|
|
438
|
+
status: 200,
|
|
439
|
+
headers: { "content-type": "application/json" },
|
|
440
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
request: {
|
|
445
|
+
method: "POST",
|
|
446
|
+
url: "https://useafloat.com/mcp",
|
|
447
|
+
headers: {
|
|
448
|
+
accept: "application/json, text/event-stream",
|
|
449
|
+
"content-type": "application/json",
|
|
450
|
+
"mcp-method": "server/discover",
|
|
451
|
+
"mcp-protocol-version": "2026-07-28"
|
|
452
|
+
},
|
|
453
|
+
body: {
|
|
454
|
+
jsonrpc: "2.0",
|
|
455
|
+
id: "server-discover-probe-1",
|
|
456
|
+
method: "server/discover",
|
|
457
|
+
params: { _meta: {
|
|
458
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
459
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
460
|
+
name: "yolk",
|
|
461
|
+
version: "0.1.0"
|
|
462
|
+
},
|
|
463
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
464
|
+
} }
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
response: {
|
|
468
|
+
status: 200,
|
|
469
|
+
headers: { "content-type": "application/json" },
|
|
470
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
request: {
|
|
475
|
+
method: "POST",
|
|
476
|
+
url: "https://useafloat.com/mcp",
|
|
477
|
+
headers: {
|
|
478
|
+
accept: "application/json, text/event-stream",
|
|
479
|
+
"content-type": "application/json",
|
|
480
|
+
"mcp-method": "tools/list",
|
|
481
|
+
"mcp-protocol-version": "2026-07-28"
|
|
482
|
+
},
|
|
483
|
+
body: {
|
|
484
|
+
jsonrpc: "2.0",
|
|
485
|
+
id: 0,
|
|
486
|
+
method: "tools/list",
|
|
487
|
+
params: { _meta: {
|
|
488
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
489
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
490
|
+
name: "yolk",
|
|
491
|
+
version: "0.1.0"
|
|
492
|
+
},
|
|
493
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
494
|
+
} }
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
response: {
|
|
498
|
+
status: 200,
|
|
499
|
+
headers: { "content-type": "application/json" },
|
|
500
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
request: {
|
|
505
|
+
method: "POST",
|
|
506
|
+
url: "https://useafloat.com/mcp",
|
|
507
|
+
headers: {
|
|
508
|
+
accept: "application/json, text/event-stream",
|
|
509
|
+
"content-type": "application/json",
|
|
510
|
+
"mcp-method": "tools/call",
|
|
511
|
+
"mcp-protocol-version": "2026-07-28",
|
|
512
|
+
"mcp-name": "list-invoices"
|
|
513
|
+
},
|
|
514
|
+
body: {
|
|
515
|
+
jsonrpc: "2.0",
|
|
516
|
+
id: 1,
|
|
517
|
+
method: "tools/call",
|
|
518
|
+
params: {
|
|
519
|
+
name: "list-invoices",
|
|
520
|
+
arguments: { size: 10 },
|
|
521
|
+
_meta: {
|
|
522
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
523
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
524
|
+
name: "yolk",
|
|
525
|
+
version: "0.1.0"
|
|
526
|
+
},
|
|
527
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
response: {
|
|
533
|
+
status: 200,
|
|
534
|
+
headers: { "content-type": "application/json" },
|
|
535
|
+
body: "{\"result\":{\"content\":[{\"type\":\"text\",\"text\":\"{\\\"items\\\":[{\\\"id\\\":\\\"yolksyntheticinvoice0001\\\",\\\"invoiceNumber\\\":1,\\\"status\\\":\\\"ISSUED\\\",\\\"computedStatus\\\":\\\"PAID\\\",\\\"invoiceDate\\\":\\\"2026-01-15\\\",\\\"invoiceDueDays\\\":30,\\\"currency\\\":\\\"EUR\\\",\\\"taxPercentage\\\":\\\"21\\\",\\\"itemsValue\\\":\\\"100\\\",\\\"invoiceValue\\\":\\\"121\\\",\\\"paymentDate\\\":\\\"2026-01-31\\\",\\\"paymentValue\\\":\\\"121\\\",\\\"paymentCurrency\\\":\\\"EUR\\\",\\\"purchaseOrder\\\":null,\\\"notes\\\":null,\\\"customer\\\":{\\\"id\\\":\\\"yolksyntheticcustomer001\\\",\\\"name\\\":\\\"Synthetic Customer\\\"},\\\"sequence\\\":{\\\"prefix\\\":\\\"SYN-\\\",\\\"suffix\\\":\\\"\\\"},\\\"updatedAt\\\":\\\"2026-01-31T12:00:00.000Z\\\"}],\\\"totalCount\\\":1}\"}],\"structuredContent\":{\"items\":[{\"id\":\"yolksyntheticinvoice0001\",\"invoiceNumber\":1,\"status\":\"ISSUED\",\"computedStatus\":\"PAID\",\"invoiceDate\":\"2026-01-15\",\"invoiceDueDays\":30,\"currency\":\"EUR\",\"taxPercentage\":\"21\",\"itemsValue\":\"100\",\"invoiceValue\":\"121\",\"paymentDate\":\"2026-01-31\",\"paymentValue\":\"121\",\"paymentCurrency\":\"EUR\",\"purchaseOrder\":null,\"notes\":null,\"customer\":{\"id\":\"yolksyntheticcustomer001\",\"name\":\"Synthetic Customer\"},\"sequence\":{\"prefix\":\"SYN-\",\"suffix\":\"\"},\"updatedAt\":\"2026-01-31T12:00:00.000Z\"}],\"totalCount\":1},\"resultType\":\"complete\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":1}"
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
id: "mcp.tools.call-tool-error.afloat.synthetic",
|
|
542
|
+
caseId: "mcp.tools.call-tool-error",
|
|
543
|
+
evidence: "unverified",
|
|
544
|
+
recordedAt: "2026-10-02",
|
|
545
|
+
account: "synthetic",
|
|
546
|
+
endpoint: "https://useafloat.com/mcp",
|
|
547
|
+
note: "A listing (the readOnlyHint precondition), then list-invoices with a non-numeric size answered as a tool result with isError true and a VALIDATION_ERROR text. Derived from the provider source (owner-supplied), not a live recording: the envelopes are the pinned official MCP server SDK 2.0.0 run in-process with the provider handler options, the listing is the published tool subset, and the results follow the provider output builders over synthetic data.",
|
|
548
|
+
exchanges: [
|
|
549
|
+
{
|
|
550
|
+
request: {
|
|
551
|
+
method: "POST",
|
|
552
|
+
url: "https://useafloat.com/mcp",
|
|
553
|
+
headers: {
|
|
554
|
+
accept: "application/json, text/event-stream",
|
|
555
|
+
"content-type": "application/json",
|
|
556
|
+
"mcp-method": "server/discover",
|
|
557
|
+
"mcp-protocol-version": "2026-07-28"
|
|
558
|
+
},
|
|
559
|
+
body: {
|
|
560
|
+
jsonrpc: "2.0",
|
|
561
|
+
id: "server-discover-probe-1",
|
|
562
|
+
method: "server/discover",
|
|
563
|
+
params: { _meta: {
|
|
564
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
565
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
566
|
+
name: "yolk",
|
|
567
|
+
version: "0.1.0"
|
|
568
|
+
},
|
|
569
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
570
|
+
} }
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
response: {
|
|
574
|
+
status: 200,
|
|
575
|
+
headers: { "content-type": "application/json" },
|
|
576
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
request: {
|
|
581
|
+
method: "POST",
|
|
582
|
+
url: "https://useafloat.com/mcp",
|
|
583
|
+
headers: {
|
|
584
|
+
accept: "application/json, text/event-stream",
|
|
585
|
+
"content-type": "application/json",
|
|
586
|
+
"mcp-method": "tools/list",
|
|
587
|
+
"mcp-protocol-version": "2026-07-28"
|
|
588
|
+
},
|
|
589
|
+
body: {
|
|
590
|
+
jsonrpc: "2.0",
|
|
591
|
+
id: 0,
|
|
592
|
+
method: "tools/list",
|
|
593
|
+
params: { _meta: {
|
|
594
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
595
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
596
|
+
name: "yolk",
|
|
597
|
+
version: "0.1.0"
|
|
598
|
+
},
|
|
599
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
600
|
+
} }
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
response: {
|
|
604
|
+
status: 200,
|
|
605
|
+
headers: { "content-type": "application/json" },
|
|
606
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
request: {
|
|
611
|
+
method: "POST",
|
|
612
|
+
url: "https://useafloat.com/mcp",
|
|
613
|
+
headers: {
|
|
614
|
+
accept: "application/json, text/event-stream",
|
|
615
|
+
"content-type": "application/json",
|
|
616
|
+
"mcp-method": "server/discover",
|
|
617
|
+
"mcp-protocol-version": "2026-07-28"
|
|
618
|
+
},
|
|
619
|
+
body: {
|
|
620
|
+
jsonrpc: "2.0",
|
|
621
|
+
id: "server-discover-probe-1",
|
|
622
|
+
method: "server/discover",
|
|
623
|
+
params: { _meta: {
|
|
624
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
625
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
626
|
+
name: "yolk",
|
|
627
|
+
version: "0.1.0"
|
|
628
|
+
},
|
|
629
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
630
|
+
} }
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
response: {
|
|
634
|
+
status: 200,
|
|
635
|
+
headers: { "content-type": "application/json" },
|
|
636
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
request: {
|
|
641
|
+
method: "POST",
|
|
642
|
+
url: "https://useafloat.com/mcp",
|
|
643
|
+
headers: {
|
|
644
|
+
accept: "application/json, text/event-stream",
|
|
645
|
+
"content-type": "application/json",
|
|
646
|
+
"mcp-method": "tools/list",
|
|
647
|
+
"mcp-protocol-version": "2026-07-28"
|
|
648
|
+
},
|
|
649
|
+
body: {
|
|
650
|
+
jsonrpc: "2.0",
|
|
651
|
+
id: 0,
|
|
652
|
+
method: "tools/list",
|
|
653
|
+
params: { _meta: {
|
|
654
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
655
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
656
|
+
name: "yolk",
|
|
657
|
+
version: "0.1.0"
|
|
658
|
+
},
|
|
659
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
660
|
+
} }
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
response: {
|
|
664
|
+
status: 200,
|
|
665
|
+
headers: { "content-type": "application/json" },
|
|
666
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
request: {
|
|
671
|
+
method: "POST",
|
|
672
|
+
url: "https://useafloat.com/mcp",
|
|
673
|
+
headers: {
|
|
674
|
+
accept: "application/json, text/event-stream",
|
|
675
|
+
"content-type": "application/json",
|
|
676
|
+
"mcp-method": "tools/call",
|
|
677
|
+
"mcp-protocol-version": "2026-07-28",
|
|
678
|
+
"mcp-name": "list-invoices"
|
|
679
|
+
},
|
|
680
|
+
body: {
|
|
681
|
+
jsonrpc: "2.0",
|
|
682
|
+
id: 1,
|
|
683
|
+
method: "tools/call",
|
|
684
|
+
params: {
|
|
685
|
+
name: "list-invoices",
|
|
686
|
+
arguments: { size: "ten" },
|
|
687
|
+
_meta: {
|
|
688
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
689
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
690
|
+
name: "yolk",
|
|
691
|
+
version: "0.1.0"
|
|
692
|
+
},
|
|
693
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
response: {
|
|
699
|
+
status: 200,
|
|
700
|
+
headers: { "content-type": "application/json" },
|
|
701
|
+
body: "{\"result\":{\"content\":[{\"type\":\"text\",\"text\":\"{\\\"error\\\":{\\\"code\\\":\\\"VALIDATION_ERROR\\\",\\\"message\\\":\\\"The tool arguments did not match the expected schema.\\\",\\\"requestId\\\":\\\"00000000-0000-4000-8000-000000000001\\\"}}\"}],\"isError\":true,\"resultType\":\"complete\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":1}"
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
id: "mcp.errors.unknown-tool.afloat.synthetic",
|
|
708
|
+
caseId: "mcp.errors.unknown-tool",
|
|
709
|
+
evidence: "unverified",
|
|
710
|
+
recordedAt: "2026-10-02",
|
|
711
|
+
account: "synthetic",
|
|
712
|
+
endpoint: "https://useafloat.com/mcp",
|
|
713
|
+
note: "A listing without the absent tool, then tools/call of it answered HTTP 200 with a JSON-RPC -32602 error carrying the request id. Derived from the provider source (owner-supplied), not a live recording: the envelopes are the pinned official MCP server SDK 2.0.0 run in-process with the provider handler options, the listing is the published tool subset, and the results follow the provider output builders over synthetic data.",
|
|
714
|
+
exchanges: [
|
|
715
|
+
{
|
|
716
|
+
request: {
|
|
717
|
+
method: "POST",
|
|
718
|
+
url: "https://useafloat.com/mcp",
|
|
719
|
+
headers: {
|
|
720
|
+
accept: "application/json, text/event-stream",
|
|
721
|
+
"content-type": "application/json",
|
|
722
|
+
"mcp-method": "server/discover",
|
|
723
|
+
"mcp-protocol-version": "2026-07-28"
|
|
724
|
+
},
|
|
725
|
+
body: {
|
|
726
|
+
jsonrpc: "2.0",
|
|
727
|
+
id: "server-discover-probe-1",
|
|
728
|
+
method: "server/discover",
|
|
729
|
+
params: { _meta: {
|
|
730
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
731
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
732
|
+
name: "yolk",
|
|
733
|
+
version: "0.1.0"
|
|
734
|
+
},
|
|
735
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
736
|
+
} }
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
response: {
|
|
740
|
+
status: 200,
|
|
741
|
+
headers: { "content-type": "application/json" },
|
|
742
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
request: {
|
|
747
|
+
method: "POST",
|
|
748
|
+
url: "https://useafloat.com/mcp",
|
|
749
|
+
headers: {
|
|
750
|
+
accept: "application/json, text/event-stream",
|
|
751
|
+
"content-type": "application/json",
|
|
752
|
+
"mcp-method": "tools/list",
|
|
753
|
+
"mcp-protocol-version": "2026-07-28"
|
|
754
|
+
},
|
|
755
|
+
body: {
|
|
756
|
+
jsonrpc: "2.0",
|
|
757
|
+
id: 0,
|
|
758
|
+
method: "tools/list",
|
|
759
|
+
params: { _meta: {
|
|
760
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
761
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
762
|
+
name: "yolk",
|
|
763
|
+
version: "0.1.0"
|
|
764
|
+
},
|
|
765
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
766
|
+
} }
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
response: {
|
|
770
|
+
status: 200,
|
|
771
|
+
headers: { "content-type": "application/json" },
|
|
772
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
request: {
|
|
777
|
+
method: "POST",
|
|
778
|
+
url: "https://useafloat.com/mcp",
|
|
779
|
+
headers: {
|
|
780
|
+
accept: "application/json, text/event-stream",
|
|
781
|
+
"content-type": "application/json",
|
|
782
|
+
"mcp-method": "server/discover",
|
|
783
|
+
"mcp-protocol-version": "2026-07-28"
|
|
784
|
+
},
|
|
785
|
+
body: {
|
|
786
|
+
jsonrpc: "2.0",
|
|
787
|
+
id: "server-discover-probe-1",
|
|
788
|
+
method: "server/discover",
|
|
789
|
+
params: { _meta: {
|
|
790
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
791
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
792
|
+
name: "yolk",
|
|
793
|
+
version: "0.1.0"
|
|
794
|
+
},
|
|
795
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
796
|
+
} }
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
response: {
|
|
800
|
+
status: 200,
|
|
801
|
+
headers: { "content-type": "application/json" },
|
|
802
|
+
body: "{\"result\":{\"supportedVersions\":[\"2026-07-28\"],\"capabilities\":{\"tools\":{\"listChanged\":false}},\"instructions\":\"Tools for reading and managing business records.\",\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":\"server-discover-probe-1\"}"
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
request: {
|
|
807
|
+
method: "POST",
|
|
808
|
+
url: "https://useafloat.com/mcp",
|
|
809
|
+
headers: {
|
|
810
|
+
accept: "application/json, text/event-stream",
|
|
811
|
+
"content-type": "application/json",
|
|
812
|
+
"mcp-method": "tools/list",
|
|
813
|
+
"mcp-protocol-version": "2026-07-28"
|
|
814
|
+
},
|
|
815
|
+
body: {
|
|
816
|
+
jsonrpc: "2.0",
|
|
817
|
+
id: 0,
|
|
818
|
+
method: "tools/list",
|
|
819
|
+
params: { _meta: {
|
|
820
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
821
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
822
|
+
name: "yolk",
|
|
823
|
+
version: "0.1.0"
|
|
824
|
+
},
|
|
825
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
826
|
+
} }
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
response: {
|
|
830
|
+
status: 200,
|
|
831
|
+
headers: { "content-type": "application/json" },
|
|
832
|
+
body: "{\"result\":{\"tools\":[{\"name\":\"list-invoices\",\"title\":\"List invoices\",\"description\":\"List issued invoices, one page at a time, optionally filtered by search text or payment status.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"page\":{\"description\":\"a positive number\",\"exclusiveMinimum\":0,\"title\":\"positive\",\"type\":\"integer\"},\"search\":{\"type\":\"string\"},\"size\":{\"enum\":[10,25,50,100],\"type\":\"number\"},\"status\":{\"enum\":[\"all\",\"paid\",\"pending\",\"overdue\",\"voided\"],\"type\":\"string\"}},\"required\":[],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"prefix\",\"suffix\"],\"type\":\"object\"},\"status\":{\"enum\":[\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"purchaseOrder\",\"notes\",\"customer\",\"sequence\",\"updatedAt\"],\"type\":\"object\"},\"type\":\"array\"},\"totalCount\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"}},\"required\":[\"items\",\"totalCount\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-invoice\",\"title\":\"Get invoice\",\"description\":\"Read one invoice by id, with its line items, customer, vendor, and numbering sequence.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"computedStatus\":{\"enum\":[\"PAID\",\"PENDING\",\"OVERDUE\",\"VOIDED\"],\"type\":\"string\"},\"createdAt\":{\"type\":\"string\"},\"currency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"customer\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\"],\"type\":\"object\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"invoiceDate\":{\"type\":\"string\"},\"invoiceDueDays\":{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},\"invoiceNumber\":{\"anyOf\":[{\"description\":\"an integer\",\"title\":\"int\",\"type\":\"integer\"},{\"type\":\"null\"}]},\"invoiceValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"items\":{\"items\":{\"additionalProperties\":false,\"properties\":{\"description\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"quantity\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"totalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"unitValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"description\",\"quantity\",\"unitValue\",\"taxPercentage\",\"totalValue\"],\"type\":\"object\"},\"type\":\"array\"},\"itemsValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"notes\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"purchaseOrder\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"secondTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"sequence\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"prefix\":{\"type\":\"string\"},\"suffix\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\",\"prefix\",\"suffix\"],\"type\":\"object\"},\"shippingTaxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"shippingValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"status\":{\"enum\":[\"DRAFT\",\"ISSUED\",\"VOIDED\"],\"type\":\"string\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"},\"vendor\":{\"additionalProperties\":false,\"properties\":{\"address\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"contact\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"paymentInfo\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"taxNumber\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"name\",\"taxNumber\",\"address\",\"contact\",\"paymentInfo\"],\"type\":\"object\"},\"voidedDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}},\"required\":[\"id\",\"invoiceNumber\",\"status\",\"computedStatus\",\"invoiceDate\",\"invoiceDueDays\",\"currency\",\"taxPercentage\",\"secondTaxPercentage\",\"shippingValue\",\"shippingTaxPercentage\",\"itemsValue\",\"invoiceValue\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"voidedDate\",\"purchaseOrder\",\"notes\",\"customer\",\"vendor\",\"sequence\",\"items\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":true,\"openWorldHint\":false}},{\"name\":\"get-tax-return-download\",\"title\":\"Get tax return download\",\"description\":\"Issue a short-lived download grant for a completed tax-return archive.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"taxReturnId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"taxReturnId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-logo-download\",\"title\":\"Get logo download\",\"description\":\"Issue a short-lived download grant for a logo.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"logoId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"logoId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/logo\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"create-receipt-upload\",\"title\":\"Create receipt upload\",\"description\":\"Start a receipt upload: answers a short-lived upload URL and the headers the upload must send.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"checksumSha256\":{\"description\":\"a string matching the pattern ^[A-Za-z0-9+/]{43}=$\",\"maxLength\":44,\"minLength\":44,\"pattern\":\"^[A-Za-z0-9+/]{43}=$\",\"title\":\"length(44)\",\"type\":\"string\"},\"contentLength\":{\"description\":\"a number between 1 and 2147483647\",\"maximum\":2147483647,\"minimum\":1,\"title\":\"between(1, 2147483647)\",\"type\":\"integer\"},\"contentType\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"}},\"required\":[\"contentType\",\"contentLength\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"requiredHeaders\":{\"additionalProperties\":false,\"properties\":{\"content-length\":{\"description\":\"a string matching the pattern ^\\\\d+$\",\"pattern\":\"^\\\\d+$\",\"type\":\"string\"},\"content-type\":{\"enum\":[\"image/jpeg\",\"image/png\",\"image/webp\",\"image/gif\",\"application/pdf\"],\"type\":\"string\"},\"x-amz-checksum-sha256\":{\"type\":\"string\"}},\"required\":[\"content-type\",\"content-length\"],\"type\":\"object\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadUrl\":{\"description\":\"a string at least 1 character(s) long\",\"minLength\":1,\"title\":\"minLength(1)\",\"type\":\"string\"}},\"required\":[\"uploadIntentId\",\"uploadUrl\",\"expiresAt\",\"requiredHeaders\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"complete-receipt-upload\",\"title\":\"Complete receipt upload\",\"description\":\"Finish a receipt upload and attach the uploaded file to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"uploadIntentId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\",\"uploadIntentId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"createdAt\":{\"type\":\"string\"},\"hasReceipt\":{\"type\":\"boolean\"},\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"payee\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"},\"name\":{\"type\":\"string\"}},\"required\":[\"id\",\"name\"],\"type\":\"object\"},\"paymentCurrency\":{\"anyOf\":[{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentDate\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"paymentValue\":{\"anyOf\":[{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},{\"type\":\"null\"}]},\"receiptCurrency\":{\"description\":\"a string 3 character(s) long\",\"maxLength\":3,\"minLength\":3,\"title\":\"length(3)\",\"type\":\"string\"},\"receiptSubtotalValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"receiptValue\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"rounding\":{\"anyOf\":[{\"type\":\"number\"},{\"type\":\"null\"}]},\"status\":{\"enum\":[\"PAID\",\"PENDING\"],\"type\":\"string\"},\"tags\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"taxPercentage\":{\"description\":\"a string matching the pattern ^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"pattern\":\"^-?\\\\d+(?:\\\\.\\\\d+)?$\",\"type\":\"string\"},\"updatedAt\":{\"type\":\"string\"}},\"required\":[\"id\",\"status\",\"receiptSubtotalValue\",\"receiptValue\",\"receiptCurrency\",\"taxPercentage\",\"paymentDate\",\"paymentValue\",\"paymentCurrency\",\"rounding\",\"hasReceipt\",\"payee\",\"tags\",\"createdAt\",\"updatedAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":false,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-receipt-download\",\"title\":\"Get receipt download\",\"description\":\"Issue a short-lived download grant for the receipt attached to an expense.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expenseId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"expenseId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/receipt\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-invoice-pdf\",\"title\":\"Get invoice PDF\",\"description\":\"Issue a short-lived download grant for an invoice PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"invoiceId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"invoiceId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}},{\"name\":\"get-quote-pdf\",\"title\":\"Get quote PDF\",\"description\":\"Issue a short-lived download grant for a quote PDF.\",\"inputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"quoteId\":{\"description\":\"a string at most 128 character(s) long\",\"maxLength\":128,\"minLength\":1,\"title\":\"maxLength(128)\",\"type\":\"string\"}},\"required\":[\"quoteId\"],\"type\":\"object\"},\"outputSchema\":{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"additionalProperties\":false,\"properties\":{\"expiresAt\":{\"type\":\"string\"},\"url\":{\"description\":\"a string matching the pattern ^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"pattern\":\"^\\\\/mcp\\\\/files\\\\/pdf\\\\/\",\"type\":\"string\"}},\"required\":[\"url\",\"expiresAt\"],\"type\":\"object\"},\"annotations\":{\"readOnlyHint\":true,\"destructiveHint\":false,\"idempotentHint\":false,\"openWorldHint\":false}}],\"resultType\":\"complete\",\"ttlMs\":0,\"cacheScope\":\"private\",\"_meta\":{\"io.modelcontextprotocol/serverInfo\":{\"name\":\"afloat\",\"version\":\"2.0.0\"}}},\"jsonrpc\":\"2.0\",\"id\":0}"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
request: {
|
|
837
|
+
method: "POST",
|
|
838
|
+
url: "https://useafloat.com/mcp",
|
|
839
|
+
headers: {
|
|
840
|
+
accept: "application/json, text/event-stream",
|
|
841
|
+
"content-type": "application/json",
|
|
842
|
+
"mcp-method": "tools/call",
|
|
843
|
+
"mcp-protocol-version": "2026-07-28",
|
|
844
|
+
"mcp-name": "yolk_conformance_absent"
|
|
845
|
+
},
|
|
846
|
+
body: {
|
|
847
|
+
jsonrpc: "2.0",
|
|
848
|
+
id: 1,
|
|
849
|
+
method: "tools/call",
|
|
850
|
+
params: {
|
|
851
|
+
name: "yolk_conformance_absent",
|
|
852
|
+
arguments: {},
|
|
853
|
+
_meta: {
|
|
854
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
855
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
856
|
+
name: "yolk",
|
|
857
|
+
version: "0.1.0"
|
|
858
|
+
},
|
|
859
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
response: {
|
|
865
|
+
status: 200,
|
|
866
|
+
headers: { "content-type": "application/json" },
|
|
867
|
+
body: "{\"jsonrpc\":\"2.0\",\"id\":1,\"error\":{\"code\":-32602,\"message\":\"Requested tool was not found\"}}"
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
]
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
id: "mcp.auth.rejected.afloat.synthetic",
|
|
874
|
+
caseId: "mcp.auth.rejected",
|
|
875
|
+
evidence: "unverified",
|
|
876
|
+
recordedAt: "2026-10-02",
|
|
877
|
+
account: "synthetic",
|
|
878
|
+
endpoint: "https://useafloat.com/mcp",
|
|
879
|
+
note: "The era probe sent with the reserved invalid Afloat credential (authorization is never recorded), answered 401 with a WWW-Authenticate challenge of the Bearer scheme alone. Derived from the provider source (owner-supplied), not a live recording: the envelopes are the pinned official MCP server SDK 2.0.0 run in-process with the provider handler options, the listing is the published tool subset, and the results follow the provider output builders over synthetic data.",
|
|
880
|
+
exchanges: [{
|
|
881
|
+
request: {
|
|
882
|
+
method: "POST",
|
|
883
|
+
url: "https://useafloat.com/mcp",
|
|
884
|
+
headers: {
|
|
885
|
+
accept: "application/json, text/event-stream",
|
|
886
|
+
"content-type": "application/json",
|
|
887
|
+
"mcp-method": "server/discover",
|
|
888
|
+
"mcp-protocol-version": "2026-07-28"
|
|
889
|
+
},
|
|
890
|
+
body: {
|
|
891
|
+
jsonrpc: "2.0",
|
|
892
|
+
id: "server-discover-probe-1",
|
|
893
|
+
method: "server/discover",
|
|
894
|
+
params: { _meta: {
|
|
895
|
+
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
|
896
|
+
"io.modelcontextprotocol/clientInfo": {
|
|
897
|
+
name: "yolk",
|
|
898
|
+
version: "0.1.0"
|
|
899
|
+
},
|
|
900
|
+
"io.modelcontextprotocol/clientCapabilities": {}
|
|
901
|
+
} }
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
response: {
|
|
905
|
+
status: 401,
|
|
906
|
+
headers: {
|
|
907
|
+
"content-type": "application/json",
|
|
908
|
+
"www-authenticate": "Bearer"
|
|
909
|
+
},
|
|
910
|
+
body: "{\"error\":{\"code\":\"UNAUTHORIZED\",\"message\":\"Authentication required.\",\"requestId\":\"00000000-0000-4000-8000-000000000001\"}}"
|
|
911
|
+
}
|
|
912
|
+
}]
|
|
913
|
+
}
|
|
914
|
+
];
|
|
915
|
+
//#endregion
|
|
916
|
+
export { mcpEmulatorAfloatFixtures };
|
|
917
|
+
|
|
918
|
+
//# sourceMappingURL=afloat-recordings.mjs.map
|