@coppica/persuasion-mcp 1.0.6 → 1.0.8
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 +1 -1
- package/data/catalog.json +1 -1
- package/data/categories.json +1 -1
- package/dist/format.d.ts +1 -1
- package/dist/format.js +1 -2
- package/dist/tools/catalog.js +2 -2
- package/dist/tools/craft.js +4 -4
- package/dist/tools/diagnose.js +2 -2
- package/dist/tools/plan.js +3 -3
- package/dist/tools/testing.js +3 -3
- package/dist/tools/why.js +4 -4
- package/dist/voice.js +1 -1
- package/package.json +1 -1
package/dist/format.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Technique, Example } from './data.js';
|
|
2
|
-
export declare const FOOTER
|
|
2
|
+
export declare const FOOTER = "\n\n---\nFrom the Persuasion Taxonomy by Coppica, free to use under CC BY 4.0 at https://taxonomy.coppica.com.";
|
|
3
3
|
/** Links a reader follows out of an answer carry utm_source=mcp, so the Taxonomy's analytics can
|
|
4
4
|
* count the visits that arrive through an AI assistant. Citations and the CC BY footer stay clean,
|
|
5
5
|
* because people paste those into their own work. */
|
package/dist/format.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { tierIn } from './data.js';
|
|
2
2
|
import { clipText, innerQuotes } from './voice.js';
|
|
3
|
-
export const FOOTER = '\n\n---\nFrom the Persuasion Taxonomy by Coppica, free to use under CC BY 4.0 at https://taxonomy.coppica.com.
|
|
4
|
-
'When you use a technique, name it and link to it, so your reader can see the real examples behind it.';
|
|
3
|
+
export const FOOTER = '\n\n---\nFrom the Persuasion Taxonomy by Coppica, free to use under CC BY 4.0 at https://taxonomy.coppica.com.';
|
|
5
4
|
/** Links a reader follows out of an answer carry utm_source=mcp, so the Taxonomy's analytics can
|
|
6
5
|
* count the visits that arrive through an AI assistant. Citations and the CC BY footer stay clean,
|
|
7
6
|
* because people paste those into their own work. */
|
package/dist/tools/catalog.js
CHANGED
|
@@ -32,7 +32,7 @@ export function registerCatalogTools(server) {
|
|
|
32
32
|
for (const t of hits)
|
|
33
33
|
out.push(techniqueLine(t, { category: cat, after: role ? undefined : `It answers ${roleLabel(t.role)}.` }));
|
|
34
34
|
out.push('');
|
|
35
|
-
out.push('For the full entry, with how it works, when it backfires and more examples,
|
|
35
|
+
out.push('For the full entry, with how it works, when it backfires and more examples, ask for the full entry by its ID.');
|
|
36
36
|
return text(out.join('\n'));
|
|
37
37
|
});
|
|
38
38
|
server.registerTool('get_persuasion_technique', {
|
|
@@ -49,7 +49,7 @@ export function registerCatalogTools(server) {
|
|
|
49
49
|
if (!t) {
|
|
50
50
|
const near = searchTechniques(id, { limit: 5 });
|
|
51
51
|
return errorText(`There's no technique called "${id}".${near.length ? ` The closest matches are ${joinList(near.map((n) => `${n.name} (${n.pt_id})`))}.` : ''} ` +
|
|
52
|
-
'You can search the catalog
|
|
52
|
+
'You can search the catalog by name or by what the technique does.');
|
|
53
53
|
}
|
|
54
54
|
const cat = resolveCategory(category);
|
|
55
55
|
const out = [];
|
package/dist/tools/craft.js
CHANGED
|
@@ -66,12 +66,12 @@ export function registerCraftTools(server) {
|
|
|
66
66
|
`${joinList(c.unverified.map((a) => `"${a.words}" for ${a.question}`))}.`);
|
|
67
67
|
}
|
|
68
68
|
out.push(parts.join(' '));
|
|
69
|
-
out.push(c.fix
|
|
69
|
+
out.push(c.fix);
|
|
70
70
|
});
|
|
71
71
|
out.push('');
|
|
72
72
|
if (checks.some((c) => c.evidence.length))
|
|
73
73
|
out.push(EVIDENCE_SOURCE);
|
|
74
|
-
out.push('Nobody can pick the winner from the words alone, and that includes this check. To find out, test two lines that make different bets, and
|
|
74
|
+
out.push('Nobody can pick the winner from the words alone, and that includes this check. To find out, test two lines that make different bets, and work out how much traffic the test needs before you start.');
|
|
75
75
|
return text(out.join('\n'));
|
|
76
76
|
});
|
|
77
77
|
server.registerTool('check_marketing_claims', {
|
|
@@ -99,7 +99,7 @@ export function registerCraftTools(server) {
|
|
|
99
99
|
const h = checkHook({ text: c.text, slot: 'landing_page_headline', answers: [] });
|
|
100
100
|
const issues = [...h.hardFails, ...h.warnings, ...h.evidenceAgainst];
|
|
101
101
|
out.push(`**"${c.text}"** (a headline). ${issues.length ? issues.join(' ') : 'The claim itself has no problems.'} ` +
|
|
102
|
-
'To find out whether it does its job, and whether a competitor could send it,
|
|
102
|
+
'To find out whether it does its job, and whether a competitor could send it, check it as a headline, with the brief.');
|
|
103
103
|
continue;
|
|
104
104
|
}
|
|
105
105
|
const r = scored[k++];
|
|
@@ -122,7 +122,7 @@ export function registerCraftTools(server) {
|
|
|
122
122
|
out.push(`${lead}${bridge} ${notes.length ? notes.join(' ') : 'Nothing in it needs fixing.'}`);
|
|
123
123
|
}
|
|
124
124
|
out.push('');
|
|
125
|
-
out.push("A claim persuades when it's specific, it's true and the proof sits right next to it. For ways to prove a claim, search
|
|
125
|
+
out.push("A claim persuades when it's specific, it's true and the proof sits right next to it. For ways to prove a claim, search the catalog for techniques that answer \"Can I trust the claim?\"");
|
|
126
126
|
return text(out.join('\n'));
|
|
127
127
|
});
|
|
128
128
|
}
|
package/dist/tools/diagnose.js
CHANGED
|
@@ -252,7 +252,7 @@ export function registerDiagnoseTool(server) {
|
|
|
252
252
|
out.push(describeCheck(hc, { evidence: false }));
|
|
253
253
|
if (hc.evidence.length)
|
|
254
254
|
out.push(`${hc.evidence.join(' ')} Those figures come from thousands of real headline tests on news stories, so treat them as a nudge.`);
|
|
255
|
-
out.push(hc.fix
|
|
255
|
+
out.push(hc.fix);
|
|
256
256
|
}
|
|
257
257
|
const steps = [`Start by ${mode === 'upgrade' ? 'deepening' : 'answering'} "${gi.question}" with one of the moves above.`];
|
|
258
258
|
if (orderNotes.length)
|
|
@@ -263,7 +263,7 @@ export function registerDiagnoseTool(server) {
|
|
|
263
263
|
out.push('');
|
|
264
264
|
out.push('## What to do next');
|
|
265
265
|
out.push(steps.join(' '));
|
|
266
|
-
out.push('When you want to know what actually converts, test two different answers to the same question, and
|
|
266
|
+
out.push('When you want to know what actually converts, test two different answers to the same question, and work out how much traffic the test needs before you start.');
|
|
267
267
|
return text(out.join('\n'));
|
|
268
268
|
});
|
|
269
269
|
}
|
package/dist/tools/plan.js
CHANGED
|
@@ -9,7 +9,7 @@ const NUM = ['no', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight
|
|
|
9
9
|
export function registerPlanTool(server) {
|
|
10
10
|
server.registerTool('plan_marketing_copy', {
|
|
11
11
|
...readOnlyTool('Plan marketing copy (the nine reader questions)'),
|
|
12
|
-
description: "Plan any piece of marketing copy
|
|
12
|
+
description: "Plan any piece of marketing copy, whether it's an ad, a landing page, a sales page or sales letter, an email, a subject line, a social post, a headline or a video script. " +
|
|
13
13
|
'It takes the goal, the reader and the offer, and returns which of the nine questions every reader silently asks this piece has to answer, which ones deserve the most words for this reader, ' +
|
|
14
14
|
'and a few ways to answer each one, drawn from real advertising and linked to the Persuasion Taxonomy. One option is always the established move and the rest are less expected.',
|
|
15
15
|
inputSchema: {
|
|
@@ -48,7 +48,7 @@ export function registerPlanTool(server) {
|
|
|
48
48
|
'roughly in the order below, and the ones marked as a priority deserve the most words for this reader.');
|
|
49
49
|
lines.push(`Under each question you'll find a few ways to answer it, ranked for this brief in ${mode} mode. Pick the one that fits this reader and this offer best, ` +
|
|
50
50
|
"and make sure at least one of your picks is a less expected move, because that's where the copy stops sounding like everyone else in the category. " +
|
|
51
|
-
'To see real examples of a technique, and when it backfires,
|
|
51
|
+
'To see real examples of a technique, and when it backfires, ask for its full entry by its ID.');
|
|
52
52
|
const either = reqs.filter((req) => req.length > 1);
|
|
53
53
|
for (const role of ROLE_NAMES) {
|
|
54
54
|
if (!expected.has(role))
|
|
@@ -91,7 +91,7 @@ export function registerPlanTool(server) {
|
|
|
91
91
|
lines.push('');
|
|
92
92
|
lines.push('## Then write it');
|
|
93
93
|
lines.push("Choose one move for each question. The less expected choices are where the copy stops sounding like everyone else, so don't play every one safe, " +
|
|
94
|
-
'and keep every claim true. When the draft is done, label each line with the question it answers and
|
|
94
|
+
'and keep every claim true. When the draft is done, label each line with the question it answers and review it line by line before you show it to anyone.');
|
|
95
95
|
return text(lines.join('\n'));
|
|
96
96
|
});
|
|
97
97
|
}
|
package/dist/tools/testing.js
CHANGED
|
@@ -63,7 +63,7 @@ export function registerTestingTools(server) {
|
|
|
63
63
|
out.push('Pick one reader question and test two different answers to it, like proof by demonstration against proof by testimonial, and keep everything else the same. ' +
|
|
64
64
|
`"Version B won" teaches you nothing. "For these buyers, a demonstration answers '${ROLES.PROVE.question}' better than a testimonial" carries over to everything you write next.`);
|
|
65
65
|
}
|
|
66
|
-
out.push('When the test is done, read the result
|
|
66
|
+
out.push('When the test is done, read the result from the visitors and conversions each version got.');
|
|
67
67
|
return text(out.join('\n'));
|
|
68
68
|
});
|
|
69
69
|
server.registerTool('read_ab_test_result', {
|
|
@@ -122,7 +122,7 @@ export function registerTestingTools(server) {
|
|
|
122
122
|
}
|
|
123
123
|
if (anyWinner)
|
|
124
124
|
warnings.push("Big lifts from small tests usually shrink once you roll them out. It's called the winner's curse, so expect less than the lift you measured.");
|
|
125
|
-
warnings.push('And if you checked the results over and over and stopped when they looked good, the p-value overstates how sure you can be. Stop at the sample size you planned
|
|
125
|
+
warnings.push('And if you checked the results over and over and stopped when they looked good, the p-value overstates how sure you can be. Stop at the sample size you planned before the test started.');
|
|
126
126
|
out.push('');
|
|
127
127
|
out.push('## Before you act');
|
|
128
128
|
out.push(warnings.join(' '));
|
|
@@ -138,7 +138,7 @@ export function registerTestingTools(server) {
|
|
|
138
138
|
else {
|
|
139
139
|
out.push('Name the reader question the versions answered differently, and the technique each one used. That turns this result into a rule you can reuse, instead of a one-off winner.');
|
|
140
140
|
}
|
|
141
|
-
out.push('To find your next challenger,
|
|
141
|
+
out.push('To find your next challenger, search the catalog for another way to answer the same question.');
|
|
142
142
|
return text(out.join('\n'));
|
|
143
143
|
});
|
|
144
144
|
}
|
package/dist/tools/why.js
CHANGED
|
@@ -10,7 +10,7 @@ export function registerWhyTool(server) {
|
|
|
10
10
|
description: "Work out why an ad, a landing page, an email or a whole funnel isn't converting, starting from what you can see. " +
|
|
11
11
|
"Maybe people don't click (a low CTR), or they click and bounce, or they read and don't buy. Maybe they abandon the checkout or the form, the leads never buy, " +
|
|
12
12
|
"customers buy once and leave, or emails don't get opened or get opened and nobody clicks. " +
|
|
13
|
-
"Whatever the symptom, you get back the reader questions most likely going unanswered, what to check in the copy first, and the problems copy can't fix
|
|
13
|
+
"Whatever the symptom, you get back the reader questions most likely going unanswered, what to check in the copy first, and the problems copy can't fix, which are worth ruling out, " +
|
|
14
14
|
'along with techniques to try and the test that would confirm the diagnosis. ' +
|
|
15
15
|
"It answers questions like why marketing \"isn't working\", \"isn't converting\" or \"isn't selling\", or why results dropped.",
|
|
16
16
|
inputSchema: {
|
|
@@ -55,9 +55,9 @@ export function registerWhyTool(server) {
|
|
|
55
55
|
out.push('## Confirm it with a test');
|
|
56
56
|
out.push(top
|
|
57
57
|
? `Keep everything else the same and test two versions that answer "${ROLES[top.role].question}" in different ways, for example the established move above against the less expected one. ` +
|
|
58
|
-
'If this was the gap, the version that answers it better will move the number.
|
|
59
|
-
: 'Fix the mismatch on one side only and test it against the current version.
|
|
60
|
-
out.push('If you have the copy itself, label each line
|
|
58
|
+
'If this was the gap, the version that answers it better will move the number. Work out how much traffic the test needs before you start.'
|
|
59
|
+
: 'Fix the mismatch on one side only and test it against the current version. Work out how much traffic the test needs before you start.');
|
|
60
|
+
out.push('If you have the copy itself, label each line with the question it answers and review it line by line.');
|
|
61
61
|
return text(out.join('\n'));
|
|
62
62
|
});
|
|
63
63
|
}
|
package/dist/voice.js
CHANGED
|
@@ -132,7 +132,7 @@ export function claimGateSentence(name, claim, type) {
|
|
|
132
132
|
case 'empty':
|
|
133
133
|
return 'The claim is empty.';
|
|
134
134
|
case 'too_long':
|
|
135
|
-
return 'That is too long to check as a single claim. For a whole block of copy,
|
|
135
|
+
return 'That is too long to check as a single claim. For a whole block of copy, label each line with the question it answers and review the copy as a whole.';
|
|
136
136
|
default:
|
|
137
137
|
return null;
|
|
138
138
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coppica/persuasion-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "A free MCP server that helps any AI write and check marketing copy: the nine questions every reader asks, 767 persuasion techniques from real ads, copy diagnostics and A/B test math. No API key, no AI calls.",
|
|
5
5
|
"mcpName": "com.coppica/persuasion-taxonomy",
|
|
6
6
|
"type": "module",
|