boondmanager-mcp-server 1.5.0 → 1.5.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/LICENSE +200 -21
- package/NOTICE +11 -0
- package/README.md +75 -5
- package/dist/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/dist/prompts/index.d.ts +10 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +207 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/resources/index.d.ts +9 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +90 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/schemas/index.d.ts +219 -64
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +200 -84
- package/dist/schemas/index.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +4 -0
- package/dist/server.js.map +1 -1
- package/dist/services/boond-client.d.ts +15 -0
- package/dist/services/boond-client.d.ts.map +1 -1
- package/dist/services/boond-client.js +77 -4
- package/dist/services/boond-client.js.map +1 -1
- package/dist/tools/candidates.d.ts.map +1 -1
- package/dist/tools/candidates.js +12 -10
- package/dist/tools/candidates.js.map +1 -1
- package/dist/tools/companies.d.ts.map +1 -1
- package/dist/tools/companies.js +15 -12
- package/dist/tools/companies.js.map +1 -1
- package/dist/tools/contacts.d.ts.map +1 -1
- package/dist/tools/contacts.js +15 -12
- package/dist/tools/contacts.js.map +1 -1
- package/dist/tools/opportunities.d.ts.map +1 -1
- package/dist/tools/opportunities.js +12 -9
- package/dist/tools/opportunities.js.map +1 -1
- package/dist/tools/projects.d.ts.map +1 -1
- package/dist/tools/projects.js +12 -9
- package/dist/tools/projects.js.map +1 -1
- package/dist/tools/resources.d.ts.map +1 -1
- package/dist/tools/resources.js +15 -13
- package/dist/tools/resources.js.map +1 -1
- package/manifest.json +3 -3
- package/package.json +7 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,200 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for describing the origin of the Work and
|
|
141
|
+
reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may accept support,
|
|
167
|
+
warranty, indemnity, or other liability obligations and/or rights
|
|
168
|
+
consistent with this License. However, in accepting such obligations,
|
|
169
|
+
You may act only on Your own behalf and on Your sole responsibility,
|
|
170
|
+
not on behalf of any other Contributor, and only if You agree to
|
|
171
|
+
indemnify, defend, and hold each Contributor harmless for any
|
|
172
|
+
liability incurred by, or claims asserted against, such Contributor
|
|
173
|
+
by reason of your accepting any such warranty or additional liability.
|
|
174
|
+
|
|
175
|
+
END OF TERMS AND CONDITIONS
|
|
176
|
+
|
|
177
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
178
|
+
|
|
179
|
+
To apply the Apache License to your work, attach the following
|
|
180
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
181
|
+
replaced with your own identifying information. (Don't include
|
|
182
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
183
|
+
comment syntax for the file format. We also recommend that a
|
|
184
|
+
file or class name and description of purpose be included on the
|
|
185
|
+
same "printed page" as the copyright notice for easier
|
|
186
|
+
identification within third-party archives.
|
|
187
|
+
|
|
188
|
+
Copyright 2025 Frédéric Auguste
|
|
189
|
+
|
|
190
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
191
|
+
you may not use this file except in compliance with the License.
|
|
192
|
+
You may obtain a copy of the License at
|
|
193
|
+
|
|
194
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
195
|
+
|
|
196
|
+
Unless required by applicable law or agreed to in writing, software
|
|
197
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
198
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
199
|
+
See the License for the specific language governing permissions and
|
|
200
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
BoondManager MCP Server
|
|
2
|
+
Copyright 2025 Frédéric Auguste
|
|
3
|
+
|
|
4
|
+
This product includes software developed by Frédéric Auguste
|
|
5
|
+
and contributors to the BoondManager MCP Server project.
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
package/README.md
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
[](https://nodejs.org/)
|
|
8
8
|
[](https://www.typescriptlang.org/)
|
|
9
9
|
[](https://registry.modelcontextprotocol.io/)
|
|
10
|
-
[](https://opensource.org/licenses/Apache-2.0)
|
|
11
11
|
|
|
12
12
|
Serveur MCP (Model Context Protocol) pour l'API BoondManager, permettant a Claude (Desktop, Cowork, Code) de rechercher, consulter, creer et modifier des enregistrements dans votre instance BoondManager.
|
|
13
13
|
|
|
14
|
-
**158 outils** couvrant **36 domaines** de l'API BoondManager.
|
|
14
|
+
**158 outils** couvrant **36 domaines** de l'API BoondManager. Voir [TOOLS.md](./TOOLS.md) pour le catalogue auto-généré (outils + prompts + ressources).
|
|
15
15
|
|
|
16
16
|
## Domaines couverts
|
|
17
17
|
|
|
@@ -103,6 +103,34 @@ Les entites principales disposent d'outils dedies par onglet pour un acces cible
|
|
|
103
103
|
| Opportunites | information, actions, positionings, projects, simulation |
|
|
104
104
|
| Projets | information, actions, simulation, deliveries-groupments, orders, purchases, productivity |
|
|
105
105
|
|
|
106
|
+
## Ressources MCP (dictionnaires)
|
|
107
|
+
|
|
108
|
+
Le serveur expose les dictionnaires de reference Boond comme **ressources MCP** (clients qui en supportent l'affichage : Claude Desktop, MCP Inspector, etc.). Permet au modele de traduire un `state` ou `typeOf` entier en libelle sans appel d'outil supplementaire.
|
|
109
|
+
|
|
110
|
+
| URI | Contenu |
|
|
111
|
+
|-----|---------|
|
|
112
|
+
| `boond://application/current-user` | Profil de l'utilisateur courant (id, agence, permissions) |
|
|
113
|
+
| `boond://dictionary/states/{entity}` | Etats par entite : `resources`, `candidates`, `contacts`, `companies`, `opportunities`, `projects`, `invoices`, `orders`, `positionings`, `absences` |
|
|
114
|
+
| `boond://dictionary/typeOf/{entity}` | Types par entite : `resources`, `candidates`, `contacts`, `projects`, `actions`, `absences` |
|
|
115
|
+
| `boond://dictionary/countries` | Liste des pays |
|
|
116
|
+
| `boond://dictionary/currencies` | Liste des devises |
|
|
117
|
+
| `boond://dictionary/languages` | Liste des langues |
|
|
118
|
+
|
|
119
|
+
Pour les dictionnaires hors de cette liste curee, l'outil `boond_application_dictionary` reste disponible.
|
|
120
|
+
|
|
121
|
+
## Prompts pre-orchestres
|
|
122
|
+
|
|
123
|
+
En plus des outils, le serveur expose des **prompts MCP** (templates pre-cables) qui orchestrent les bons appels d'outils dans le bon ordre pour les workflows recurrents. Visibles dans les clients qui supportent les prompts (slash command ou menu).
|
|
124
|
+
|
|
125
|
+
| Prompt | Usage |
|
|
126
|
+
|--------|-------|
|
|
127
|
+
| `synthese_equipe` | Etat d'une equipe : qui fait quoi, qui est absent, qui est dispo (par defaut : mon equipe). |
|
|
128
|
+
| `pipeline_commercial` | Opportunites avec closing dans une periode : repartition par etat, CA pondere, top 10. |
|
|
129
|
+
| `factures_a_relancer` | Factures impayees dont l'echeance est depassee, regroupees par societe. |
|
|
130
|
+
| `candidats_pour_opportunite` | A partir d'une opportunite, propose les candidats actifs qui matchent (outils, expertise, mobilite, dispo). |
|
|
131
|
+
| `fiche_consultant` | Vue 360 d'une ressource : info + technique + positionnements + absences + CRA recents. |
|
|
132
|
+
| `recap_hebdo` | Recap hebdomadaire : pipeline qui a bouge, equipe absente, projets actifs, actions a mener. |
|
|
133
|
+
|
|
106
134
|
## Prerequis
|
|
107
135
|
|
|
108
136
|
- Node.js >= 20
|
|
@@ -245,6 +273,29 @@ npm install
|
|
|
245
273
|
npm run build
|
|
246
274
|
```
|
|
247
275
|
|
|
276
|
+
### Smithery
|
|
277
|
+
|
|
278
|
+
Le serveur est aussi disponible sur [Smithery](https://smithery.ai/server/@fauguste/boondmanager-mcp-server). La configuration est dans `smithery.yaml` à la racine du repo : Smithery propose une UI avec les champs d'authentification (JWT auto / JWT pré-construit / BasicAuth) et installe le serveur via `npx`.
|
|
279
|
+
|
|
280
|
+
### LobeChat / LobeHub
|
|
281
|
+
|
|
282
|
+
Le serveur est listé sur le [marketplace MCP de LobeHub](https://lobehub.com/mcp/fauguste-boondmanager-mcp-server). Dans LobeChat (auto-hebergé ou cloud), ajouter le MCP via **Reglages > Plugins > MCP > Ajouter** avec :
|
|
283
|
+
|
|
284
|
+
```json
|
|
285
|
+
{
|
|
286
|
+
"name": "boondmanager",
|
|
287
|
+
"command": "npx",
|
|
288
|
+
"args": ["-y", "boondmanager-mcp-server"],
|
|
289
|
+
"env": {
|
|
290
|
+
"BOOND_USER_TOKEN": "<votre_user_token>",
|
|
291
|
+
"BOOND_CLIENT_TOKEN": "<votre_client_token>",
|
|
292
|
+
"BOOND_CLIENT_KEY": "<votre_client_key>"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
Ou utiliser le transport HTTP (voir section [Transports](#transports)) pour un deploiement partage en mode gateway.
|
|
298
|
+
|
|
248
299
|
## Configuration
|
|
249
300
|
|
|
250
301
|
### Authentification
|
|
@@ -353,7 +404,22 @@ claude mcp add --transport http \
|
|
|
353
404
|
}
|
|
354
405
|
```
|
|
355
406
|
|
|
356
|
-
#### Exemple : Docker
|
|
407
|
+
#### Exemple : Docker (image officielle GHCR)
|
|
408
|
+
|
|
409
|
+
Une image Docker prete a l'emploi est publiee a chaque release sur GitHub Container Registry, multi-arch (`linux/amd64` + `linux/arm64`). Elle demarre par defaut en transport HTTP, sur le port 3000, sur l'interface `0.0.0.0`.
|
|
410
|
+
|
|
411
|
+
```bash
|
|
412
|
+
docker run --rm -p 3000:3000 \
|
|
413
|
+
-e MCP_HTTP_BEARER_TOKEN=$(openssl rand -hex 32) \
|
|
414
|
+
-e BOOND_API_TOKEN=$BOOND_API_TOKEN \
|
|
415
|
+
ghcr.io/fauguste/boondmanager-mcp-server:latest
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
Tags disponibles : `:latest`, `:1`, `:1.5`, `:1.5.1` (la version exacte est recommandee pour la prod). Variables d'environnement supportees : voir [Configuration](#configuration) et [Transports](#transports).
|
|
419
|
+
|
|
420
|
+
#### Exemple : Docker (image ad-hoc via npx)
|
|
421
|
+
|
|
422
|
+
Si vous preferez ne pas utiliser l'image GHCR, le serveur peut tourner dans une image Node generique :
|
|
357
423
|
|
|
358
424
|
```bash
|
|
359
425
|
docker run --rm -p 3000:3000 \
|
|
@@ -361,7 +427,7 @@ docker run --rm -p 3000:3000 \
|
|
|
361
427
|
-e MCP_HTTP_HOST=0.0.0.0 \
|
|
362
428
|
-e MCP_HTTP_BEARER_TOKEN=$(openssl rand -hex 32) \
|
|
363
429
|
-e BOOND_API_TOKEN=$BOOND_API_TOKEN \
|
|
364
|
-
node:
|
|
430
|
+
node:22-alpine \
|
|
365
431
|
npx -y boondmanager-mcp-server
|
|
366
432
|
```
|
|
367
433
|
|
|
@@ -518,7 +584,11 @@ npm run typecheck
|
|
|
518
584
|
- [Collection Postman BoondManager](https://www.postman.com/boondmanager)
|
|
519
585
|
- [Specification MCP](https://modelcontextprotocol.io/)
|
|
520
586
|
- [pyboondmanager (reference Python)](https://github.com/tominardi/pyboondmanager)
|
|
587
|
+
- [Catalogue d'outils auto-genere (TOOLS.md)](./TOOLS.md)
|
|
588
|
+
- [Distribution & marketplaces (docs/distribution.md)](./docs/distribution.md)
|
|
521
589
|
|
|
522
590
|
## Licence
|
|
523
591
|
|
|
524
|
-
|
|
592
|
+
Apache License 2.0 - Copyright (c) 2025 Frédéric Auguste
|
|
593
|
+
|
|
594
|
+
Voir [LICENSE](./LICENSE) et [NOTICE](./NOTICE) pour les détails.
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const DEFAULT_BASE_URL = "https://ui.boondmanager.com/api";
|
|
2
2
|
export declare const CHARACTER_LIMIT = 50000;
|
|
3
|
-
export declare const DEFAULT_PAGE_SIZE =
|
|
4
|
-
export declare const MAX_PAGE_SIZE =
|
|
3
|
+
export declare const DEFAULT_PAGE_SIZE = 30;
|
|
4
|
+
export declare const MAX_PAGE_SIZE = 500;
|
|
5
5
|
export declare const API_PATHS: {
|
|
6
6
|
readonly candidates: "/candidates";
|
|
7
7
|
readonly resources: "/resources";
|
package/dist/constants.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// BoondManager API constants
|
|
2
2
|
export const DEFAULT_BASE_URL = "https://ui.boondmanager.com/api";
|
|
3
3
|
export const CHARACTER_LIMIT = 50000;
|
|
4
|
-
export const DEFAULT_PAGE_SIZE =
|
|
5
|
-
export const MAX_PAGE_SIZE =
|
|
4
|
+
export const DEFAULT_PAGE_SIZE = 30;
|
|
5
|
+
export const MAX_PAGE_SIZE = 500;
|
|
6
6
|
// API paths
|
|
7
7
|
export const API_PATHS = {
|
|
8
8
|
candidates: "/candidates",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
+
export declare function registerAllPrompts(server: McpServer): void;
|
|
3
|
+
/** Exposed for tests so we can assert names/coverage without instantiating a server. */
|
|
4
|
+
export declare const REGISTERED_PROMPTS: {
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
argKeys: string[];
|
|
9
|
+
}[];
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AA8NzE,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAY1D;AAED,wFAAwF;AACxF,eAAO,MAAM,kBAAkB;;;;;GAK5B,CAAC"}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Pre-orchestrated MCP prompts for the most common Boond workflows.
|
|
4
|
+
*
|
|
5
|
+
* Why: the search tools alone require the LLM to discover the right filter
|
|
6
|
+
* combination on its own — it works, but it costs tokens and a few wrong
|
|
7
|
+
* turns. A prompt names the goal ("synthese_equipe", "pipeline_commercial",
|
|
8
|
+
* …) and embeds the exact tool sequence + filter names the model should
|
|
9
|
+
* use. From the user's perspective it's a single command instead of a
|
|
10
|
+
* multi-turn conversation.
|
|
11
|
+
*
|
|
12
|
+
* Each prompt resolves to a user message. We deliberately do NOT execute
|
|
13
|
+
* the tools server-side here — the LLM still drives, the prompt just gives
|
|
14
|
+
* it the runbook. This keeps the LLM in control of error handling and
|
|
15
|
+
* follow-up questions.
|
|
16
|
+
*/
|
|
17
|
+
const userMessage = (text) => ({
|
|
18
|
+
messages: [
|
|
19
|
+
{ role: "user", content: { type: "text", text } },
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
const PROMPTS = [
|
|
23
|
+
{
|
|
24
|
+
name: "synthese_equipe",
|
|
25
|
+
title: "Synthèse d'une équipe",
|
|
26
|
+
description: "Produit un état d'équipe : qui est sur quoi, qui est absent, qui est disponible. "
|
|
27
|
+
+ "Si manager_id est omis, utilise l'utilisateur courant comme manager.",
|
|
28
|
+
argsSchema: {
|
|
29
|
+
manager_id: z.string().optional().describe("ID du manager (ressource Boond). Si absent, l'outil `boond_application_current_user` doit être appelé pour le récupérer."),
|
|
30
|
+
periode: z.string().optional().describe("Période d'analyse libre (ex: 'cette semaine', 'avril 2026'). Défaut: mois en cours."),
|
|
31
|
+
},
|
|
32
|
+
build: ({ manager_id, periode }) => {
|
|
33
|
+
const periodeText = periode || "le mois en cours";
|
|
34
|
+
const managerStep = manager_id
|
|
35
|
+
? `Le manager ciblé est l'ID ${manager_id}.`
|
|
36
|
+
: "Commence par appeler `boond_application_current_user` pour obtenir mon ID utilisateur, puis utilise-le comme `manager_id`.";
|
|
37
|
+
return [
|
|
38
|
+
`Produis une synthèse de l'équipe pour ${periodeText}.`,
|
|
39
|
+
"",
|
|
40
|
+
managerStep,
|
|
41
|
+
"",
|
|
42
|
+
"Étapes :",
|
|
43
|
+
"1. Lister les membres de l'équipe : `boond_resources_search` avec `perimeterManagers: [<manager_id>]` et `resourceStates` pour ne garder que les actifs (récupère les états valides via `boond_application_dictionary` avec `setting.state.resource` si besoin).",
|
|
44
|
+
"2. Pour chaque ressource retournée, récupérer en parallèle :",
|
|
45
|
+
" - `boond_resources_positionings` (qui est sur quel projet)",
|
|
46
|
+
" - `boond_resources_absences_reports` (absences validées/à venir)",
|
|
47
|
+
" - `boond_resources_times_reports` (CRA récent, pour confirmer l'occupation)",
|
|
48
|
+
"3. Synthétiser un tableau par personne : nom, projet courant, % occupation, absences sur la période, disponibilité.",
|
|
49
|
+
"4. Conclure par les signaux faibles (sur-/sous-charge, absences non couvertes, ressources sans positionnement).",
|
|
50
|
+
].join("\n");
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: "pipeline_commercial",
|
|
55
|
+
title: "Pipeline commercial sur une période",
|
|
56
|
+
description: "Analyse les opportunités commerciales avec closing prévu dans la période donnée : "
|
|
57
|
+
+ "répartition par état, CA pondéré, top opportunités.",
|
|
58
|
+
argsSchema: {
|
|
59
|
+
date_debut: z.string().describe("Début de période (YYYY-MM-DD)."),
|
|
60
|
+
date_fin: z.string().describe("Fin de période (YYYY-MM-DD)."),
|
|
61
|
+
manager_id: z.string().optional().describe("ID du commercial. Si absent, scope = équipe de l'utilisateur courant via `perimeterDynamic: ['data']`."),
|
|
62
|
+
},
|
|
63
|
+
build: ({ date_debut, date_fin, manager_id }) => {
|
|
64
|
+
const scopeFilter = manager_id
|
|
65
|
+
? `\`perimeterManagers: [${manager_id}]\``
|
|
66
|
+
: "`perimeterDynamic: ['data']` (mes opportunités)";
|
|
67
|
+
return [
|
|
68
|
+
`Analyse mon pipeline commercial avec closing entre ${date_debut} et ${date_fin}.`,
|
|
69
|
+
"",
|
|
70
|
+
`Périmètre : ${scopeFilter}.`,
|
|
71
|
+
"",
|
|
72
|
+
"Étapes :",
|
|
73
|
+
"1. Appeler `boond_opportunities_search` avec :",
|
|
74
|
+
` - \`period: "closingDate"\``,
|
|
75
|
+
` - \`startDate: "${date_debut}"\`, \`endDate: "${date_fin}"\``,
|
|
76
|
+
` - ${scopeFilter}`,
|
|
77
|
+
" - `pageSize: 100`",
|
|
78
|
+
"2. Si plus de 100 résultats, paginer via `page`.",
|
|
79
|
+
"3. Récupérer le dictionnaire des états via `boond_application_dictionary` avec `setting.state.opportunity` pour traduire les ID en libellés.",
|
|
80
|
+
"4. Restituer :",
|
|
81
|
+
" - Nombre total d'opportunités, par état",
|
|
82
|
+
" - CA pondéré total (somme de `turnoverWeightedExcludingTax`)",
|
|
83
|
+
" - Top 10 par montant pondéré, avec société/contact/closingDate",
|
|
84
|
+
" - Risques : opportunités dont la closingDate est passée mais qui ne sont pas encore en état Gagnée/Perdue.",
|
|
85
|
+
].join("\n");
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "factures_a_relancer",
|
|
90
|
+
title: "Factures impayées à relancer",
|
|
91
|
+
description: "Liste les factures impayées avec date d'échéance dépassée, regroupées par société. "
|
|
92
|
+
+ "Optionnellement filtrable sur une société spécifique.",
|
|
93
|
+
argsSchema: {
|
|
94
|
+
society_id: z.string().optional().describe("ID d'une société pour cibler la relance."),
|
|
95
|
+
},
|
|
96
|
+
build: ({ society_id }) => {
|
|
97
|
+
return [
|
|
98
|
+
"Identifie les factures à relancer (impayées dont l'échéance est dépassée).",
|
|
99
|
+
"",
|
|
100
|
+
"Étapes :",
|
|
101
|
+
"1. Appeler `boond_invoices_search` :",
|
|
102
|
+
society_id ? ` - \`companyId: "${society_id}"\`` : " - sans filtre société (toutes les factures du périmètre courant)",
|
|
103
|
+
" - `pageSize: 100`",
|
|
104
|
+
"2. Récupérer le dictionnaire `setting.state.invoice` via `boond_application_dictionary` pour identifier les états « payée » / « partiellement payée » / etc.",
|
|
105
|
+
"3. Filtrer côté agent : ne conserver que les factures dont l'état n'est PAS « payée » ET dont la `dueDate` est strictement antérieure à aujourd'hui.",
|
|
106
|
+
"4. Pour chaque facture retenue, récupérer le détail via `boond_invoices_get` si nécessaire pour obtenir le contact/email de relance.",
|
|
107
|
+
"5. Restituer un tableau groupé par société : société | nombre de factures impayées | total HT impayé | facture la plus ancienne (référence + jours de retard) | contact à relancer.",
|
|
108
|
+
"6. Ajouter une ligne « Total » en bas.",
|
|
109
|
+
].join("\n");
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "candidats_pour_opportunite",
|
|
114
|
+
title: "Candidats correspondant à une opportunité",
|
|
115
|
+
description: "À partir d'une opportunité (ses outils, expertise, mobilité), trouve les candidats actifs qui matchent.",
|
|
116
|
+
argsSchema: {
|
|
117
|
+
opportunity_id: z.string().describe("ID de l'opportunité à pourvoir."),
|
|
118
|
+
},
|
|
119
|
+
build: ({ opportunity_id }) => {
|
|
120
|
+
return [
|
|
121
|
+
`Identifie les candidats qui matchent l'opportunité ${opportunity_id}.`,
|
|
122
|
+
"",
|
|
123
|
+
"Étapes :",
|
|
124
|
+
`1. Récupérer le détail de l'opportunité : \`boond_opportunities_get(id="${opportunity_id}")\` puis l'onglet \`information\` pour les attributs détaillés.`,
|
|
125
|
+
"2. Extraire les critères : `tools`, `expertiseAreas`, `activityAreas`, `places` (mobilité), `durations`, `startDate`/`endDate`.",
|
|
126
|
+
"3. Appeler `boond_candidates_search` avec :",
|
|
127
|
+
" - les `tools` extraits (logique OU par défaut ; si l'opportunité est très exigeante, repasser avec `[\"#AND#\", ...]` pour exiger toutes les compétences)",
|
|
128
|
+
" - `expertiseAreas` correspondants",
|
|
129
|
+
" - `mobilityAreas` matchant le lieu",
|
|
130
|
+
" - `candidateStates` actifs uniquement (consulter `setting.state.candidate` via `boond_application_dictionary`)",
|
|
131
|
+
" - `period: \"available\"` + `startDate`/`endDate` calés sur la mission, pour ne garder que les candidats disponibles",
|
|
132
|
+
" - `pageSize: 50`",
|
|
133
|
+
"4. Pour les top 20 candidats retournés, récupérer `boond_candidates_technical_data` pour vérifier l'adéquation fine.",
|
|
134
|
+
"5. Restituer un classement : nom | titre | dispo | note d'adéquation (sur 10) avec justification 1 ligne.",
|
|
135
|
+
].join("\n");
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: "fiche_consultant",
|
|
140
|
+
title: "Fiche complète d'un collaborateur",
|
|
141
|
+
description: "Vue 360° d'une ressource : info, profil technique, positionnements, absences, CRA récents.",
|
|
142
|
+
argsSchema: {
|
|
143
|
+
resource_id: z.string().describe("ID de la ressource."),
|
|
144
|
+
},
|
|
145
|
+
build: ({ resource_id }) => {
|
|
146
|
+
return [
|
|
147
|
+
`Produis la fiche complète de la ressource ${resource_id}.`,
|
|
148
|
+
"",
|
|
149
|
+
"Étapes (à exécuter en parallèle quand possible) :",
|
|
150
|
+
`1. \`boond_resources_information(id="${resource_id}")\` — coordonnées et état civil`,
|
|
151
|
+
`2. \`boond_resources_technical_data(id="${resource_id}")\` — compétences, formations, langues, CV`,
|
|
152
|
+
`3. \`boond_resources_administrative(id="${resource_id}")\` — données RH (TJM, salaire, contrat) si autorisé`,
|
|
153
|
+
`4. \`boond_resources_positionings(id="${resource_id}")\` — positionnements actifs et historiques`,
|
|
154
|
+
`5. \`boond_resources_projects(id="${resource_id}")\` — projets passés/en cours`,
|
|
155
|
+
`6. \`boond_resources_absences_reports(id="${resource_id}")\` — absences à venir et passées récentes`,
|
|
156
|
+
`7. \`boond_resources_times_reports(id="${resource_id}")\` — CRA des 3 derniers mois`,
|
|
157
|
+
"",
|
|
158
|
+
"Restitution : un document structuré en sections (Identité / Profil technique / Mission actuelle / Historique projets / Disponibilité / RH si pertinent). Mettre en évidence : projet courant, prochaine date de fin de mission, prochaine absence, taux d'occupation moyen sur 3 mois.",
|
|
159
|
+
].join("\n");
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: "recap_hebdo",
|
|
164
|
+
title: "Récap hebdomadaire (moi + mon équipe)",
|
|
165
|
+
description: "Compile en une vue ce qui s'est passé / va se passer cette semaine pour moi et mon équipe : opportunités, projets, absences, CRA.",
|
|
166
|
+
argsSchema: {
|
|
167
|
+
semaine: z.string().optional().describe("Semaine ciblée (ex: 'cette semaine', 'la semaine prochaine'). Défaut: cette semaine."),
|
|
168
|
+
},
|
|
169
|
+
build: ({ semaine }) => {
|
|
170
|
+
const semaineText = semaine || "cette semaine";
|
|
171
|
+
return [
|
|
172
|
+
`Produis mon récap pour ${semaineText}.`,
|
|
173
|
+
"",
|
|
174
|
+
"Étapes :",
|
|
175
|
+
"1. `boond_application_current_user` pour récupérer mon ID.",
|
|
176
|
+
"2. En parallèle :",
|
|
177
|
+
" a. `boond_opportunities_search` avec `perimeterDynamic: ['data']`, `period: 'updated'` + dates de la semaine — opportunités touchées cette semaine.",
|
|
178
|
+
" b. `boond_resources_search` avec `perimeterDynamic: ['managers']` — mon équipe (mes N-1).",
|
|
179
|
+
" c. Pour chaque membre d'équipe : `boond_resources_absences_reports` filtré sur la semaine.",
|
|
180
|
+
" d. `boond_projects_search` avec `perimeterDynamic: ['data']` et `period: 'running'` + dates de la semaine — mes projets actifs.",
|
|
181
|
+
"3. Récupérer `setting.state.opportunity` et `setting.state.project` via `boond_application_dictionary` pour libeller les états.",
|
|
182
|
+
"4. Restituer en 4 sections :",
|
|
183
|
+
" - **Pipeline** : opps qui ont bougé (nouvelles, état changé, closing imminent)",
|
|
184
|
+
" - **Équipe** : qui est absent cette semaine, qui termine sa mission",
|
|
185
|
+
" - **Projets** : projets actifs, dont ceux qui s'arrêtent ou démarrent dans la semaine",
|
|
186
|
+
" - **Actions à mener** : 3-5 puces concrètes (relances, validations, repositionnements)",
|
|
187
|
+
].join("\n");
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
];
|
|
191
|
+
export function registerAllPrompts(server) {
|
|
192
|
+
for (const p of PROMPTS) {
|
|
193
|
+
server.registerPrompt(p.name, {
|
|
194
|
+
title: p.title,
|
|
195
|
+
description: p.description,
|
|
196
|
+
argsSchema: p.argsSchema,
|
|
197
|
+
}, async (args) => userMessage(p.build((args ?? {}))));
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
/** Exposed for tests so we can assert names/coverage without instantiating a server. */
|
|
201
|
+
export const REGISTERED_PROMPTS = PROMPTS.map((p) => ({
|
|
202
|
+
name: p.name,
|
|
203
|
+
title: p.title,
|
|
204
|
+
description: p.description,
|
|
205
|
+
argKeys: Object.keys(p.argsSchema),
|
|
206
|
+
}));
|
|
207
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","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CAAC,EAAE,EAAE,CAAC,CAAC;IACpD,IAAI,EAAE,CAAC,CAAC,IAAI;IACZ,KAAK,EAAE,CAAC,CAAC,KAAK;IACd,WAAW,EAAE,CAAC,CAAC,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC;CACnC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
+
/** Exposed for tests; lets us assert the catalog without booting a server. */
|
|
3
|
+
export declare const REGISTERED_RESOURCES: {
|
|
4
|
+
name: string;
|
|
5
|
+
uri: string;
|
|
6
|
+
title: string;
|
|
7
|
+
}[];
|
|
8
|
+
export declare function registerAllResources(server: McpServer): void;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAsEzE,8EAA8E;AAC9E,eAAO,MAAM,oBAAoB;;;;GAOhC,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAsD5D"}
|