@usefillo/mcp 0.8.0 → 0.8.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 +2 -3
- package/dist/index.js +14 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -107,9 +107,8 @@ the named scope. With both, the login token wins — a key has no acting human.
|
|
|
107
107
|
login token — there is no project-API-key route for them, so a leaked key can
|
|
108
108
|
never enumerate or revoke the workspace's credentials or read its plan.
|
|
109
109
|
`fillo_get_billing` is read-only: it reports the plan and this month's usage and
|
|
110
|
-
returns the Settings link, but no tool can subscribe, change the plan,
|
|
111
|
-
|
|
112
|
-
plan. `fillo_delete_response` needs one too, for a
|
|
110
|
+
returns the Settings link, but no tool can subscribe, change the plan, or open
|
|
111
|
+
checkout — an owner or admin does that in Settings → Billing & plan. `fillo_delete_response` needs one too, for a
|
|
113
112
|
different reason: its scoped route takes no typed confirmation, so on a project
|
|
114
113
|
API key the confirmation would be checked only by the caller, which is no
|
|
115
114
|
confirmation at all.
|
package/dist/index.js
CHANGED
|
@@ -2696,7 +2696,7 @@ function registerGetBilling(server) {
|
|
|
2696
2696
|
"fillo_get_billing",
|
|
2697
2697
|
{
|
|
2698
2698
|
title: "Read the workspace's plan and usage",
|
|
2699
|
-
description: "Report the workspace's plan (Free,
|
|
2699
|
+
description: "Report the workspace's plan (Free, complimentary, or an Everything volume and billing period), this month's response count against its allowance, recent monthly usage, and the Settings link where an owner or admin changes the plan. Read-only: no tool can subscribe, change the plan, or open checkout \u2014 report the numbers and hand the human manageUrl. Needs a LOGIN TOKEN \u2014 billing has no project-API-key route.",
|
|
2700
2700
|
inputSchema: {},
|
|
2701
2701
|
annotations: READ_ONLY
|
|
2702
2702
|
},
|
|
@@ -3326,7 +3326,20 @@ function registerRevokeAgentGrant(server) {
|
|
|
3326
3326
|
}
|
|
3327
3327
|
|
|
3328
3328
|
// src/tools/index.ts
|
|
3329
|
+
function withTitleAnnotations(server) {
|
|
3330
|
+
const register = server.registerTool.bind(server);
|
|
3331
|
+
server.registerTool = ((name, config, ...rest) => {
|
|
3332
|
+
const annotations = config.annotations;
|
|
3333
|
+
const title = typeof config.title === "string" ? config.title : void 0;
|
|
3334
|
+
return register(
|
|
3335
|
+
name,
|
|
3336
|
+
title && annotations ? { ...config, annotations: { title, ...annotations } } : config,
|
|
3337
|
+
...rest
|
|
3338
|
+
);
|
|
3339
|
+
});
|
|
3340
|
+
}
|
|
3329
3341
|
function registerTools(server) {
|
|
3342
|
+
withTitleAnnotations(server);
|
|
3330
3343
|
registerProvisionWorkspace(server);
|
|
3331
3344
|
registerWhoami(server);
|
|
3332
3345
|
registerProjects(server);
|
package/package.json
CHANGED