@usefillo/mcp 0.11.3 → 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.
- package/dist/index.js +186 -32
- package/package.json +1 -1
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"],
|
|
@@ -7439,6 +7561,37 @@ function registerRemoveWebhook(server) {
|
|
|
7439
7561
|
);
|
|
7440
7562
|
}
|
|
7441
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
|
+
|
|
7442
7595
|
// src/tools/whoami.ts
|
|
7443
7596
|
function registerWhoami(server) {
|
|
7444
7597
|
server.registerTool(
|
|
@@ -7508,7 +7661,7 @@ function registerWhoami(server) {
|
|
|
7508
7661
|
}
|
|
7509
7662
|
|
|
7510
7663
|
// src/tools/workspace.ts
|
|
7511
|
-
import { z as
|
|
7664
|
+
import { z as z19 } from "zod";
|
|
7512
7665
|
var WORKSPACE = "workspace:manage";
|
|
7513
7666
|
var MEMBERS = "members:manage";
|
|
7514
7667
|
var LOGIN_ONLY = (what) => fail(
|
|
@@ -7547,7 +7700,7 @@ function registerRenameWorkspace(server) {
|
|
|
7547
7700
|
{
|
|
7548
7701
|
title: localCapability("fillo_rename_workspace").title,
|
|
7549
7702
|
description: localCapability("fillo_rename_workspace").description,
|
|
7550
|
-
inputSchema: { name:
|
|
7703
|
+
inputSchema: { name: z19.string().trim().min(1).max(200).describe("New workspace name.") },
|
|
7551
7704
|
annotations: localCapability("fillo_rename_workspace").annotations
|
|
7552
7705
|
},
|
|
7553
7706
|
async ({ name }) => {
|
|
@@ -7571,8 +7724,8 @@ function registerRenameProject(server) {
|
|
|
7571
7724
|
title: localCapability("fillo_rename_project").title,
|
|
7572
7725
|
description: localCapability("fillo_rename_project").description,
|
|
7573
7726
|
inputSchema: {
|
|
7574
|
-
name:
|
|
7575
|
-
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).")
|
|
7576
7729
|
},
|
|
7577
7730
|
annotations: localCapability("fillo_rename_project").annotations
|
|
7578
7731
|
},
|
|
@@ -7628,7 +7781,7 @@ function registerSetBranding(server) {
|
|
|
7628
7781
|
title: localCapability("fillo_set_branding").title,
|
|
7629
7782
|
description: localCapability("fillo_set_branding").description,
|
|
7630
7783
|
inputSchema: {
|
|
7631
|
-
show:
|
|
7784
|
+
show: z19.boolean().describe("true shows the Fillo badge, false hides it.")
|
|
7632
7785
|
},
|
|
7633
7786
|
annotations: localCapability("fillo_set_branding").annotations
|
|
7634
7787
|
},
|
|
@@ -7718,8 +7871,8 @@ function registerInviteMember(server) {
|
|
|
7718
7871
|
title: localCapability("fillo_invite_member").title,
|
|
7719
7872
|
description: localCapability("fillo_invite_member").description,
|
|
7720
7873
|
inputSchema: {
|
|
7721
|
-
email:
|
|
7722
|
-
role:
|
|
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)."),
|
|
7723
7876
|
confirm: OUTWARD_CONFIRM
|
|
7724
7877
|
},
|
|
7725
7878
|
annotations: localCapability("fillo_invite_member").annotations
|
|
@@ -7786,8 +7939,8 @@ function registerSetMemberRole(server) {
|
|
|
7786
7939
|
title: localCapability("fillo_change_member_role").title,
|
|
7787
7940
|
description: localCapability("fillo_change_member_role").description,
|
|
7788
7941
|
inputSchema: {
|
|
7789
|
-
member:
|
|
7790
|
-
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."),
|
|
7791
7944
|
confirm: OUTWARD_CONFIRM
|
|
7792
7945
|
},
|
|
7793
7946
|
annotations: localCapability("fillo_change_member_role").annotations
|
|
@@ -7823,7 +7976,7 @@ function registerRemoveMember(server) {
|
|
|
7823
7976
|
title: localCapability("fillo_remove_member").title,
|
|
7824
7977
|
description: localCapability("fillo_remove_member").description,
|
|
7825
7978
|
inputSchema: {
|
|
7826
|
-
member:
|
|
7979
|
+
member: z19.string().trim().min(1).describe("Member id or email from fillo_list_members."),
|
|
7827
7980
|
confirm: typedConfirm("member email address")
|
|
7828
7981
|
},
|
|
7829
7982
|
annotations: localCapability("fillo_remove_member").annotations
|
|
@@ -7878,7 +8031,7 @@ function registerRevokeToken(server) {
|
|
|
7878
8031
|
title: localCapability("fillo_revoke_token").title,
|
|
7879
8032
|
description: localCapability("fillo_revoke_token").description,
|
|
7880
8033
|
inputSchema: {
|
|
7881
|
-
id:
|
|
8034
|
+
id: z19.string().trim().min(1).describe("Token id from fillo_list_tokens."),
|
|
7882
8035
|
confirm: typedConfirm("token id")
|
|
7883
8036
|
},
|
|
7884
8037
|
annotations: localCapability("fillo_revoke_token").annotations
|
|
@@ -7936,7 +8089,7 @@ function registerCreateSyncToken(server) {
|
|
|
7936
8089
|
title: localCapability("fillo_create_sync_token").title,
|
|
7937
8090
|
description: localCapability("fillo_create_sync_token").description,
|
|
7938
8091
|
inputSchema: {
|
|
7939
|
-
name:
|
|
8092
|
+
name: z19.string().trim().min(1).max(80).optional().describe('What it is for, e.g. "GitHub Actions" (default "Form sync").')
|
|
7940
8093
|
},
|
|
7941
8094
|
annotations: localCapability("fillo_create_sync_token").annotations
|
|
7942
8095
|
},
|
|
@@ -7968,7 +8121,7 @@ function registerRevokeSyncToken(server) {
|
|
|
7968
8121
|
title: localCapability("fillo_revoke_sync_token").title,
|
|
7969
8122
|
description: localCapability("fillo_revoke_sync_token").description,
|
|
7970
8123
|
inputSchema: {
|
|
7971
|
-
id:
|
|
8124
|
+
id: z19.string().trim().min(1).describe("Sync token id from fillo_list_sync_tokens."),
|
|
7972
8125
|
confirm: typedConfirm("sync token id")
|
|
7973
8126
|
},
|
|
7974
8127
|
annotations: localCapability("fillo_revoke_sync_token").annotations
|
|
@@ -8027,7 +8180,7 @@ function registerRevokeApiKey(server) {
|
|
|
8027
8180
|
title: localCapability("fillo_revoke_api_key").title,
|
|
8028
8181
|
description: localCapability("fillo_revoke_api_key").description,
|
|
8029
8182
|
inputSchema: {
|
|
8030
|
-
id:
|
|
8183
|
+
id: z19.string().trim().min(1).describe("Key id from fillo_list_api_keys."),
|
|
8031
8184
|
confirm: typedConfirm("API key id")
|
|
8032
8185
|
},
|
|
8033
8186
|
annotations: localCapability("fillo_revoke_api_key").annotations
|
|
@@ -8085,7 +8238,7 @@ function registerSetCodeSyncPolicy(server) {
|
|
|
8085
8238
|
title: localCapability("fillo_set_code_sync_policy").title,
|
|
8086
8239
|
description: localCapability("fillo_set_code_sync_policy").description,
|
|
8087
8240
|
inputSchema: {
|
|
8088
|
-
policy:
|
|
8241
|
+
policy: z19.enum(["publishable_key", "trusted_only"]).describe("publishable_key (permissive) or trusted_only (production)."),
|
|
8089
8242
|
confirm: OUTWARD_CONFIRM
|
|
8090
8243
|
},
|
|
8091
8244
|
annotations: localCapability("fillo_set_code_sync_policy").annotations
|
|
@@ -8144,7 +8297,7 @@ function registerSetAllowedOrigins(server) {
|
|
|
8144
8297
|
title: localCapability("fillo_set_origins").title,
|
|
8145
8298
|
description: localCapability("fillo_set_origins").description,
|
|
8146
8299
|
inputSchema: {
|
|
8147
|
-
origins:
|
|
8300
|
+
origins: z19.array(z19.string().trim().min(1)).max(100).describe(
|
|
8148
8301
|
'The complete new list, e.g. ["https://app.example.com"]. [] means any origin.'
|
|
8149
8302
|
),
|
|
8150
8303
|
confirm: OUTWARD_CONFIRM
|
|
@@ -8293,7 +8446,7 @@ function registerRevokeAgentGrant(server) {
|
|
|
8293
8446
|
title: localCapability("fillo_revoke_agent").title,
|
|
8294
8447
|
description: localCapability("fillo_revoke_agent").description,
|
|
8295
8448
|
inputSchema: {
|
|
8296
|
-
id:
|
|
8449
|
+
id: z19.string().trim().min(1).describe("Grant id from fillo_list_agents."),
|
|
8297
8450
|
confirm: typedConfirm("grant id")
|
|
8298
8451
|
},
|
|
8299
8452
|
annotations: localCapability("fillo_revoke_agent").annotations
|
|
@@ -8344,6 +8497,7 @@ function registerTools(server, toolset = "all") {
|
|
|
8344
8497
|
});
|
|
8345
8498
|
registerProvisionWorkspace(server);
|
|
8346
8499
|
registerWhoami(server);
|
|
8500
|
+
registerFeedback(server);
|
|
8347
8501
|
registerProjects(server);
|
|
8348
8502
|
registerPushForm(server);
|
|
8349
8503
|
registerPublishForm(server);
|
|
@@ -8365,7 +8519,7 @@ function registerTools(server, toolset = "all") {
|
|
|
8365
8519
|
|
|
8366
8520
|
// src/discovery.ts
|
|
8367
8521
|
import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
8368
|
-
import { z as
|
|
8522
|
+
import { z as z20 } from "zod";
|
|
8369
8523
|
|
|
8370
8524
|
// src/tools/annotations.ts
|
|
8371
8525
|
var READ_ONLY = {
|
|
@@ -8408,18 +8562,18 @@ function registerDiscovery(server) {
|
|
|
8408
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.",
|
|
8409
8563
|
annotations: { ...READ_ONLY, title: "Find Fillo tools" },
|
|
8410
8564
|
outputSchema: {
|
|
8411
|
-
tools:
|
|
8412
|
-
|
|
8413
|
-
name:
|
|
8414
|
-
title:
|
|
8415
|
-
toolsets:
|
|
8416
|
-
annotations:
|
|
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())
|
|
8417
8571
|
})
|
|
8418
8572
|
)
|
|
8419
8573
|
},
|
|
8420
8574
|
inputSchema: {
|
|
8421
|
-
query:
|
|
8422
|
-
limit:
|
|
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)
|
|
8423
8577
|
}
|
|
8424
8578
|
},
|
|
8425
8579
|
async ({ query, limit }) => catalogueResult("Matching Fillo tools.", { tools: searchCapabilities(query, limit) })
|
|
@@ -8431,14 +8585,14 @@ function registerDiscovery(server) {
|
|
|
8431
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.",
|
|
8432
8586
|
annotations: { ...READ_ONLY, title: "Read and activate a Fillo tool" },
|
|
8433
8587
|
outputSchema: {
|
|
8434
|
-
name:
|
|
8435
|
-
title:
|
|
8436
|
-
description:
|
|
8437
|
-
inputSchema:
|
|
8438
|
-
annotations:
|
|
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())
|
|
8439
8593
|
},
|
|
8440
8594
|
inputSchema: {
|
|
8441
|
-
name:
|
|
8595
|
+
name: z20.string().min(1).max(100).describe("Exact name from fillo_search_tools.")
|
|
8442
8596
|
}
|
|
8443
8597
|
},
|
|
8444
8598
|
async ({ name }) => {
|
package/package.json
CHANGED