@usefillo/mcp 0.11.2 → 0.12.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.
Files changed (3) hide show
  1. package/README.md +4 -4
  2. package/dist/index.js +242 -81
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -158,13 +158,13 @@ Routine, reversible actions run on the credential alone. Two kinds do not:
158
158
  - **Outward** — unpublishing, starting a third-party destination, adding a
159
159
  webhook, releasing or re-sending responses, inviting a member or changing a
160
160
  role, a code-sync policy, the allowed origins, or identity verification. These
161
- take `confirm: true`, and the tool refuses without it with a message telling
162
- the model to ask a person first. Nothing has changed when it refuses.
161
+ take `confirm: true` when the user authorized the action and target in the
162
+ task or workflow. The agent asks if that authorization is missing.
163
163
  Publishing is the exception on this server: `fillo_push_form` and
164
164
  `fillo_publish_form` take no `confirm`, because a login token IS the person
165
165
  who ran `fillo login` on this machine — the same reason `fillo publish` runs
166
- without a flag. The hosted OAuth server, where the grant belongs to an agent
167
- rather than to you, is what gates publishing behind an approval link.
166
+ without a flag. Hosted OAuth connections can publish directly when they
167
+ have the Publish permission and automatic actions enabled.
168
168
  - **Destructive** — deleting a form, a response, or a respondent, removing a
169
169
  member or an integration account, disconnecting a provider or a Discord
170
170
  server, revoking a token, sync token, API key, or MCP grant, turning identity
package/dist/index.js CHANGED
@@ -398,6 +398,128 @@ var capabilities_default = {
398
398
  scope: null
399
399
  }
400
400
  },
