@codemill-solutions/yuki-mcp 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/tools/backoffice.d.ts +13 -0
- package/dist/tools/backoffice.d.ts.map +1 -0
- package/dist/tools/backoffice.js +126 -0
- package/dist/tools/backoffice.js.map +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -140,6 +140,13 @@ Add to your MCP host configuration (e.g. `claude_desktop_config.json`):
|
|
|
140
140
|
| `upload_document_from_path` | `filePath`, `fileName?`, `folder?`, `amount?` | Upload a PDF from a local file path. Reads and encodes the file internally — preferred over `upload_document` when the file is available on disk. Validates that the file exists and is a valid PDF before uploading. |
|
|
141
141
|
| `get_document_folders` | — | List all archive folders available in the administration. |
|
|
142
142
|
|
|
143
|
+
### Backoffice
|
|
144
|
+
|
|
145
|
+
| Tool | Key parameters | Description |
|
|
146
|
+
|------|----------------|-------------|
|
|
147
|
+
| `get_workflow` | `administrationId?` | Retrieve backoffice workflow items — documents that could not be processed automatically and are awaiting review by the accountant. |
|
|
148
|
+
| `get_outstanding_questions` | `administrationId?` | Retrieve outstanding questions raised by the accountant that require a response before the related documents can be processed. |
|
|
149
|
+
|
|
143
150
|
---
|
|
144
151
|
|
|
145
152
|
## Testing
|
|
@@ -190,7 +197,8 @@ src/
|
|
|
190
197
|
│ # process_sales_invoice, process_purchase_invoice
|
|
191
198
|
├── transactions.ts # get_transactions, get_transaction_details, process_journal
|
|
192
199
|
├── accounting.ts # get_gl_accounts
|
|
193
|
-
|
|
200
|
+
├── documents.ts # upload_document, upload_document_from_path, get_document_folders
|
|
201
|
+
└── backoffice.ts # get_workflow, get_outstanding_questions
|
|
194
202
|
|
|
195
203
|
scripts/
|
|
196
204
|
└── test-agent.ts # Agent test harness (Claude + MCP client loop)
|
package/dist/index.js
CHANGED
|
@@ -13,6 +13,8 @@ import { registerInvoiceWriteTools } from './tools/invoices.js';
|
|
|
13
13
|
import { registerJournalWriteTools } from './tools/transactions.js';
|
|
14
14
|
import { registerContactWriteTools } from './tools/relations.js';
|
|
15
15
|
import { registerDocumentTools } from './tools/documents.js';
|
|
16
|
+
// Backoffice tools
|
|
17
|
+
import { registerBackofficeTools } from './tools/backoffice.js';
|
|
16
18
|
// ── Environment validation ────────────────────────────────────────────────────
|
|
17
19
|
const apiKey = process.env['YUKI_API_KEY'];
|
|
18
20
|
const domainId = process.env['YUKI_DOMAIN_ID'] ?? '';
|
|
@@ -40,10 +42,12 @@ registerInvoiceWriteTools(server, yukiClient);
|
|
|
40
42
|
registerJournalWriteTools(server, yukiClient);
|
|
41
43
|
registerContactWriteTools(server, yukiClient);
|
|
42
44
|
registerDocumentTools(server, yukiClient);
|
|
45
|
+
// ── Backoffice tools ──────────────────────────────────────────────────────────
|
|
46
|
+
registerBackofficeTools(server, yukiClient);
|
|
43
47
|
// ── Start ─────────────────────────────────────────────────────────────────────
|
|
44
48
|
const transport = new StdioServerTransport();
|
|
45
49
|
await server.connect(transport);
|
|
46
50
|
// Log startup info to stderr only (stdout is reserved for JSON-RPC)
|
|
47
|
-
process.stderr.write(`[yuki-mcp] Server started —
|
|
51
|
+
process.stderr.write(`[yuki-mcp] Server started — 16 tools registered. ` +
|
|
48
52
|
`Domain ID: ${domainId || '(none — run get_administrations to discover)'}\n`);
|
|
49
53
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,aAAa;AACb,OAAO,EA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,MAAM,EAAE,UAAU,CAAC,CAAC;AAE5C,iFAAiF;AAEjF,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;AAE7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAEhC,oEAAoE;AACpE,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,mDAAmD;IACjD,cAAc,QAAQ,IAAI,8CAA8C,IAAI,CAC/E,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
+
import { YukiClient } from '../yuki-client.js';
|
|
3
|
+
/**
|
|
4
|
+
* Register tools for the Yuki Backoffice service.
|
|
5
|
+
*
|
|
6
|
+
* Backoffice.asmx exposes documents and questions that require manual
|
|
7
|
+
* review by the accountant before they can be processed.
|
|
8
|
+
*
|
|
9
|
+
* Yuki service: Backoffice.asmx
|
|
10
|
+
* Note: uses sessionID / administrationID (uppercase D), same as Accounting.asmx.
|
|
11
|
+
*/
|
|
12
|
+
export declare function registerBackofficeTools(server: McpServer, client: YukiClient): void;
|
|
13
|
+
//# sourceMappingURL=backoffice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backoffice.d.ts","sourceRoot":"","sources":["../../src/tools/backoffice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI,CAiInF"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Register tools for the Yuki Backoffice service.
|
|
4
|
+
*
|
|
5
|
+
* Backoffice.asmx exposes documents and questions that require manual
|
|
6
|
+
* review by the accountant before they can be processed.
|
|
7
|
+
*
|
|
8
|
+
* Yuki service: Backoffice.asmx
|
|
9
|
+
* Note: uses sessionID / administrationID (uppercase D), same as Accounting.asmx.
|
|
10
|
+
*/
|
|
11
|
+
export function registerBackofficeTools(server, client) {
|
|
12
|
+
/**
|
|
13
|
+
* get_workflow
|
|
14
|
+
*
|
|
15
|
+
* Retrieve backoffice workflow items — documents (purchase and sales invoices)
|
|
16
|
+
* that could not be processed automatically and are waiting to be reviewed
|
|
17
|
+
* and booked by the accountant.
|
|
18
|
+
*
|
|
19
|
+
* Rate cost: 1 request.
|
|
20
|
+
*/
|
|
21
|
+
server.registerTool('get_workflow', {
|
|
22
|
+
description: 'Retrieve the Yuki backoffice workflow items for an administration. ' +
|
|
23
|
+
'These are documents (purchase and sales invoices) that could not be processed ' +
|
|
24
|
+
'automatically and are waiting to be reviewed and booked by the accountant.',
|
|
25
|
+
inputSchema: {
|
|
26
|
+
administrationId: z
|
|
27
|
+
.string()
|
|
28
|
+
.optional()
|
|
29
|
+
.describe('Administration ID (GUID). Defaults to YUKI_DOMAIN_ID env var.'),
|
|
30
|
+
},
|
|
31
|
+
}, async ({ administrationId }) => {
|
|
32
|
+
try {
|
|
33
|
+
const adminId = administrationId ?? client.defaultDomainId;
|
|
34
|
+
if (!adminId) {
|
|
35
|
+
throw new Error('administrationId is required (or set YUKI_DOMAIN_ID env var)');
|
|
36
|
+
}
|
|
37
|
+
const sessionID = await client.getSessionID();
|
|
38
|
+
// Backoffice.asmx uses sessionID / administrationID (uppercase D)
|
|
39
|
+
const result = await client.callSoap({
|
|
40
|
+
service: 'Backoffice.asmx',
|
|
41
|
+
method: 'GetWorkflow',
|
|
42
|
+
params: {
|
|
43
|
+
sessionID,
|
|
44
|
+
administrationID: adminId,
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
return {
|
|
48
|
+
content: [
|
|
49
|
+
{
|
|
50
|
+
type: 'text',
|
|
51
|
+
text: JSON.stringify({ success: true, result }, null, 2),
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
catch (err) {
|
|
57
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
58
|
+
return {
|
|
59
|
+
content: [
|
|
60
|
+
{
|
|
61
|
+
type: 'text',
|
|
62
|
+
text: JSON.stringify({ success: false, error: message }, null, 2),
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
isError: true,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* get_outstanding_questions
|
|
71
|
+
*
|
|
72
|
+
* Retrieve outstanding backoffice questions for an administration.
|
|
73
|
+
* These are questions raised by the accountant that require a response
|
|
74
|
+
* before the related documents can be processed.
|
|
75
|
+
*
|
|
76
|
+
* Rate cost: 1 request.
|
|
77
|
+
*/
|
|
78
|
+
server.registerTool('get_outstanding_questions', {
|
|
79
|
+
description: 'Retrieve outstanding backoffice questions for an administration in Yuki. ' +
|
|
80
|
+
'These are questions raised by the accountant that require a response ' +
|
|
81
|
+
'before the related documents can be processed.',
|
|
82
|
+
inputSchema: {
|
|
83
|
+
administrationId: z
|
|
84
|
+
.string()
|
|
85
|
+
.optional()
|
|
86
|
+
.describe('Administration ID (GUID). Defaults to YUKI_DOMAIN_ID env var.'),
|
|
87
|
+
},
|
|
88
|
+
}, async ({ administrationId }) => {
|
|
89
|
+
try {
|
|
90
|
+
const adminId = administrationId ?? client.defaultDomainId;
|
|
91
|
+
if (!adminId) {
|
|
92
|
+
throw new Error('administrationId is required (or set YUKI_DOMAIN_ID env var)');
|
|
93
|
+
}
|
|
94
|
+
const sessionID = await client.getSessionID();
|
|
95
|
+
const result = await client.callSoap({
|
|
96
|
+
service: 'Backoffice.asmx',
|
|
97
|
+
method: 'GetOutstandingQuestions',
|
|
98
|
+
params: {
|
|
99
|
+
sessionID,
|
|
100
|
+
administrationID: adminId,
|
|
101
|
+
},
|
|
102
|
+
});
|
|
103
|
+
return {
|
|
104
|
+
content: [
|
|
105
|
+
{
|
|
106
|
+
type: 'text',
|
|
107
|
+
text: JSON.stringify({ success: true, result }, null, 2),
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
catch (err) {
|
|
113
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
114
|
+
return {
|
|
115
|
+
content: [
|
|
116
|
+
{
|
|
117
|
+
type: 'text',
|
|
118
|
+
text: JSON.stringify({ success: false, error: message }, null, 2),
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
isError: true,
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
//# sourceMappingURL=backoffice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backoffice.js","sourceRoot":"","sources":["../../src/tools/backoffice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;GAQG;AACH,MAAM,UAAU,uBAAuB,CAAC,MAAiB,EAAE,MAAkB;IAC3E;;;;;;;;OAQG;IACH,MAAM,CAAC,YAAY,CACjB,cAAc,EACd;QACE,WAAW,EACT,qEAAqE;YACrE,gFAAgF;YAChF,4EAA4E;QAC9E,WAAW,EAAE;YACX,gBAAgB,EAAE,CAAC;iBAChB,MAAM,EAAE;iBACR,QAAQ,EAAE;iBACV,QAAQ,CAAC,+DAA+D,CAAC;SAC7E;KACF,EACD,KAAK,EAAE,EAAE,gBAAgB,EAAE,EAAE,EAAE;QAC7B,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,gBAAgB,IAAI,MAAM,CAAC,eAAe,CAAC;YAC3D,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,MAAM,IAAI,KAAK,CAAC,8DAA8D,CAAC,CAAC;YAClF,CAAC;YAED,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,YAAY,EAAE,CAAC;YAE9C,kEAAkE;YAClE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CAAC;gBACb,MAAM,IAAI,KAAK,CAAC,8DAA8D,CAAC,CAAC;YAClF,CAAC;YAED,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,YAAY,EAAE,CAAC;YAE9C,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC;gBACnC,OAAO,EAAE,iBAAiB;gBAC1B,MAAM,EAAE,yBAAyB;gBACjC,MAAM,EAAE;oBACN,SAAS;oBACT,gBAAgB,EAAE,OAAO;iBAC1B;aACF,CAAC,CAAC;YAEH,OAAO;gBACL,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,MAAe;wBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;qBACzD;iBACF;aACF,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,OAAO,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YACjE,OAAO;gBACL,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,MAAe;wBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;qBAClE;iBACF;gBACD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemill-solutions/yuki-mcp",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "MCP server for the Yuki accounting SOAP API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@modelcontextprotocol/sdk": "^1.10.1",
|
|
34
34
|
"axios": "^1.7.9",
|
|
35
35
|
"dotenv": "^16.4.7",
|
|
36
|
-
"fast-xml-parser": "^5.5.
|
|
36
|
+
"fast-xml-parser": "^5.5.8",
|
|
37
37
|
"zod": "^3.24.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|