@typeroll/mcp-server 0.18.0 → 0.19.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/tools/forms.js +0 -2
- package/package.json +1 -1
- package/skills/tr-forms.md +8 -3
package/dist/tools/forms.js
CHANGED
|
@@ -46,7 +46,6 @@ export const formTools = [
|
|
|
46
46
|
fields: z.array(fieldSchema).min(1),
|
|
47
47
|
submit_text: z.string().optional(),
|
|
48
48
|
success_message: z.string().optional(),
|
|
49
|
-
actions: z.array(z.object({ type: z.string(), config: z.record(z.unknown()) })).optional(),
|
|
50
49
|
},
|
|
51
50
|
handler: withErrorBoundary(async (args, { client, siteId }) => {
|
|
52
51
|
const res = await client.post(siteId, 'forms', args);
|
|
@@ -63,7 +62,6 @@ export const formTools = [
|
|
|
63
62
|
fields: z.array(fieldSchema).optional(),
|
|
64
63
|
submit_text: z.string().optional(),
|
|
65
64
|
success_message: z.string().optional(),
|
|
66
|
-
actions: z.array(z.object({ type: z.string(), config: z.record(z.unknown()) })).optional(),
|
|
67
65
|
}),
|
|
68
66
|
},
|
|
69
67
|
handler: withErrorBoundary(async (args, { client, siteId }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typeroll/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Model Context Protocol server for the Typeroll public API. Use with Claude Code or any MCP-compatible client to manage a Typeroll site.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/skills/tr-forms.md
CHANGED
|
@@ -291,6 +291,11 @@ portal at `/app/sites/{siteId}/forms/kontakt/submissions`.
|
|
|
291
291
|
unique per site — use descriptive names: `kontakt`, `boka`, `nyhetsbrev`.
|
|
292
292
|
- **Honeypot must be invisible.** `_hp` field must have `display:none`.
|
|
293
293
|
If it's visible and a real user fills it, their submission is rejected.
|
|
294
|
-
- **
|
|
295
|
-
the portal's Submissions inbox
|
|
296
|
-
|
|
294
|
+
- **Email notifications are admin-only — not settable via MCP.** Submissions
|
|
295
|
+
are stored and visible in the portal's Forms → Submissions inbox. A site
|
|
296
|
+
admin can also configure post-submission emails (admin notification +
|
|
297
|
+
autoresponder) under **Forms → <form> → Email**, after setting up an email
|
|
298
|
+
connector under **Settings → Email & notifications**. These carry recipient
|
|
299
|
+
addresses + templates over submission data, so they're deliberately off the
|
|
300
|
+
agent surface (`create_form`/`update_form` ignore `actions`). Point the
|
|
301
|
+
customer at those screens; you can't set them up for them.
|