401
+ {
402
+ name: "fillo_get_approval",
403
+ toolsets: [
404
+ "build",
405
+ "responses",
406
+ "integrations",
407
+ "admin"
408
+ ],
409
+ hosted: {
410
+ title: "Check an approval decision",
411
+ description: "Read the pending, approved, or denied status of an approval requested by this exact connection. Approval executes the requested action. Use this tool to resume after owner approval; never replay a redelivery or another outward action just to check whether approval happened. The review URL opens the exact saved request, even after link expiry.",
412
+ inputSchema: {
413
+ type: "object",
414
+ properties: {
415
+ approvalId: {
416
+ type: "string",
417
+ minLength: 1,
418
+ maxLength: 128
419
+ }
420
+ },
421
+ required: [
422
+ "approvalId"
423
+ ],
424
+ additionalProperties: false
425
+ },
426
+ annotations: {
427
+ readOnlyHint: true,
428
+ destructiveHint: false,
429
+ idempotentHint: true,
430
+ openWorldHint: false
431
+ },
432
+ scope: null
433
+ }
434
+ },
435
+ {
436
+ name: "fillo_send_feedback",
437
+ toolsets: [
438
+ "build",
439
+ "responses",
440
+ "integrations",
441
+ "admin"
442
+ ],
443
+ local: {
444
+ title: "Send feedback to Fillo",
445
+ description: "Email product feedback, bugs, or feature ideas about Fillo to the Fillo team. Optional: use when you have concrete feedback to share, without blocking the user\u2019s task. Sends only the message and context you provide, plus connection identifiers; do not include secrets, respondent answers, files, or full transcripts. No separate action approval is required. Rate limited. Reports success only after email delivery is accepted.",
446
+ inputSchema: {
447
+ $schema: "http://json-schema.org/draft-07/schema#",
448
+ type: "object",
449
+ properties: {
450
+ message: {
451
+ description: "Your feedback about Fillo. Do not include secrets or respondent data.",
452
+ type: "string",
453
+ minLength: 1,
454
+ maxLength: 6e3
455
+ },
456
+ category: {
457
+ type: "string",
458
+ enum: [
459
+ "bug",
460
+ "idea",
461
+ "other"
462
+ ]
463
+ },
464
+ context: {
465
+ description: "Optional reproduction steps, tool name, or safe error details.",
466
+ type: "string",
467
+ maxLength: 2e3
468
+ }
469
+ },
470
+ required: [
471
+ "message"
472
+ ],
473
+ additionalProperties: false
474
+ },
475
+ annotations: {
476
+ title: "Send feedback to Fillo",
477
+ readOnlyHint: false,
478
+ destructiveHint: false,
479
+ idempotentHint: false,
480
+ openWorldHint: true
481
+ }
482
+ },
483
+ hosted: {
484
+ title: "Send feedback to Fillo",
485
+ description: "Email product feedback, bugs, or feature ideas about Fillo to the Fillo team. Optional: use when you have concrete feedback to share, without blocking the user\u2019s task. Sends only the message and context you provide, plus connection identifiers; do not include secrets, respondent answers, files, or full transcripts. No separate action approval is required. Rate limited. Reports success only after email delivery is accepted.",
486
+ inputSchema: {
487
+ type: "object",
488
+ properties: {
489
+ message: {
490
+ description: "Your feedback about Fillo. Do not include secrets or respondent data.",
491
+ type: "string",
492
+ minLength: 1,
493
+ maxLength: 6e3
494
+ },
495
+ category: {
496
+ type: "string",
497
+ enum: [
498
+ "bug",
499
+ "idea",
500
+ "other"
501
+ ]
502
+ },
503
+ context: {
504
+ description: "Optional reproduction steps, tool name, or safe error details.",
505
+ type: "string",
506
+ maxLength: 2e3
507
+ }
508
+ },
509
+ required: [
510
+ "message"
511
+ ],
512
+ additionalProperties: false
513
+ },
514
+ annotations: {
515
+ readOnlyHint: false,
516
+ destructiveHint: false,
517
+ idempotentHint: false,
518
+ openWorldHint: true
519
+ },
520
+ scope: null
521
+ }
522
+ },
401
523
  {
402
524
  name: "fillo_list_projects",
403
525
  toolsets: ["build", "admin"],
@@ -562,7 +684,7 @@ var capabilities_default = {
562
684
  },
563
685
  allowBreaking: {
564
686
  type: "boolean",
565
- description: "Acknowledge removing/re-typing fields used by existing responses. Confirm with the user first."
687
+ description: "Acknowledge removing/re-typing fields used by existing responses. Use true when the user authorized these field removals or type changes; otherwise ask for their decision."
566
688
  },
567
689
  baseRevision: {
568
690
  type: "string",
@@ -586,7 +708,7 @@ var capabilities_default = {
586
708
  toolsets: ["build"],
587
709
  local: {
588
710
  title: "Publish a Fillo form",
589
- description: "Take a draft form or staged changes live. Needs a login token (FILLO_TOKEN or `npx @usefillo/cli login`); a `pk_` publishable key cannot complete this owner action. The form may be identified by id, slug, or stable push handle. Publishing is idempotent: an already-live form with nothing staged succeeds unchanged. If existing responses use fields the staged schema removes or re-types, confirm with the user before retrying with allowBreaking=true. File forms must have ready storage before they can go live.",
711
+ description: "Take a draft form or staged changes live. Needs a login token (FILLO_TOKEN or `npx @usefillo/cli login`); a `pk_` publishable key cannot complete this owner action. The form may be identified by id, slug, or stable push handle. Publishing is idempotent: an already-live form with nothing staged succeeds unchanged. If existing responses use fields the staged schema removes or re-types, retry with allowBreaking=true when the user authorized those changes; otherwise ask for their decision. File forms must have ready storage before they can go live.",
590
712
  inputSchema: {
591
713
  $schema: "http://json-schema.org/draft-07/schema#",
592
714
  type: "object",
@@ -598,7 +720,7 @@ var capabilities_default = {
598
720
  description: "Form id, hosted slug, or stable push handle."
599
721
  },
600
722
  allowBreaking: {
601
- description: "Acknowledge removing or re-typing fields that existing responses answered. Confirm with the user first.",
723
+ description: "Acknowledge removing or re-typing fields that existing responses answered. Use true when the user authorized these field removals or type changes; otherwise ask for their decision.",
602
724
  type: "boolean"
603
725
  }
604
726
  },
@@ -614,7 +736,7 @@ var capabilities_default = {
614
736
  },
615
737
  hosted: {
616
738
  title: "Publish a form",
617
- description: "Take a form's staged changes (or a draft form) live. Requires the forms:publish scope with direct-publish policy to publish in this call; connections using per-publish review receive an approval URL: the user reviews the staged diff there and clicks [Approve publish]. The link is single-use, form-bound, and expires in 15 minutes. Already-live forms with nothing staged return success unchanged.",
739
+ description: "Take staged changes or a draft live. With forms:publish and automatic actions, this call publishes directly. Otherwise it returns a single-use review link valid for 24 hours. The connection owner can allow automatic actions under Settings \u2192 Agents. An already-live form with no staged changes returns success unchanged.",
618
740
  inputSchema: {
619
741
  type: "object",
620
742
  properties: {
@@ -625,6 +747,13 @@ var capabilities_default = {
625
747
  allowBreaking: {
626
748
  type: "boolean",
627
749
  description: "Acknowledge removing/re-typing fields that existing responses answered (direct publish only; the approval page shows them to the human instead)."
750
+ },
751
+ expectedFingerprint: {
752
+ type: "string",
753
+ pattern: "^[a-f0-9]{64}$",
754
+ minLength: 64,
755
+ maxLength: 64,
756
+ description: "The expectedFingerprint returned by a pending publish approval. Pass it when resuming after changing action approvals so only that requested revision can publish."
628
757
  }
629
758
  },
630
759
  required: ["form"],
@@ -1473,7 +1602,7 @@ var capabilities_default = {
1473
1602
  toolsets: ["build", "integrations"],
1474
1603
  local: {
1475
1604
  title: "Take a form offline",
1476
- description: "Unpublish a live form. The hosted URL stops accepting responses and any embed rendering it goes dark, so this is visible to everyone who can reach the form \u2014 ASK THE HUMAN FIRST, then pass confirm=true. Existing responses are kept and the form becomes a draft you can publish again. Already-draft forms succeed unchanged. Needs forms:write.",
1605
+ description: "Unpublish a live form. The hosted URL stops accepting responses and any embed rendering it goes dark, so this is visible to everyone who can reach the form \u2014 pass confirm=true when the user authorized taking this form offline. Otherwise ask for their decision. Existing responses are kept and the form becomes a draft you can publish again. Already-draft forms succeed unchanged. Needs forms:write.",
1477
1606
  inputSchema: {
1478
1607
  $schema: "http://json-schema.org/draft-07/schema#",
1479
1608
  type: "object",
@@ -1485,7 +1614,7 @@ var capabilities_default = {
1485
1614
  description: "Form id or hosted slug. A stable push handle also resolves on a login token; a project API key takes the id or slug."
1486
1615
  },
1487
1616
  confirm: {
1488
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
1617
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
1489
1618
  type: "boolean"
1490
1619
  }
1491
1620
  },
@@ -1592,7 +1721,7 @@ var capabilities_default = {
1592
1721
  type: "string",
1593
1722
  minLength: 1,
1594
1723
  maxLength: 256,
1595
- description: "The exact form title, exactly as fillo_pull_form reports its name, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
1724
+ description: "The exact form title, exactly as fillo_pull_form reports its name for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
1596
1725
  },
1597
1726
  alsoUnpublish: {
1598
1727
  description: "Take a live form offline as part of deleting it.",
@@ -2156,7 +2285,7 @@ var capabilities_default = {
2156
2285
  toolsets: ["integrations"],
2157
2286
  local: {
2158
2287
  title: "Start or reconfigure a form's destination",
2159
- description: "Turn on \u2014 or reconfigure \u2014 where one form's answers go. From the moment this succeeds, every response leaves Fillo for a third-party system the workspace connected, so ASK THE HUMAN FIRST and pass confirm=true only once they have agreed. The provider account must already be connected (see fillo_list_connections). Config keys by provider \u2014 google_sheets: spreadsheetId, sheetTabId (omit both to create a new spreadsheet); notion: titleFieldId (omit to create a new database); slack: slackChannelId (required to start), slackIncludeFieldIds (max 3); hubspot: hubspotEmailFieldId (required), hubspotMappings, hubspotCreateMarketableContact, hubspotCompany, hubspotDeal; discord: enabled, channelId or webhookId, includeFieldIds (max 3), earlySignalLimit (5|10|25|null), roleGrant. Unknown keys are rejected rather than ignored. This tool only turns a destination ON \u2014 to stop one, use fillo_disable_integration. Needs integrations:manage.",
2288
+ description: "Turn on \u2014 or reconfigure \u2014 where one form's answers go. From the moment this succeeds, every response leaves Fillo for a third-party system the workspace connected, so pass confirm=true when the user authorized this destination. Otherwise ask for their decision. The provider account must already be connected (see fillo_list_connections). Config keys by provider \u2014 google_sheets: spreadsheetId, sheetTabId (omit both to create a new spreadsheet); notion: titleFieldId (omit to create a new database); slack: slackChannelId (required to start), slackIncludeFieldIds (max 3); hubspot: hubspotEmailFieldId (required), hubspotMappings, hubspotCreateMarketableContact, hubspotCompany, hubspotDeal; discord: enabled, channelId or webhookId, includeFieldIds (max 3), earlySignalLimit (5|10|25|null), roleGrant. Unknown keys are rejected rather than ignored. This tool only turns a destination ON \u2014 to stop one, use fillo_disable_integration. Needs integrations:manage.",
2160
2289
  inputSchema: {
2161
2290
  $schema: "http://json-schema.org/draft-07/schema#",
2162
2291
  type: "object",
@@ -2181,7 +2310,7 @@ var capabilities_default = {
2181
2310
  additionalProperties: {}
2182
2311
  },
2183
2312
  confirm: {
2184
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
2313
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
2185
2314
  type: "boolean"
2186
2315
  }
2187
2316
  },
@@ -2385,7 +2514,7 @@ var capabilities_default = {
2385
2514
  toolsets: ["integrations"],
2386
2515
  local: {
2387
2516
  title: "Disconnect a provider from this project",
2388
- description: "Detach THIS PROJECT's Notion, Slack, HubSpot, or Discord account: every form in the project that sends to it stops. The workspace account itself stays, and other projects keep using it \u2014 to remove the account everywhere, use fillo_remove_connection_account. Irreversible for this project (the per-form destinations are gone, not paused), so `confirm` must be the provider name typed exactly. Ask the human first. Needs integrations:manage.",
2517
+ description: "Detach THIS PROJECT's Notion, Slack, HubSpot, or Discord account: every form in the project that sends to it stops. The workspace account itself stays, and other projects keep using it \u2014 to remove the account everywhere, use fillo_remove_connection_account. Irreversible for this project (the per-form destinations are gone, not paused), so `confirm` must be the provider name typed exactly. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs integrations:manage.",
2389
2518
  inputSchema: {
2390
2519
  $schema: "http://json-schema.org/draft-07/schema#",
2391
2520
  type: "object",
@@ -2399,7 +2528,7 @@ var capabilities_default = {
2399
2528
  type: "string",
2400
2529
  minLength: 1,
2401
2530
  maxLength: 256,
2402
- description: "The exact provider name, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
2531
+ description: "The exact provider name for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
2403
2532
  }
2404
2533
  },
2405
2534
  required: ["provider", "confirm"]
@@ -2443,7 +2572,7 @@ var capabilities_default = {
2443
2572
  toolsets: ["integrations"],
2444
2573
  local: {
2445
2574
  title: "Remove a connected account from the workspace",
2446
- description: "Permanently remove one provider account from the WHOLE workspace \u2014 by `connectionId` from fillo_list_connections, or a whole Discord server by `guildId`. Pass exactly one. Every project and form using it loses that destination, stored credentials are deleted, and reconnecting means a fresh OAuth consent (or re-inviting the bot). This cannot be undone from here. `confirm` must be the exact account label from fillo_list_connections, or the Discord server id when removing a server. fillo_list_connections also shows how many forms depend on each. Ask the human first. Needs integrations:manage.",
2575
+ description: "Permanently remove one provider account from the WHOLE workspace \u2014 by `connectionId` from fillo_list_connections, or a whole Discord server by `guildId`. Pass exactly one. Every project and form using it loses that destination, stored credentials are deleted, and reconnecting means a fresh OAuth consent (or re-inviting the bot). This cannot be undone from here. `confirm` must be the exact account label from fillo_list_connections, or the Discord server id when removing a server. fillo_list_connections also shows how many forms depend on each. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs integrations:manage.",
2447
2576
  inputSchema: {
2448
2577
  $schema: "http://json-schema.org/draft-07/schema#",
2449
2578
  type: "object",
@@ -2462,7 +2591,7 @@ var capabilities_default = {
2462
2591
  type: "string",
2463
2592
  minLength: 1,
2464
2593
  maxLength: 256,
2465
- description: "The exact account label, or the Discord server id for a guildId removal, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
2594
+ description: "The exact account label, or the Discord server id for a guildId removal for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
2466
2595
  }
2467
2596
  },
2468
2597
  required: ["confirm"]
@@ -2780,7 +2909,7 @@ var capabilities_default = {
2780
2909
  toolsets: ["responses"],
2781
2910
  local: {
2782
2911
  title: "Release held responses",
2783
- description: "Release responses the form's trust policy quarantined, so they enter the responses grid AND are delivered to every destination and webhook the form has \u2014 email, Sheets, Slack, whatever is wired up. That send cannot be recalled, so ASK THE HUMAN FIRST and pass confirm=true only once they agree. Read the held rows first with fillo_list_responses (held=true) so you can tell them what they are approving. Pass responseIds for specific rows or all=true for every held row on the form. Needs responses:manage.",
2912
+ description: "Release responses the form's trust policy quarantined, so they enter the responses grid AND are delivered to every destination and webhook the form has \u2014 email, Sheets, Slack, whatever is wired up. That send cannot be recalled, so pass confirm=true when the user authorized this action on the specified target. Otherwise ask for their decision. Read the held rows first with fillo_list_responses (held=true) so you can tell them what they are approving. Pass responseIds for specific rows or all=true for every held row on the form. Needs responses:manage.",
2784
2913
  inputSchema: {
2785
2914
  $schema: "http://json-schema.org/draft-07/schema#",
2786
2915
  type: "object",
@@ -2807,7 +2936,7 @@ var capabilities_default = {
2807
2936
  const: true
2808
2937
  },
2809
2938
  confirm: {
2810
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
2939
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
2811
2940
  type: "boolean"
2812
2941
  }
2813
2942
  },
@@ -2860,7 +2989,7 @@ var capabilities_default = {
2860
2989
  toolsets: ["responses"],
2861
2990
  local: {
2862
2991
  title: "Delete a response",
2863
- description: "Permanently delete one response and any files uploaded with it. This cannot be undone and does not recall anything already delivered to a destination. `confirm` must be the response id, typed exactly. Ask the human before calling. Needs a LOGIN TOKEN (FILLO_TOKEN or `npx @usefillo/cli login`): the typed confirmation is only real when the server compares it, and the project-API-key route takes no confirmation of its own.",
2992
+ description: "Permanently delete one response and any files uploaded with it. This cannot be undone and does not recall anything already delivered to a destination. `confirm` must be the response id, typed exactly. Use the user's explicit authorization to delete this response. Ask if it is missing. Needs a LOGIN TOKEN (FILLO_TOKEN or `npx @usefillo/cli login`): the typed confirmation is only real when the server compares it, and the project-API-key route takes no confirmation of its own.",
2864
2993
  inputSchema: {
2865
2994
  $schema: "http://json-schema.org/draft-07/schema#",
2866
2995
  type: "object",
@@ -2881,7 +3010,7 @@ var capabilities_default = {
2881
3010
  type: "string",
2882
3011
  minLength: 1,
2883
3012
  maxLength: 256,
2884
- description: "The exact response id, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
3013
+ description: "The exact response id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
2885
3014
  }
2886
3015
  },
2887
3016
  required: ["form", "id", "confirm"]
@@ -3081,7 +3210,7 @@ var capabilities_default = {
3081
3210
  toolsets: ["responses"],
3082
3211
  local: {
3083
3212
  title: "Send responses to their destinations again",
3084
- description: "Re-send responses that ALREADY delivered successfully. Unlike fillo_retry_deliveries this creates duplicates on purpose \u2014 a second row in the spreadsheet, a second Slack message, a second webhook call \u2014 so the receiving side sees them twice. Use it only to repair something lost downstream, ASK THE HUMAN FIRST, and pass confirm=true once they agree. Held responses are never redelivered. Needs responses:manage.",
3213
+ description: "Re-send responses that ALREADY delivered successfully. Unlike fillo_retry_deliveries this creates duplicates on purpose \u2014 a second row in the spreadsheet, a second Slack message, a second webhook call \u2014 so the receiving side sees them twice. Use it only to repair something lost downstream, pass confirm=true when the user authorized the duplicate send. Otherwise ask for their decision. Held responses are never redelivered. Needs responses:manage.",
3085
3214
  inputSchema: {
3086
3215
  $schema: "http://json-schema.org/draft-07/schema#",
3087
3216
  type: "object",
@@ -3104,7 +3233,7 @@ var capabilities_default = {
3104
3233
  description: "Response ids to send again (1\u2013200)."
3105
3234
  },
3106
3235
  confirm: {
3107
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
3236
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
3108
3237
  type: "boolean"
3109
3238
  }
3110
3239
  },
@@ -3419,7 +3548,7 @@ var capabilities_default = {
3419
3548
  type: "string",
3420
3549
  minLength: 1,
3421
3550
  maxLength: 256,
3422
- description: "The exact respondent external id, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
3551
+ description: "The exact respondent external id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
3423
3552
  }
3424
3553
  },
3425
3554
  required: ["respondent", "confirm"]
@@ -3516,7 +3645,7 @@ var capabilities_default = {
3516
3645
  toolsets: ["responses"],
3517
3646
  local: {
3518
3647
  title: "Add a webhook to a form",
3519
- description: "Post this form's responses to an HTTPS endpoint. From the moment this succeeds every respondent answer leaves Fillo for a server Fillo does not control, so ASK THE HUMAN FIRST \u2014 name the exact host \u2014 and pass confirm=true only once they agree. Fillo signs every call, and the signing secret comes back in THIS RESPONSE ONLY; hand it to the human to store in a secret manager or environment variable and never commit it. Set includeAbandoned to also receive draft.abandoned events. Private and loopback addresses are refused. Needs webhooks:manage.",
3648
+ description: "Post this form's responses to an HTTPS endpoint. From the moment this succeeds every respondent answer leaves Fillo for a server Fillo does not control, so pass confirm=true when the user authorized this exact destination. Otherwise ask for their decision. Fillo signs every call, and the signing secret comes back in THIS RESPONSE ONLY; hand it to the human to store in a secret manager or environment variable and never commit it. Set includeAbandoned to also receive draft.abandoned events. Private and loopback addresses are refused. Needs webhooks:manage.",
3520
3649
  inputSchema: {
3521
3650
  $schema: "http://json-schema.org/draft-07/schema#",
3522
3651
  type: "object",
@@ -3553,7 +3682,7 @@ var capabilities_default = {
3553
3682
  required: ["type"]
3554
3683
  },
3555
3684
  confirm: {
3556
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
3685
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
3557
3686
  type: "boolean"
3558
3687
  }
3559
3688
  },
@@ -4009,7 +4138,7 @@ var capabilities_default = {
4009
4138
  toolsets: ["admin"],
4010
4139
  local: {
4011
4140
  title: "Invite someone to the workspace",
4012
- description: "Send a workspace invitation. Fillo emails the address, and accepting gives that person access to every form, response, and setting in the workspace at the role you pick. That is mail leaving Fillo to a person, and access changing \u2014 ASK THE HUMAN FIRST with the exact address and role, then pass confirm=true. You can never grant a role above the acting person's own. Needs members:manage.",
4141
+ description: "Send a workspace invitation. Fillo emails the address, and accepting gives that person access to every form, response, and setting in the workspace at the role you pick. That is mail leaving Fillo to a person, and access changing \u2014 pass confirm=true when the user authorized this address and role. Otherwise ask for their decision. You can never grant a role above the acting person's own. Needs members:manage.",
4013
4142
  inputSchema: {
4014
4143
  $schema: "http://json-schema.org/draft-07/schema#",
4015
4144
  type: "object",
@@ -4026,7 +4155,7 @@ var capabilities_default = {
4026
4155
  enum: ["member", "admin", "owner"]
4027
4156
  },
4028
4157
  confirm: {
4029
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
4158
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
4030
4159
  type: "boolean"
4031
4160
  }
4032
4161
  },
@@ -4072,7 +4201,7 @@ var capabilities_default = {
4072
4201
  toolsets: ["admin"],
4073
4202
  local: {
4074
4203
  title: "Change a member's role",
4075
- description: "Change what someone may do in this workspace. Owners and admins can manage forms, responses, integrations, and credentials; members cannot. This changes who has authority over everything in here, so ASK THE HUMAN FIRST and pass confirm=true only once they agree. You can never grant a role above the acting person's own. Identify the member by id or email from fillo_list_members. Needs members:manage.",
4204
+ description: "Change what someone may do in this workspace. Owners and admins can manage forms, responses, integrations, and credentials; members cannot. This changes who has authority over everything in here, so pass confirm=true when the user authorized this action on the specified target. Otherwise ask for their decision. You can never grant a role above the acting person's own. Identify the member by id or email from fillo_list_members. Needs members:manage.",
4076
4205
  inputSchema: {
4077
4206
  $schema: "http://json-schema.org/draft-07/schema#",
4078
4207
  type: "object",
@@ -4088,7 +4217,7 @@ var capabilities_default = {
4088
4217
  description: "The new role."
4089
4218
  },
4090
4219
  confirm: {
4091
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
4220
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
4092
4221
  type: "boolean"
4093
4222
  }
4094
4223
  },
@@ -4134,7 +4263,7 @@ var capabilities_default = {
4134
4263
  toolsets: ["admin"],
4135
4264
  local: {
4136
4265
  title: "Remove a workspace member",
4137
- description: "Remove someone from the workspace. They immediately lose access to every form, response, and setting in it, and getting back in means a fresh invitation. `confirm` must be their EMAIL exactly as fillo_list_members shows it \u2014 not their member id. Ask the human to confirm the email before calling. Needs members:manage.",
4266
+ description: "Remove someone from the workspace. They immediately lose access to every form, response, and setting in it, and getting back in means a fresh invitation. `confirm` must be their EMAIL exactly as fillo_list_members shows it \u2014 not their member id. Set confirm to that exact email when the user authorized removing this person; otherwise ask for their decision. Needs members:manage.",
4138
4267
  inputSchema: {
4139
4268
  $schema: "http://json-schema.org/draft-07/schema#",
4140
4269
  type: "object",
@@ -4148,7 +4277,7 @@ var capabilities_default = {
4148
4277
  type: "string",
4149
4278
  minLength: 1,
4150
4279
  maxLength: 256,
4151
- description: "The exact member email address, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
4280
+ description: "The exact member email address for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
4152
4281
  }
4153
4282
  },
4154
4283
  required: ["member", "confirm"]
@@ -4228,7 +4357,7 @@ var capabilities_default = {
4228
4357
  toolsets: ["admin"],
4229
4358
  local: {
4230
4359
  title: "Revoke a connector token",
4231
- description: "Kill a CLI/connector token. Whatever is using it stops working immediately and it cannot be restored \u2014 including, possibly, the credential this MCP server is running on. `confirm` must be the token id exactly. Ask the human first. Needs workspace:manage.",
4360
+ description: "Kill a CLI/connector token. Whatever is using it stops working immediately and it cannot be restored \u2014 including, possibly, the credential this MCP server is running on. `confirm` must be the token id exactly. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs workspace:manage.",
4232
4361
  inputSchema: {
4233
4362
  $schema: "http://json-schema.org/draft-07/schema#",
4234
4363
  type: "object",
@@ -4242,7 +4371,7 @@ var capabilities_default = {
4242
4371
  type: "string",
4243
4372
  minLength: 1,
4244
4373
  maxLength: 256,
4245
- description: "The exact token id, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
4374
+ description: "The exact token id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
4246
4375
  }
4247
4376
  },
4248
4377
  required: ["id", "confirm"]
@@ -4370,7 +4499,7 @@ var capabilities_default = {
4370
4499
  toolsets: ["admin"],
4371
4500
  local: {
4372
4501
  title: "Revoke a form sync token",
4373
- description: "Kill an `fsync_` token. Any build or CI job using it stops being able to sync schemas immediately, and it cannot be restored \u2014 mint a new one and update the secret. `confirm` must be the token id exactly. Ask the human first. Needs workspace:manage.",
4502
+ description: "Kill an `fsync_` token. Any build or CI job using it stops being able to sync schemas immediately, and it cannot be restored \u2014 mint a new one and update the secret. `confirm` must be the token id exactly. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs workspace:manage.",
4374
4503
  inputSchema: {
4375
4504
  $schema: "http://json-schema.org/draft-07/schema#",
4376
4505
  type: "object",
@@ -4384,7 +4513,7 @@ var capabilities_default = {
4384
4513
  type: "string",
4385
4514
  minLength: 1,
4386
4515
  maxLength: 256,
4387
- description: "The exact sync token id, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
4516
+ description: "The exact sync token id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
4388
4517
  }
4389
4518
  },
4390
4519
  required: ["id", "confirm"]
@@ -4463,7 +4592,7 @@ var capabilities_default = {
4463
4592
  toolsets: ["admin"],
4464
4593
  local: {
4465
4594
  title: "Set the code-sync policy",
4466
- description: 'Choose what may sync code-defined form schemas into this project. "publishable_key" lets the browser-safe `pk_` key sync, which is convenient in development; "trusted_only" requires an `fsync_` token, which is what a production project should use. Changing this changes who may alter live form schemas, so ASK THE HUMAN FIRST and pass confirm=true only once they agree. Needs workspace:manage.',
4595
+ description: 'Choose what may sync code-defined form schemas into this project. "publishable_key" lets the browser-safe `pk_` key sync, which is convenient in development; "trusted_only" requires an `fsync_` token, which is what a production project should use. Changing this changes who may alter live form schemas, so pass confirm=true when the user authorized this action on the specified target. Otherwise ask for their decision. Needs workspace:manage.',
4467
4596
  inputSchema: {
4468
4597
  $schema: "http://json-schema.org/draft-07/schema#",
4469
4598
  type: "object",
@@ -4474,7 +4603,7 @@ var capabilities_default = {
4474
4603
  description: "publishable_key (permissive) or trusted_only (production)."
4475
4604
  },
4476
4605
  confirm: {
4477
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
4606
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
4478
4607
  type: "boolean"
4479
4608
  }
4480
4609
  },
@@ -4552,7 +4681,7 @@ var capabilities_default = {
4552
4681
  toolsets: ["admin"],
4553
4682
  local: {
4554
4683
  title: "Set the allowed embed origins",
4555
- description: "REPLACE the list of origins allowed to render this project's forms with a publishable key. The list is not merged: anything you leave out stops being allowed, so a live embed can go dark. Read the current list with fillo_get_origins, ASK THE HUMAN FIRST with the exact new list, and pass confirm=true only once they agree. An empty array means any origin. Entries must be bare http(s) origins with no path. Needs workspace:manage.",
4684
+ description: "REPLACE the list of origins allowed to render this project's forms with a publishable key. The list is not merged: anything you leave out stops being allowed, so a live embed can go dark. Read the current list with fillo_get_origins, pass confirm=true when the user authorized this replacement list. Otherwise ask for their decision. An empty array means any origin. Entries must be bare http(s) origins with no path. Needs workspace:manage.",
4556
4685
  inputSchema: {
4557
4686
  $schema: "http://json-schema.org/draft-07/schema#",
4558
4687
  type: "object",
@@ -4567,7 +4696,7 @@ var capabilities_default = {
4567
4696
  description: 'The complete new list, e.g. ["https://app.example.com"]. [] means any origin.'
4568
4697
  },
4569
4698
  confirm: {
4570
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
4699
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
4571
4700
  type: "boolean"
4572
4701
  }
4573
4702
  },
@@ -4648,13 +4777,13 @@ var capabilities_default = {
4648
4777
  toolsets: ["admin"],
4649
4778
  local: {
4650
4779
  title: "Turn on identity verification",
4651
- description: "Turn on signed respondent identities for this project and mint the signing secret. Once any form requires verification, your app must sign every respondent with this secret or those people cannot submit \u2014 so ASK THE HUMAN FIRST and pass confirm=true only once they agree. The secret comes back in THIS RESPONSE ONLY; hand it to the human for their secret store. Calling it again when verification is already on returns minted:false and NO secret \u2014 enabling twice can never read an existing secret back. Needs workspace:manage.",
4780
+ description: "Turn on signed respondent identities for this project and mint the signing secret. Once any form requires verification, your app must sign every respondent with this secret or those people cannot submit \u2014 so pass confirm=true when the user authorized this action on the specified target. Otherwise ask for their decision. The secret comes back in THIS RESPONSE ONLY; hand it to the human for their secret store. Calling it again when verification is already on returns minted:false and NO secret \u2014 enabling twice can never read an existing secret back. Needs workspace:manage.",
4652
4781
  inputSchema: {
4653
4782
  $schema: "http://json-schema.org/draft-07/schema#",
4654
4783
  type: "object",
4655
4784
  properties: {
4656
4785
  confirm: {
4657
- description: "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative.",
4786
+ description: "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing.",
4658
4787
  type: "boolean"
4659
4788
  }
4660
4789
  }
@@ -4689,7 +4818,7 @@ var capabilities_default = {
4689
4818
  toolsets: ["admin"],
4690
4819
  local: {
4691
4820
  title: "Turn off identity verification",
4692
- description: "Turn off signed respondent identities and DESTROY the signing secret. Anything still signing with it breaks, and turning verification back on mints a different secret you would have to redeploy. Refused while any form still requires a verified respondent. `confirm` must be the project's slug (from fillo_whoami); the server compares it. Ask the human first. Needs workspace:manage.",
4821
+ description: "Turn off signed respondent identities and DESTROY the signing secret. Anything still signing with it breaks, and turning verification back on mints a different secret you would have to redeploy. Refused while any form still requires a verified respondent. `confirm` must be the project's slug (from fillo_whoami); the server compares it. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs workspace:manage.",
4693
4822
  inputSchema: {
4694
4823
  $schema: "http://json-schema.org/draft-07/schema#",
4695
4824
  type: "object",
@@ -4698,7 +4827,7 @@ var capabilities_default = {
4698
4827
  type: "string",
4699
4828
  minLength: 1,
4700
4829
  maxLength: 256,
4701
- description: "The exact project slug, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
4830
+ description: "The exact project slug for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
4702
4831
  }
4703
4832
  },
4704
4833
  required: ["confirm"]
@@ -4772,7 +4901,7 @@ var capabilities_default = {
4772
4901
  toolsets: ["admin"],
4773
4902
  local: {
4774
4903
  title: "Revoke an MCP client's access",
4775
- description: "Cut off a connected MCP client. It loses access immediately and reconnecting means a fresh consent screen in a browser. `confirm` must be the grant id exactly \u2014 the `id` from fillo_list_agents, not the client's label. Ask the human first. Needs workspace:manage.",
4904
+ description: "Cut off a connected MCP client. It loses access immediately and reconnecting means a fresh consent screen in a browser. `confirm` must be the grant id exactly \u2014 the `id` from fillo_list_agents, not the client's label. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs workspace:manage.",
4776
4905
  inputSchema: {
4777
4906
  $schema: "http://json-schema.org/draft-07/schema#",
4778
4907
  type: "object",
@@ -4786,7 +4915,7 @@ var capabilities_default = {
4786
4915
  type: "string",
4787
4916
  minLength: 1,
4788
4917
  maxLength: 256,
4789
- description: "The exact grant id, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
4918
+ description: "The exact grant id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
4790
4919
  }
4791
4920
  },
4792
4921
  required: ["id", "confirm"]
@@ -4865,7 +4994,7 @@ var capabilities_default = {
4865
4994
  toolsets: ["admin"],
4866
4995
  local: {
4867
4996
  title: "Revoke a project API key",
4868
- description: "Kill an `fsk_` project API key. Anything using it \u2014 a script, a CI job, another agent \u2014 stops immediately and it cannot be restored; mint a new key and update the consumer. `confirm` must be the key id exactly, from fillo_list_api_keys. Ask the human first. Needs a LOGIN TOKEN, so a leaked key can never revoke the workspace's other keys.",
4997
+ description: "Kill an `fsk_` project API key. Anything using it \u2014 a script, a CI job, another agent \u2014 stops immediately and it cannot be restored; mint a new key and update the consumer. `confirm` must be the key id exactly, from fillo_list_api_keys. Use the user's explicit authorization for this action and target. Ask if it is missing. Needs a LOGIN TOKEN, so a leaked key can never revoke the workspace's other keys.",
4869
4998
  inputSchema: {
4870
4999
  $schema: "http://json-schema.org/draft-07/schema#",
4871
5000
  type: "object",
@@ -4879,7 +5008,7 @@ var capabilities_default = {
4879
5008
  type: "string",
4880
5009
  minLength: 1,
4881
5010
  maxLength: 256,
4882
- description: "The exact API key id, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own."
5011
+ description: "The exact API key id for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision."
4883
5012
  }
4884
5013
  },
4885
5014
  required: ["id", "confirm"]
@@ -5160,17 +5289,17 @@ import { z as z4 } from "zod";
5160
5289
  // src/tools/confirm.ts
5161
5290
  import { z as z2 } from "zod";
5162
5291
  var OUTWARD_CONFIRM = z2.boolean().optional().describe(
5163
- "Set true ONLY after the human has approved this action. Ask them first and quote what it will do \u2014 never set this on your own initiative."
5292
+ "Set true when the user has authorized this action on the specified target in the task or workflow. Ask only if that authorization is missing."
5164
5293
  );
5165
5294
  function blockOutward(confirm, action) {
5166
5295
  if (confirm === true) return void 0;
5167
5296
  return fail(
5168
- `${action} reaches beyond this workspace, so it needs a person's go-ahead. Tell the human exactly what it will do, wait for their answer, then call this tool again with confirm=true. Nothing has changed.`
5297
+ `${action} requires the user's authorization. If the human already requested this action on this target, call again with confirm=true. Otherwise explain the action and ask for their decision. Nothing has changed.`
5169
5298
  );
5170
5299
  }
5171
5300
  function typedConfirm(target) {
5172
5301
  return z2.string().trim().min(1).max(256).describe(
5173
- `The exact ${target}, typed to authorize this irreversible action. Ask the human to confirm it first \u2014 do not fill this in from context on your own.`
5302
+ `The exact ${target} for this irreversible action. Supply it only when the user explicitly authorized this action on this target. Otherwise ask for their decision.`
5174
5303
  );
5175
5304
  }
5176
5305
  function mismatch(confirm, expected, target) {
@@ -6574,7 +6703,7 @@ function registerPublishForm(server) {
6574
6703
  inputSchema: {
6575
6704
  form: z12.string().trim().min(1).max(200).describe("Form id, hosted slug, or stable push handle."),
6576
6705
  allowBreaking: z12.boolean().optional().describe(
6577
- "Acknowledge removing or re-typing fields that existing responses answered. Confirm with the user first."
6706
+ "Acknowledge removing or re-typing fields that existing responses answered. Use true when the user authorized these field removals or type changes; otherwise ask for their decision."
6578
6707
  )
6579
6708
  },
6580
6709
  annotations: localCapability("fillo_publish_form").annotations
@@ -6601,7 +6730,7 @@ function registerPublishForm(server) {
6601
6730
  const breaking = res.json?.code === "breaking_changes";
6602
6731
  const message = apiErrorMessage(res, "Couldn't publish the form");
6603
6732
  return fail(
6604
- message + (warningUrl ? ` Fix it here: ${warningUrl}` : "") + (breaking ? " Re-run fillo_publish_form with allowBreaking=true after confirming with the user." : ""),
6733
+ message + (warningUrl ? ` Fix it here: ${warningUrl}` : "") + (breaking ? " Re-run fillo_publish_form with allowBreaking=true if the user authorized these field removals or type changes. Otherwise ask for their decision." : ""),
6605
6734
  {
6606
6735
  ...typeof res.json?.code === "string" ? { code: res.json.code } : {},
6607
6736
  ...typeof res.json?.warningCode === "string" ? { warningCode: res.json.warningCode } : {},
@@ -7432,6 +7561,37 @@ function registerRemoveWebhook(server) {
7432
7561
  );
7433
7562
  }
7434
7563
 
7564
+ // src/tools/feedback.ts
7565
+ import { z as z18 } from "zod";
7566
+ function registerFeedback(server) {
7567
+ server.registerTool(
7568
+ "fillo_send_feedback",
7569
+ {
7570
+ title: localCapability("fillo_send_feedback").title,
7571
+ description: localCapability("fillo_send_feedback").description,
7572
+ inputSchema: z18.object({
7573
+ message: z18.string().trim().min(1).max(6e3).describe("Your feedback about Fillo. Do not include secrets or respondent data."),
7574
+ category: z18.enum(["bug", "idea", "other"]).optional(),
7575
+ context: z18.string().trim().max(2e3).optional().describe("Optional reproduction steps, tool name, or safe error details.")
7576
+ }).strict(),
7577
+ annotations: localCapability("fillo_send_feedback").annotations
7578
+ },
7579
+ async (input) => {
7580
+ const call = await laneCall(
7581
+ { path: "/feedback", method: "POST", body: input },
7582
+ { scope: "forms:read", fallback: "Feedback could not be delivered" }
7583
+ );
7584
+ if (!call.ok) return call.result;
7585
+ if (call.res.json?.status !== "sent") {
7586
+ return fail(
7587
+ "Feedback delivery could not be verified. Check the Fillo service before retrying."
7588
+ );
7589
+ }
7590
+ return ok("Feedback emailed to the Fillo team.", { status: "sent" });
7591
+ }
7592
+ );
7593
+ }
7594
+
7435
7595
  // src/tools/whoami.ts
7436
7596
  function registerWhoami(server) {
7437
7597
  server.registerTool(
@@ -7501,7 +7661,7 @@ function registerWhoami(server) {
7501
7661
  }
7502
7662
 
7503
7663
  // src/tools/workspace.ts
7504
- import { z as z18 } from "zod";
7664
+ import { z as z19 } from "zod";
7505
7665
  var WORKSPACE = "workspace:manage";
7506
7666
  var MEMBERS = "members:manage";
7507
7667
  var LOGIN_ONLY = (what) => fail(
@@ -7540,7 +7700,7 @@ function registerRenameWorkspace(server) {
7540
7700
  {
7541
7701
  title: localCapability("fillo_rename_workspace").title,
7542
7702
  description: localCapability("fillo_rename_workspace").description,
7543
- inputSchema: { name: z18.string().trim().min(1).max(200).describe("New workspace name.") },
7703
+ inputSchema: { name: z19.string().trim().min(1).max(200).describe("New workspace name.") },
7544
7704
  annotations: localCapability("fillo_rename_workspace").annotations
7545
7705
  },
7546
7706
  async ({ name }) => {
@@ -7564,8 +7724,8 @@ function registerRenameProject(server) {
7564
7724
  title: localCapability("fillo_rename_project").title,
7565
7725
  description: localCapability("fillo_rename_project").description,
7566
7726
  inputSchema: {
7567
- name: z18.string().trim().min(1).max(200).describe("New project name."),
7568
- project: z18.string().trim().min(1).optional().describe("Project id, slug, or name (default: the credential's own project).")
7727
+ name: z19.string().trim().min(1).max(200).describe("New project name."),
7728
+ project: z19.string().trim().min(1).optional().describe("Project id, slug, or name (default: the credential's own project).")
7569
7729
  },
7570
7730
  annotations: localCapability("fillo_rename_project").annotations
7571
7731
  },
@@ -7621,7 +7781,7 @@ function registerSetBranding(server) {
7621
7781
  title: localCapability("fillo_set_branding").title,
7622
7782
  description: localCapability("fillo_set_branding").description,
7623
7783
  inputSchema: {
7624
- show: z18.boolean().describe("true shows the Fillo badge, false hides it.")
7784
+ show: z19.boolean().describe("true shows the Fillo badge, false hides it.")
7625
7785
  },
7626
7786
  annotations: localCapability("fillo_set_branding").annotations
7627
7787
  },
@@ -7711,8 +7871,8 @@ function registerInviteMember(server) {
7711
7871
  title: localCapability("fillo_invite_member").title,
7712
7872
  description: localCapability("fillo_invite_member").description,
7713
7873
  inputSchema: {
7714
- email: z18.string().trim().min(1).max(254).describe("Who to invite."),
7715
- role: z18.enum(["member", "admin", "owner"]).optional().describe("Role they join with (default member)."),
7874
+ email: z19.string().trim().min(1).max(254).describe("Who to invite."),
7875
+ role: z19.enum(["member", "admin", "owner"]).optional().describe("Role they join with (default member)."),
7716
7876
  confirm: OUTWARD_CONFIRM
7717
7877
  },
7718
7878
  annotations: localCapability("fillo_invite_member").annotations
@@ -7779,8 +7939,8 @@ function registerSetMemberRole(server) {
7779
7939
  title: localCapability("fillo_change_member_role").title,
7780
7940
  description: localCapability("fillo_change_member_role").description,
7781
7941
  inputSchema: {
7782
- member: z18.string().trim().min(1).describe("Member id or email from fillo_list_members."),
7783
- role: z18.enum(["owner", "admin", "member"]).describe("The new role."),
7942
+ member: z19.string().trim().min(1).describe("Member id or email from fillo_list_members."),
7943
+ role: z19.enum(["owner", "admin", "member"]).describe("The new role."),
7784
7944
  confirm: OUTWARD_CONFIRM
7785
7945
  },
7786
7946
  annotations: localCapability("fillo_change_member_role").annotations
@@ -7816,7 +7976,7 @@ function registerRemoveMember(server) {
7816
7976
  title: localCapability("fillo_remove_member").title,
7817
7977
  description: localCapability("fillo_remove_member").description,
7818
7978
  inputSchema: {
7819
- member: z18.string().trim().min(1).describe("Member id or email from fillo_list_members."),
7979
+ member: z19.string().trim().min(1).describe("Member id or email from fillo_list_members."),
7820
7980
  confirm: typedConfirm("member email address")
7821
7981
  },
7822
7982
  annotations: localCapability("fillo_remove_member").annotations
@@ -7871,7 +8031,7 @@ function registerRevokeToken(server) {
7871
8031
  title: localCapability("fillo_revoke_token").title,
7872
8032
  description: localCapability("fillo_revoke_token").description,
7873
8033
  inputSchema: {
7874
- id: z18.string().trim().min(1).describe("Token id from fillo_list_tokens."),
8034
+ id: z19.string().trim().min(1).describe("Token id from fillo_list_tokens."),
7875
8035
  confirm: typedConfirm("token id")
7876
8036
  },
7877
8037
  annotations: localCapability("fillo_revoke_token").annotations
@@ -7929,7 +8089,7 @@ function registerCreateSyncToken(server) {
7929
8089
  title: localCapability("fillo_create_sync_token").title,
7930
8090
  description: localCapability("fillo_create_sync_token").description,
7931
8091
  inputSchema: {
7932
- name: z18.string().trim().min(1).max(80).optional().describe('What it is for, e.g. "GitHub Actions" (default "Form sync").')
8092
+ name: z19.string().trim().min(1).max(80).optional().describe('What it is for, e.g. "GitHub Actions" (default "Form sync").')
7933
8093
  },
7934
8094
  annotations: localCapability("fillo_create_sync_token").annotations
7935
8095
  },
@@ -7961,7 +8121,7 @@ function registerRevokeSyncToken(server) {
7961
8121
  title: localCapability("fillo_revoke_sync_token").title,
7962
8122
  description: localCapability("fillo_revoke_sync_token").description,
7963
8123
  inputSchema: {
7964
- id: z18.string().trim().min(1).describe("Sync token id from fillo_list_sync_tokens."),
8124
+ id: z19.string().trim().min(1).describe("Sync token id from fillo_list_sync_tokens."),
7965
8125
  confirm: typedConfirm("sync token id")
7966
8126
  },
7967
8127
  annotations: localCapability("fillo_revoke_sync_token").annotations
@@ -8020,7 +8180,7 @@ function registerRevokeApiKey(server) {
8020
8180
  title: localCapability("fillo_revoke_api_key").title,
8021
8181
  description: localCapability("fillo_revoke_api_key").description,
8022
8182
  inputSchema: {
8023
- id: z18.string().trim().min(1).describe("Key id from fillo_list_api_keys."),
8183
+ id: z19.string().trim().min(1).describe("Key id from fillo_list_api_keys."),
8024
8184
  confirm: typedConfirm("API key id")
8025
8185
  },
8026
8186
  annotations: localCapability("fillo_revoke_api_key").annotations
@@ -8078,7 +8238,7 @@ function registerSetCodeSyncPolicy(server) {
8078
8238
  title: localCapability("fillo_set_code_sync_policy").title,
8079
8239
  description: localCapability("fillo_set_code_sync_policy").description,
8080
8240
  inputSchema: {
8081
- policy: z18.enum(["publishable_key", "trusted_only"]).describe("publishable_key (permissive) or trusted_only (production)."),
8241
+ policy: z19.enum(["publishable_key", "trusted_only"]).describe("publishable_key (permissive) or trusted_only (production)."),
8082
8242
  confirm: OUTWARD_CONFIRM
8083
8243
  },
8084
8244
  annotations: localCapability("fillo_set_code_sync_policy").annotations
@@ -8137,7 +8297,7 @@ function registerSetAllowedOrigins(server) {
8137
8297
  title: localCapability("fillo_set_origins").title,
8138
8298
  description: localCapability("fillo_set_origins").description,
8139
8299
  inputSchema: {
8140
- origins: z18.array(z18.string().trim().min(1)).max(100).describe(
8300
+ origins: z19.array(z19.string().trim().min(1)).max(100).describe(
8141
8301
  'The complete new list, e.g. ["https://app.example.com"]. [] means any origin.'
8142
8302
  ),
8143
8303
  confirm: OUTWARD_CONFIRM
@@ -8286,7 +8446,7 @@ function registerRevokeAgentGrant(server) {
8286
8446
  title: localCapability("fillo_revoke_agent").title,
8287
8447
  description: localCapability("fillo_revoke_agent").description,
8288
8448
  inputSchema: {
8289
- id: z18.string().trim().min(1).describe("Grant id from fillo_list_agents."),
8449
+ id: z19.string().trim().min(1).describe("Grant id from fillo_list_agents."),
8290
8450
  confirm: typedConfirm("grant id")
8291
8451
  },
8292
8452
  annotations: localCapability("fillo_revoke_agent").annotations
@@ -8337,6 +8497,7 @@ function registerTools(server, toolset = "all") {
8337
8497
  });
8338
8498
  registerProvisionWorkspace(server);
8339
8499
  registerWhoami(server);
8500
+ registerFeedback(server);
8340
8501
  registerProjects(server);
8341
8502
  registerPushForm(server);
8342
8503
  registerPublishForm(server);
@@ -8358,7 +8519,7 @@ function registerTools(server, toolset = "all") {
8358
8519
 
8359
8520
  // src/discovery.ts
8360
8521
  import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
8361
- import { z as z19 } from "zod";
8522
+ import { z as z20 } from "zod";
8362
8523
 
8363
8524
  // src/tools/annotations.ts
8364
8525
  var READ_ONLY = {
@@ -8401,18 +8562,18 @@ function registerDiscovery(server) {
8401
8562
  description: "Search Fillo capabilities by task. Returns names, task areas, and permission hints without full schemas. Fetch a schema with fillo_get_tool_schema before calling its native tool.",
8402
8563
  annotations: { ...READ_ONLY, title: "Find Fillo tools" },
8403
8564
  outputSchema: {
8404
- tools: z19.array(
8405
- z19.object({
8406
- name: z19.string(),
8407
- title: z19.string(),
8408
- toolsets: z19.array(z19.string()),
8409
- annotations: z19.record(z19.string(), z19.unknown())
8565
+ tools: z20.array(
8566
+ z20.object({
8567
+ name: z20.string(),
8568
+ title: z20.string(),
8569
+ toolsets: z20.array(z20.string()),
8570
+ annotations: z20.record(z20.string(), z20.unknown())
8410
8571
  })
8411
8572
  )
8412
8573
  },
8413
8574
  inputSchema: {
8414
- query: z19.string().max(200).describe("Task words such as 'publish form', 'responses', or 'delivery'."),
8415
- limit: z19.number().int().min(1).max(20).default(10)
8575
+ query: z20.string().max(200).describe("Task words such as 'publish form', 'responses', or 'delivery'."),
8576
+ limit: z20.number().int().min(1).max(20).default(10)
8416
8577
  }
8417
8578
  },
8418
8579
  async ({ query, limit }) => catalogueResult("Matching Fillo tools.", { tools: searchCapabilities(query, limit) })
@@ -8424,14 +8585,14 @@ function registerDiscovery(server) {
8424
8585
  description: "Return one native tool's complete contract and make that tool available on this connection. Call it by its original name; its credential, validation, and human-confirmation requirements still apply.",
8425
8586
  annotations: { ...READ_ONLY, title: "Read and activate a Fillo tool" },
8426
8587
  outputSchema: {
8427
- name: z19.string(),
8428
- title: z19.string(),
8429
- description: z19.string(),
8430
- inputSchema: z19.record(z19.string(), z19.unknown()),
8431
- annotations: z19.record(z19.string(), z19.unknown())
8588
+ name: z20.string(),
8589
+ title: z20.string(),
8590
+ description: z20.string(),
8591
+ inputSchema: z20.record(z20.string(), z20.unknown()),
8592
+ annotations: z20.record(z20.string(), z20.unknown())
8432
8593
  },
8433
8594
  inputSchema: {
8434
- name: z19.string().min(1).max(100).describe("Exact name from fillo_search_tools.")
8595
+ name: z20.string().min(1).max(100).describe("Exact name from fillo_search_tools.")
8435
8596
  }
8436
8597
  },
8437
8598
  async ({ name }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usefillo/mcp",
3
- "version": "0.11.2",
3
+ "version": "0.12.0",
4
4
  "mcpName": "io.github.jacobfunch/usefillo",
5
5
  "description": "Fillo MCP server — provision, scaffold, publish, and query forms from your coding agent.",
6
6
  "license": "MIT",