@vantageos/mcp-boilerplate 0.7.0 → 0.8.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/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +12 -0
- package/README.fr.md +49 -5
- package/README.md +48 -5
- package/dist/build-info.json +1 -0
- package/dist/buildIdentity.d.ts +16 -0
- package/dist/buildIdentity.js +39 -0
- package/dist/embedded.generated.d.ts +225 -0
- package/dist/embedded.generated.js +8 -0
- package/dist/http.js +5 -3
- package/dist/httpApp.d.ts +6 -0
- package/dist/httpApp.js +64 -7
- package/dist/i18n.js +6 -16
- package/dist/landingPage.d.ts +24 -0
- package/dist/landingPage.js +109 -0
- package/dist/mcpServerFactory.d.ts +11 -0
- package/dist/mcpServerFactory.js +28 -7
- package/dist/servedToolRecords.d.ts +6 -0
- package/dist/servedToolRecords.js +11 -1
- package/dist/serverCard.d.ts +68 -0
- package/dist/serverCard.js +68 -0
- package/dist/serverIcon.d.ts +17 -0
- package/dist/serverIcon.js +26 -0
- package/dist/serverIdentity.d.ts +83 -0
- package/dist/serverIdentity.js +130 -0
- package/dist/ui/uiResource.d.ts +14 -1
- package/dist/ui/uiResource.js +11 -1
- package/dist/version.js +6 -5
- package/docs/manufact-gap.md +200 -0
- package/mcp-server.json +1 -1
- package/package.json +3 -2
- package/plugin.json +2 -4
- package/scripts/readme-fr.mjs +8 -3
- package/dist/locales/en.json +0 -88
- package/dist/locales/fr.json +0 -88
package/dist/locales/en.json
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Mcp": {
|
|
3
|
-
"auth": {
|
|
4
|
-
"unauthorized": "Unauthorized",
|
|
5
|
-
"originNotAllowed": "This origin is not allowed to call this endpoint"
|
|
6
|
-
},
|
|
7
|
-
"tenant": {
|
|
8
|
-
"permissionDenied": "permission denied: no tenant resolved for this caller"
|
|
9
|
-
},
|
|
10
|
-
"person": {
|
|
11
|
-
"identityNotConfigured": "permission denied: this tool needs the verified person, and this server resolves no person (identity is not configured)",
|
|
12
|
-
"noVerifiedSession": "permission denied: this tool needs the verified person, and this call carries no verified session",
|
|
13
|
-
"refused": "permission denied: the verified person behind this call could not be resolved"
|
|
14
|
-
},
|
|
15
|
-
"rateLimit": {
|
|
16
|
-
"exceeded": "too many tool calls: retry in {seconds} s"
|
|
17
|
-
},
|
|
18
|
-
"validation": {
|
|
19
|
-
"messageTooLong": "message exceeds the maximum length of 200 characters"
|
|
20
|
-
},
|
|
21
|
-
"oauth": {
|
|
22
|
-
"pickerTitle": "Connect {client}",
|
|
23
|
-
"pickerIntro": "{client} asks to act on your behalf. Choose the organisation it may reach, then approve or deny.",
|
|
24
|
-
"handoffTitle": "Returning to the application",
|
|
25
|
-
"handoffLink": "Continue to the application",
|
|
26
|
-
"pickerNoAllowedOrganisation": "None of your organisations is authorised on this server.",
|
|
27
|
-
"pickerDestination": "After approval you are sent to:",
|
|
28
|
-
"pickerScope": "Requested access:",
|
|
29
|
-
"pickerUnverified": "Unverified client: it registered itself automatically and nobody has vouched for it. Approve only if you recognise the address above.",
|
|
30
|
-
"pickerOrganisation": "Organisation",
|
|
31
|
-
"approve": "Approve",
|
|
32
|
-
"deny": "Deny",
|
|
33
|
-
"denied": "The request was denied; you can close this window.",
|
|
34
|
-
"unavailable": "Authorization is not configured on this server.",
|
|
35
|
-
"inMemoryWarning": "Running on in-memory OAuth stores: codes and registered clients are lost on restart and not shared between instances. Fine for development; set {knob}=1 to acknowledge, or inject durable adapters.",
|
|
36
|
-
"consentTokenRequired": "The consent token is missing: reload the page and try again.",
|
|
37
|
-
"registryFull": "Client registration is temporarily unavailable: the registry is full. Retry later.",
|
|
38
|
-
"devInstanceRemote": "Development Clerk instance on a remote server: its hosted sign-in page redirects only to localhost or to the instance Home URL. Set the development instance's Home URL (development origin) to this server's origin for a remote test and revert it afterwards, or use a Clerk production instance (see README, \"Sign-in with ChatGPT and Claude\")."
|
|
39
|
-
},
|
|
40
|
-
"manifest": {
|
|
41
|
-
"unreadableField": "cannot read field \"{field}\" of {source} (expected: {expected})",
|
|
42
|
-
"expect": {
|
|
43
|
-
"string": "a non-empty string",
|
|
44
|
-
"semver": "a semantic version (x.y.z)",
|
|
45
|
-
"object": "an object",
|
|
46
|
-
"boolean": "true or false",
|
|
47
|
-
"positiveInteger": "a positive whole number",
|
|
48
|
-
"atLeastPerTool": "at least the perTool ceiling",
|
|
49
|
-
"stringArray": "an array of non-empty strings"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"toolRoles": {
|
|
53
|
-
"identityMissing": "the identity stores are not injected (AppDeps.identity): on the OAuth tier a caller's role is decided for the organisation the identity layer resolves, so both are required",
|
|
54
|
-
"denied": "permission denied: your role does not grant the tool {tool} ({reason})",
|
|
55
|
-
"unresolved": "permission denied: your role could not be read, so no tool is granted",
|
|
56
|
-
"configMissing": "{variable} is not set: on the OAuth tier every tool is decided by the caller's role, read from that roles file",
|
|
57
|
-
"configInvalid": "{variable} ({path}) is not a valid roles file: {problem}"
|
|
58
|
-
},
|
|
59
|
-
"toolRecord": {
|
|
60
|
-
"unsound": "tool records or the context ceiling are unsound: {problems}"
|
|
61
|
-
},
|
|
62
|
-
"pagination": {
|
|
63
|
-
"invalidCursor": "invalid cursor: it was not issued by this tool or is no longer valid; start again without a cursor"
|
|
64
|
-
},
|
|
65
|
-
"lake": {
|
|
66
|
-
"unreadable": "the data source answered something this server cannot read; no row is shown rather than a partial or wrong page"
|
|
67
|
-
},
|
|
68
|
-
"buildIdentity": {
|
|
69
|
-
"unreadable": "cannot compute the build identity: {dir} is unreadable ({reason})",
|
|
70
|
-
"empty": "cannot compute the build identity: {dir} is empty (no file), nothing was built"
|
|
71
|
-
},
|
|
72
|
-
"config": {
|
|
73
|
-
"refused": "configuration refused: {problems}",
|
|
74
|
-
"missing": "{env} is missing (expected: {expected})",
|
|
75
|
-
"invalid": "{env} is set but invalid (expected: {expected}; value not shown)",
|
|
76
|
-
"expect": {
|
|
77
|
-
"string": "a non-empty string",
|
|
78
|
-
"integer": "an integer from {min} to {max}",
|
|
79
|
-
"integerAtLeast": "an integer of at least {min}",
|
|
80
|
-
"boolean": "\"0\" or \"1\"",
|
|
81
|
-
"url": "an https URL (http on loopback only)",
|
|
82
|
-
"originList": "a comma-separated list of origins (scheme://host[:port], no path)",
|
|
83
|
-
"enum": "one of: {values}",
|
|
84
|
-
"json": "a JSON object or array"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
package/dist/locales/fr.json
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Mcp": {
|
|
3
|
-
"auth": {
|
|
4
|
-
"unauthorized": "Non autorisé",
|
|
5
|
-
"originNotAllowed": "Cette origine n'est pas autorisée à appeler ce point d'accès"
|
|
6
|
-
},
|
|
7
|
-
"tenant": {
|
|
8
|
-
"permissionDenied": "permission refusée : aucun tenant résolu pour cet appelant"
|
|
9
|
-
},
|
|
10
|
-
"person": {
|
|
11
|
-
"identityNotConfigured": "permission refusée : cet outil exige la personne vérifiée, et ce serveur ne résout aucune personne (identité non configurée)",
|
|
12
|
-
"noVerifiedSession": "permission refusée : cet outil exige la personne vérifiée, et cet appel ne porte aucune session vérifiée",
|
|
13
|
-
"refused": "permission refusée : la personne vérifiée derrière cet appel n'a pas pu être résolue"
|
|
14
|
-
},
|
|
15
|
-
"rateLimit": {
|
|
16
|
-
"exceeded": "trop d’appels d’outils : réessayez dans {seconds} s"
|
|
17
|
-
},
|
|
18
|
-
"validation": {
|
|
19
|
-
"messageTooLong": "le message dépasse la longueur maximale de 200 caractères"
|
|
20
|
-
},
|
|
21
|
-
"oauth": {
|
|
22
|
-
"pickerTitle": "Connecter {client}",
|
|
23
|
-
"pickerIntro": "{client} demande à agir en votre nom. Choisissez l'organisation à laquelle il peut accéder, puis approuvez ou refusez.",
|
|
24
|
-
"handoffTitle": "Retour à l'application",
|
|
25
|
-
"handoffLink": "Continuer vers l'application",
|
|
26
|
-
"pickerNoAllowedOrganisation": "Aucune de vos organisations n'est autorisée sur ce serveur.",
|
|
27
|
-
"pickerDestination": "Redirection après validation vers :",
|
|
28
|
-
"pickerScope": "Accès demandé :",
|
|
29
|
-
"pickerUnverified": "Client non vérifié : il s'est enregistré automatiquement et personne ne s'en porte garant. N'approuvez que si vous reconnaissez l'adresse ci-dessus.",
|
|
30
|
-
"pickerOrganisation": "Organisation",
|
|
31
|
-
"approve": "Approuver",
|
|
32
|
-
"deny": "Refuser",
|
|
33
|
-
"denied": "La demande a été refusée ; vous pouvez fermer cette fenêtre.",
|
|
34
|
-
"unavailable": "L'autorisation n'est pas configurée sur ce serveur.",
|
|
35
|
-
"inMemoryWarning": "Stores OAuth en mémoire : les codes et les clients enregistrés sont perdus au redémarrage et non partagés entre instances. Acceptable en développement ; définissez {knob}=1 pour l'accepter, ou injectez des adaptateurs durables.",
|
|
36
|
-
"consentTokenRequired": "Le jeton de consentement est absent : rechargez la page et réessayez.",
|
|
37
|
-
"registryFull": "L'enregistrement de clients est temporairement indisponible : le registre est plein. Réessayez plus tard.",
|
|
38
|
-
"devInstanceRemote": "Instance Clerk de développement sur un serveur distant : sa page de connexion hébergée ne redirige que vers localhost ou vers l'URL d'accueil (Home URL) de l'instance. Pour un test distant, réglez l'URL d'accueil (origine de développement) de l'instance sur l'origine de ce serveur, puis rétablissez-la ; sinon utilisez une instance Clerk de production (voir README, « Connexion avec ChatGPT et Claude »)."
|
|
39
|
-
},
|
|
40
|
-
"manifest": {
|
|
41
|
-
"unreadableField": "champ \"{field}\" illisible dans {source} (attendu : {expected})",
|
|
42
|
-
"expect": {
|
|
43
|
-
"string": "une chaîne non vide",
|
|
44
|
-
"semver": "une version sémantique (x.y.z)",
|
|
45
|
-
"object": "un objet",
|
|
46
|
-
"boolean": "true ou false",
|
|
47
|
-
"positiveInteger": "un entier strictement positif",
|
|
48
|
-
"atLeastPerTool": "au moins le plafond perTool",
|
|
49
|
-
"stringArray": "un tableau de chaînes non vides"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"toolRoles": {
|
|
53
|
-
"identityMissing": "les stores d'identité ne sont pas injectés (AppDeps.identity) : sur le niveau OAuth, le rôle d'un appelant est décidé pour l'organisation que la couche d'identité résout, les deux sont donc requis",
|
|
54
|
-
"denied": "permission refusée : votre rôle n'accorde pas l'outil {tool} ({reason})",
|
|
55
|
-
"unresolved": "permission refusée : votre rôle n'a pas pu être lu, aucun outil n'est accordé",
|
|
56
|
-
"configMissing": "{variable} n'est pas défini : sur le niveau OAuth, chaque outil est décidé par le rôle de l'appelant, lu dans ce fichier de rôles",
|
|
57
|
-
"configInvalid": "{variable} ({path}) n'est pas un fichier de rôles valide : {problem}"
|
|
58
|
-
},
|
|
59
|
-
"toolRecord": {
|
|
60
|
-
"unsound": "fiches d'outils ou plafond de contexte invalides : {problems}"
|
|
61
|
-
},
|
|
62
|
-
"pagination": {
|
|
63
|
-
"invalidCursor": "curseur invalide : il n'a pas été émis par cet outil ou n'est plus valide ; recommencez sans curseur"
|
|
64
|
-
},
|
|
65
|
-
"lake": {
|
|
66
|
-
"unreadable": "la source de données a renvoyé une réponse illisible pour ce serveur ; aucune ligne n'est affichée plutôt qu'une page partielle ou fausse"
|
|
67
|
-
},
|
|
68
|
-
"buildIdentity": {
|
|
69
|
-
"unreadable": "identité de build incalculable : {dir} est illisible ({reason})",
|
|
70
|
-
"empty": "identité de build incalculable : {dir} est vide (aucun fichier), rien n'a été construit"
|
|
71
|
-
},
|
|
72
|
-
"config": {
|
|
73
|
-
"refused": "configuration refusée : {problems}",
|
|
74
|
-
"missing": "{env} est manquante (attendu : {expected})",
|
|
75
|
-
"invalid": "{env} est définie mais invalide (attendu : {expected} ; valeur non affichée)",
|
|
76
|
-
"expect": {
|
|
77
|
-
"string": "une chaîne non vide",
|
|
78
|
-
"integer": "un entier de {min} à {max}",
|
|
79
|
-
"integerAtLeast": "un entier d'au moins {min}",
|
|
80
|
-
"boolean": "\"0\" ou \"1\"",
|
|
81
|
-
"url": "une URL https (http seulement sur la boucle locale)",
|
|
82
|
-
"originList": "une liste d'origines séparées par des virgules (schéma://hôte[:port], sans chemin)",
|
|
83
|
-
"enum": "une valeur parmi : {values}",
|
|
84
|
-
"json": "un objet ou un tableau JSON"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|