@lemonbeijing/lemonclaw-mcp-service 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,37 +1,38 @@
1
- # LemonClaw MCP Service
2
-
3
- Local STDIO MCP adapter for the existing LemonClaw CLI and portable Runtime. It does not copy business actions or move authentication/account state: the MCP process runs as the current operating-system user and reuses the same Runtime, token store, account context, documents, downloads, and local invoice files.
4
-
5
- Requires Node.js 20 or newer. The packaged LemonClaw CLI dependency installs and updates the portable Runtime through its existing launcher lifecycle.
6
-
7
- ## Run from this repository
8
-
9
- ```text
10
- npm install
11
- node bin/lemonclaw-mcp.js
12
- ```
13
-
14
- Example MCP host configuration:
15
-
16
- ```json
17
- {
18
- "mcpServers": {
19
- "lemonclaw": {
20
- "type": "stdio",
21
- "command": "node",
22
- "args": ["D:/VSProject/lemonscmskills/mcp-service/bin/lemonclaw-mcp.js"]
23
- }
24
- }
25
- }
26
- ```
27
-
28
- After publication, the command can be changed to `npx -y @lemonbeijing/lemonclaw-mcp-service`.
29
-
30
- ## Tool groups
31
-
32
- - Authentication: `lemon_auth_status`, `lemon_auth_save_api_key`, `lemon_auth_clear`
33
- - Account context: `lemon_account_current`, `lemon_account_list`, `lemon_account_switch`, `lemon_account_select`, `lemon_account_clear`
34
- - ACC/SCM/ERP actions: `lemon_action_search`, `lemon_action_show`, `lemon_action_read_doc`, `lemon_action_run`
35
- - Independent invoicing: `lemon_invoice_read_doc`, `lemon_invoice_api`, `lemon_invoice_run_helper`
36
-
37
- `stdout` is reserved for MCP JSON-RPC. CLI and Runtime output is captured and returned as MCP Tool content; service diagnostics use `stderr` only.
1
+ # LemonClaw MCP Service
2
+
3
+ Local STDIO MCP service for the LemonClaw portable Runtime. The MCP package embeds the shared Runtime manager and starts Runtime Python directly; it does not install, resolve, or execute the WorkBuddy Launcher package.
4
+
5
+ Requires Node.js 20 or newer. Runtime is installed or periodically updated on the first relevant tool call. The MCP service and WorkBuddy Launcher share `~/.lemonclaw-cli`, including the runtime pointer, installation lock, authentication, account context, documents, downloads, and invoice files.
6
+
7
+ ## Run from this repository
8
+
9
+ ```text
10
+ npm install
11
+ npm run build
12
+ node dist/lemonclaw-mcp.cjs
13
+ ```
14
+
15
+ Example MCP host configuration:
16
+
17
+ ```json
18
+ {
19
+ "mcpServers": {
20
+ "lemonclaw": {
21
+ "type": "stdio",
22
+ "command": "node",
23
+ "args": ["D:/VSProject/lemonscmskills/mcp-service/dist/lemonclaw-mcp.cjs"]
24
+ }
25
+ }
26
+ }
27
+ ```
28
+
29
+ After publication, use `npx --yes --prefer-online @lemonbeijing/lemonclaw-mcp-service@latest`. `npx` refreshes the MCP service when the host reconnects or restarts it; Runtime updates remain independent.
30
+
31
+ ## Tool groups
32
+
33
+ - Authentication: `lemon_auth_status`, `lemon_auth_save_api_key`, `lemon_auth_clear`
34
+ - Account context: `lemon_account_current`, `lemon_account_list`, `lemon_account_switch`, `lemon_account_select`, `lemon_account_clear`
35
+ - ACC/SCM/ERP actions: `lemon_action_search`, `lemon_action_show`, `lemon_action_read_doc`, `lemon_action_run`
36
+ - Independent invoicing: `lemon_invoice_read_doc`, `lemon_invoice_api`, `lemon_invoice_run_helper`
37
+
38
+ `stdout` is reserved for MCP JSON-RPC. CLI and Runtime output is captured and returned as MCP Tool content; service diagnostics use `stderr` only.
@@ -0,0 +1,304 @@
1
+ Third-party software bundled in @lemonbeijing/lemonclaw-mcp-service
2
+
3
+ The packages below are compiled into the MCP service bundle and are not installed as runtime dependencies.
4
+
5
+ ===============================================================================
6
+ tar 7.5.21 (BlueOak-1.0.0)
7
+ ===============================================================================
8
+ # Blue Oak Model License
9
+
10
+ Version 1.0.0
11
+
12
+ ## Purpose
13
+
14
+ This license gives everyone as much permission to work with
15
+ this software as possible, while protecting contributors
16
+ from liability.
17
+
18
+ ## Acceptance
19
+
20
+ In order to receive this license, you must agree to its
21
+ rules. The rules of this license are both obligations
22
+ under that agreement and conditions to your license.
23
+ You must not do anything with this software that triggers
24
+ a rule that you cannot or will not follow.
25
+
26
+ ## Copyright
27
+
28
+ Each contributor licenses you to do everything with this
29
+ software that would otherwise infringe that contributor's
30
+ copyright in it.
31
+
32
+ ## Notices
33
+
34
+ You must ensure that everyone who gets a copy of
35
+ any part of this software from you, with or without
36
+ changes, also gets the text of this license or a link to
37
+ <https://blueoakcouncil.org/license/1.0.0>.
38
+
39
+ ## Excuse
40
+
41
+ If anyone notifies you in writing that you have not
42
+ complied with [Notices](#notices), you can keep your
43
+ license by taking all practical steps to comply within 30
44
+ days after the notice. If you do not do so, your license
45
+ ends immediately.
46
+
47
+ ## Patent
48
+
49
+ Each contributor licenses you to do everything with this
50
+ software that would otherwise infringe any patent claims
51
+ they can license or become able to license.
52
+
53
+ ## Reliability
54
+
55
+ No contributor can revoke this license.
56
+
57
+ ## No Liability
58
+
59
+ ***As far as the law allows, this software comes as is,
60
+ without any warranty or condition, and no contributor
61
+ will be liable to anyone for any damages related to this
62
+ software or this license, under any kind of legal claim.***
63
+
64
+ ===============================================================================
65
+ @isaacs/fs-minipass 4.0.1 (ISC)
66
+ ===============================================================================
67
+ The ISC License
68
+
69
+ Copyright (c) Isaac Z. Schlueter and Contributors
70
+
71
+ Permission to use, copy, modify, and/or distribute this software for any
72
+ purpose with or without fee is hereby granted, provided that the above
73
+ copyright notice and this permission notice appear in all copies.
74
+
75
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
76
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
77
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
78
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
79
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
80
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
81
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
82
+
83
+ ===============================================================================
84
+ chownr 3.0.0 (BlueOak-1.0.0)
85
+ ===============================================================================
86
+ All packages under `src/` are licensed according to the terms in
87
+ their respective `LICENSE` or `LICENSE.md` files.
88
+
89
+ The remainder of this project is licensed under the Blue Oak
90
+ Model License, as follows:
91
+
92
+ -----
93
+
94
+ # Blue Oak Model License
95
+
96
+ Version 1.0.0
97
+
98
+ ## Purpose
99
+
100
+ This license gives everyone as much permission to work with
101
+ this software as possible, while protecting contributors
102
+ from liability.
103
+
104
+ ## Acceptance
105
+
106
+ In order to receive this license, you must agree to its
107
+ rules. The rules of this license are both obligations
108
+ under that agreement and conditions to your license.
109
+ You must not do anything with this software that triggers
110
+ a rule that you cannot or will not follow.
111
+
112
+ ## Copyright
113
+
114
+ Each contributor licenses you to do everything with this
115
+ software that would otherwise infringe that contributor's
116
+ copyright in it.
117
+
118
+ ## Notices
119
+
120
+ You must ensure that everyone who gets a copy of
121
+ any part of this software from you, with or without
122
+ changes, also gets the text of this license or a link to
123
+ <https://blueoakcouncil.org/license/1.0.0>.
124
+
125
+ ## Excuse
126
+
127
+ If anyone notifies you in writing that you have not
128
+ complied with [Notices](#notices), you can keep your
129
+ license by taking all practical steps to comply within 30
130
+ days after the notice. If you do not do so, your license
131
+ ends immediately.
132
+
133
+ ## Patent
134
+
135
+ Each contributor licenses you to do everything with this
136
+ software that would otherwise infringe any patent claims
137
+ they can license or become able to license.
138
+
139
+ ## Reliability
140
+
141
+ No contributor can revoke this license.
142
+
143
+ ## No Liability
144
+
145
+ ***As far as the law allows, this software comes as is,
146
+ without any warranty or condition, and no contributor
147
+ will be liable to anyone for any damages related to this
148
+ software or this license, under any kind of legal claim.***
149
+
150
+ ===============================================================================
151
+ minipass 7.1.3 (BlueOak-1.0.0)
152
+ ===============================================================================
153
+ # Blue Oak Model License
154
+
155
+ Version 1.0.0
156
+
157
+ ## Purpose
158
+
159
+ This license gives everyone as much permission to work with
160
+ this software as possible, while protecting contributors
161
+ from liability.
162
+
163
+ ## Acceptance
164
+
165
+ In order to receive this license, you must agree to its
166
+ rules. The rules of this license are both obligations
167
+ under that agreement and conditions to your license.
168
+ You must not do anything with this software that triggers
169
+ a rule that you cannot or will not follow.
170
+
171
+ ## Copyright
172
+
173
+ Each contributor licenses you to do everything with this
174
+ software that would otherwise infringe that contributor's
175
+ copyright in it.
176
+
177
+ ## Notices
178
+
179
+ You must ensure that everyone who gets a copy of
180
+ any part of this software from you, with or without
181
+ changes, also gets the text of this license or a link to
182
+ <https://blueoakcouncil.org/license/1.0.0>.
183
+
184
+ ## Excuse
185
+
186
+ If anyone notifies you in writing that you have not
187
+ complied with [Notices](#notices), you can keep your
188
+ license by taking all practical steps to comply within 30
189
+ days after the notice. If you do not do so, your license
190
+ ends immediately.
191
+
192
+ ## Patent
193
+
194
+ Each contributor licenses you to do everything with this
195
+ software that would otherwise infringe any patent claims
196
+ they can license or become able to license.
197
+
198
+ ## Reliability
199
+
200
+ No contributor can revoke this license.
201
+
202
+ ## No Liability
203
+
204
+ ***As far as the law allows, this software comes as is,
205
+ without any warranty or condition, and no contributor
206
+ will be liable to anyone for any damages related to this
207
+ software or this license, under any kind of legal claim.***
208
+
209
+ ===============================================================================
210
+ minizlib 3.1.0 (MIT)
211
+ ===============================================================================
212
+ Minizlib was created by Isaac Z. Schlueter.
213
+ It is a derivative work of the Node.js project.
214
+
215
+ """
216
+ Copyright (c) 2017-2023 Isaac Z. Schlueter and Contributors
217
+ Copyright (c) 2017-2023 Node.js contributors. All rights reserved.
218
+ Copyright (c) 2017-2023 Joyent, Inc. and other Node contributors. All rights reserved.
219
+
220
+ Permission is hereby granted, free of charge, to any person obtaining a
221
+ copy of this software and associated documentation files (the "Software"),
222
+ to deal in the Software without restriction, including without limitation
223
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
224
+ and/or sell copies of the Software, and to permit persons to whom the
225
+ Software is furnished to do so, subject to the following conditions:
226
+
227
+ The above copyright notice and this permission notice shall be included in
228
+ all copies or substantial portions of the Software.
229
+
230
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
231
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
232
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
233
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
234
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
235
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
236
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
237
+ """
238
+
239
+ ===============================================================================
240
+ yallist 5.0.0 (BlueOak-1.0.0)
241
+ ===============================================================================
242
+ All packages under `src/` are licensed according to the terms in
243
+ their respective `LICENSE` or `LICENSE.md` files.
244
+
245
+ The remainder of this project is licensed under the Blue Oak
246
+ Model License, as follows:
247
+
248
+ -----
249
+
250
+ # Blue Oak Model License
251
+
252
+ Version 1.0.0
253
+
254
+ ## Purpose
255
+
256
+ This license gives everyone as much permission to work with
257
+ this software as possible, while protecting contributors
258
+ from liability.
259
+
260
+ ## Acceptance
261
+
262
+ In order to receive this license, you must agree to its
263
+ rules. The rules of this license are both obligations
264
+ under that agreement and conditions to your license.
265
+ You must not do anything with this software that triggers
266
+ a rule that you cannot or will not follow.
267
+
268
+ ## Copyright
269
+
270
+ Each contributor licenses you to do everything with this
271
+ software that would otherwise infringe that contributor's
272
+ copyright in it.
273
+
274
+ ## Notices
275
+
276
+ You must ensure that everyone who gets a copy of
277
+ any part of this software from you, with or without
278
+ changes, also gets the text of this license or a link to
279
+ <https://blueoakcouncil.org/license/1.0.0>.
280
+
281
+ ## Excuse
282
+
283
+ If anyone notifies you in writing that you have not
284
+ complied with [Notices](#notices), you can keep your
285
+ license by taking all practical steps to comply within 30
286
+ days after the notice. If you do not do so, your license
287
+ ends immediately.
288
+
289
+ ## Patent
290
+
291
+ Each contributor licenses you to do everything with this
292
+ software that would otherwise infringe any patent claims
293
+ they can license or become able to license.
294
+
295
+ ## Reliability
296
+
297
+ No contributor can revoke this license.
298
+
299
+ ## No Liability
300
+
301
+ ***As far as the law allows, this software comes as is,
302
+ without any warranty or condition, and no contributor
303
+ will be liable to anyone for any damages related to this
304
+ software or this license, under any kind of legal claim.***