@coppica/persuasion-mcp 1.0.5 → 1.0.7
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/dist/format.d.ts +1 -1
- package/dist/format.js +1 -2
- package/dist/schemas.js +5 -5
- package/dist/server.js +5 -7
- package/dist/tools/catalog.js +6 -6
- package/dist/tools/craft.js +5 -5
- package/dist/tools/diagnose.js +5 -5
- package/dist/tools/plan.js +3 -4
- package/dist/tools/testing.js +4 -4
- package/dist/tools/why.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ Nothing you send it. Your copy, your brief and your test numbers are used to ans
|
|
|
81
81
|
|
|
82
82
|
## Where the techniques come from
|
|
83
83
|
|
|
84
|
-
Every technique is an entry in [The Persuasion Taxonomy](https://taxonomy.coppica.com), a catalog of persuasion techniques documented from real ads, sales letters, emails and pages, with examples from the 1920s to now. The catalog is free under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
84
|
+
Every technique is an entry in [The Persuasion Taxonomy](https://taxonomy.coppica.com), a catalog of persuasion techniques documented from real ads, sales letters, emails and pages, with examples from the 1920s to now. The catalog is free under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Each technique comes with a link to its page, which shows the real examples behind the advice.
|
|
85
85
|
|
|
86
86
|
## Develop
|
|
87
87
|
|
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/schemas.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { GOALS, FORMATS, AWARENESS, ROLE_NAMES, ROLES, normalizeRole } from './roles.js';
|
|
3
3
|
import { CATEGORY_NAMES } from './data.js';
|
|
4
|
-
export const goalSchema = z.enum(GOALS).describe('What the copy has to get the reader to do
|
|
5
|
-
'click
|
|
4
|
+
export const goalSchema = z.enum(GOALS).describe('What the copy has to get the reader to do: purchase means buy now, signup means an opt-in, a trial, a demo or a lead form, ' +
|
|
5
|
+
'click means the whole job is the click (most ads and links), and engagement covers nurture emails, newsletters and social posts that should be read, answered or followed.');
|
|
6
6
|
export const formatSchema = z.enum(FORMATS).describe('The kind of copy it is: ad, landing_page, sales_letter for long-form sales copy, email, email_subject, social_post, video_script or headline.');
|
|
7
|
-
export const awarenessSchema = z.enum(AWARENESS).describe("How much the reader already knows, on Eugene Schwartz's scale
|
|
8
|
-
"solution_aware
|
|
7
|
+
export const awarenessSchema = z.enum(AWARENESS).describe("How much the reader already knows, on Eugene Schwartz's scale: unaware means they don't know they have the problem, problem_aware that they feel it, " +
|
|
8
|
+
"solution_aware that they know solutions exist, product_aware that they know you, and most_aware that they're ready and only need the offer.");
|
|
9
9
|
export const roleSchema = z.preprocess(normalizeRole, z.enum(ROLE_NAMES)).describe('The reader question the text answers, by its role name: ' + ROLE_NAMES.map((r) => `${r} for "${ROLES[r].question}"`).join(', ') + '.');
|
|
10
|
-
export const categorySchema = z.string().max(60).describe(`The industry,
|
|
10
|
+
export const categorySchema = z.string().max(60).describe(`The industry, for a comparison with what brands in that category usually do. There is enough data for ${CATEGORY_NAMES.join(', ')}. ` +
|
|
11
11
|
'Any other category still works, just without the comparison.');
|
|
12
12
|
export const modeSchema = z.enum(['aggressive', 'balanced', 'equity']).default('balanced').describe('How hard the copy is allowed to push. Balanced is the default, persuasive and sustainable over time. Equity protects long-term trust, so it rules out fear, hype and hard-sell moves. ' +
|
|
13
13
|
'Aggressive is for short-term direct response and allows fear, threat and hard scarcity. In every mode, the claims stay true.');
|
package/dist/server.js
CHANGED
|
@@ -23,13 +23,11 @@ export const INSTRUCTIONS = [
|
|
|
23
23
|
`The model of the reader is simple. Everyone who reads an ad, a page or an email is silently asking nine questions: ${QUESTIONS} ` +
|
|
24
24
|
'Copy persuades when it answers the questions its goal needs, answers them truthfully, and the answers fit together. When one answer contradicts another, ' +
|
|
25
25
|
'the reader feels that something is off and trusts everything else a little less.',
|
|
26
|
-
'
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
'
|
|
30
|
-
|
|
31
|
-
"and check_marketing_claims does the same for claims and buttons. If a funnel isn't converting, start with explain_why_not_converting. " +
|
|
32
|
-
"And when it's time to test, plan_ab_test sizes the test and read_ab_test_result tells you what it found.",
|
|
26
|
+
'The tools cover writing, reviewing and testing marketing copy, from ads and landing pages to emails, subject lines, social posts, headlines and scripts. ' +
|
|
27
|
+
'plan_marketing_copy plans a piece around the questions its goal needs, and diagnose_marketing_copy reviews a draft against them. ' +
|
|
28
|
+
'find_persuasion_techniques searches the catalog, and get_persuasion_technique returns one technique in full. ' +
|
|
29
|
+
'check_headlines checks and compares headlines, hooks and subject lines, and check_marketing_claims checks claims and buttons. ' +
|
|
30
|
+
"explain_why_not_converting works back from what a funnel shows to the likely cause. plan_ab_test sizes an A/B test, and read_ab_test_result reads its result.",
|
|
33
31
|
'Each technique comes with a link to its page, which shows the real examples behind it.',
|
|
34
32
|
].join('\n\n');
|
|
35
33
|
function nineQuestionsDoc() {
|
package/dist/tools/catalog.js
CHANGED
|
@@ -9,13 +9,13 @@ export function registerCatalogTools(server) {
|
|
|
9
9
|
server.registerTool('find_persuasion_techniques', {
|
|
10
10
|
...readOnlyTool('Find persuasion techniques'),
|
|
11
11
|
description: `Search the Persuasion Taxonomy, ${TECHNIQUES.length} named persuasion techniques documented from real advertising and organized by the nine reader questions they answer. ` +
|
|
12
|
-
'
|
|
13
|
-
'prove a claim or reframe a problem
|
|
12
|
+
'It takes a plain description of what the copy should do, like handle a price objection, make an opening less generic, ' +
|
|
13
|
+
'prove a claim or reframe a problem, and finds the techniques that do it. Each one comes with its name and ID, a one-line definition, a real example, ' +
|
|
14
14
|
'how common it is in a category if you name one, and a link. ' +
|
|
15
|
-
'
|
|
15
|
+
'It answers requests for tactics, angles or a less expected way to make a point.',
|
|
16
16
|
inputSchema: {
|
|
17
|
-
query: z.string().min(2).max(300).describe('What
|
|
18
|
-
question: roleSchema.optional().describe('
|
|
17
|
+
query: z.string().min(2).max(300).describe('What the copy should do, in plain words, like "handle a price objection".'),
|
|
18
|
+
question: roleSchema.optional().describe('Limits the results to techniques that answer one reader question.'),
|
|
19
19
|
format: formatSchema.optional(),
|
|
20
20
|
category: categorySchema.optional(),
|
|
21
21
|
limit: z.number().int().min(1).max(20).default(8),
|
|
@@ -39,7 +39,7 @@ export function registerCatalogTools(server) {
|
|
|
39
39
|
...readOnlyTool('Get a persuasion technique'),
|
|
40
40
|
description: 'Look up one persuasion technique by its ID (like PT-PRV-10000), its slug or its name. You get the full definition, why it works, when it lands and when it backfires, ' +
|
|
41
41
|
'real examples from advertising, related and opposite techniques, and a link you can cite. ' +
|
|
42
|
-
'
|
|
42
|
+
'It answers questions like what a tactic is called or how it works.',
|
|
43
43
|
inputSchema: {
|
|
44
44
|
id: z.string().min(2).max(160).describe('The PT-ID, the slug or the exact name of the technique.'),
|
|
45
45
|
category: categorySchema.optional(),
|
package/dist/tools/craft.js
CHANGED
|
@@ -23,8 +23,8 @@ export function registerCraftTools(server) {
|
|
|
23
23
|
description: 'Check headlines, email subject lines, ad openings, video hooks, social post openings and first lines, and compare options against each other. ' +
|
|
24
24
|
'For each line it tells you whether the line does its job in that spot, meaning which of the nine reader questions it answers, and whether a competitor could send it unchanged. ' +
|
|
25
25
|
'It also shows exactly what a reader sees before the cutoff, flags anything that fails outright, and brings in evidence from thousands of real headline tests. ' +
|
|
26
|
-
'Then it
|
|
27
|
-
'
|
|
26
|
+
'Then it says what each option is betting on and which two to test. ' +
|
|
27
|
+
'It answers requests to check or choose between headlines, hooks or subject lines, including "which one is best?" ' +
|
|
28
28
|
"You won't get a score out of ten. Nobody can predict a winner from the words alone, and that includes this tool.",
|
|
29
29
|
inputSchema: {
|
|
30
30
|
slot: z.enum(SLOTS).describe(`Where the lines will appear: ${SLOTS.join(', ')}. Each spot has its own job, and the check tells you what it is.`),
|
|
@@ -78,12 +78,12 @@ export function registerCraftTools(server) {
|
|
|
78
78
|
...readOnlyTool('Check marketing claims and CTAs'),
|
|
79
79
|
description: 'Check whether marketing claims and calls to action are specific enough to believe. It catches the vague superlative, like "the best" or "#1", that readers discount on sight. ' +
|
|
80
80
|
'It catches promises with no proof behind them and results with no mechanism, and it flags the generic buttons everyone uses, like "Learn more" and "Get started". ' +
|
|
81
|
-
'Then it
|
|
82
|
-
'For
|
|
81
|
+
'Then it says how to fix each one. It covers claims like "results in days", "trusted by thousands" or "the #1 tool", and any button text. ' +
|
|
82
|
+
'For a headline, it checks the claim only, not whether the headline does its job in its spot.',
|
|
83
83
|
inputSchema: {
|
|
84
84
|
claims: z.array(z.object({
|
|
85
85
|
text: z.string().min(2).max(600).describe('The claim or the button text, exactly as written.'),
|
|
86
|
-
type: z.enum(['headline', 'cta', 'body_claim']).describe('
|
|
86
|
+
type: z.enum(['headline', 'cta', 'body_claim']).describe('headline, cta (a button or call to action) or body_claim (a claim inside the copy).'),
|
|
87
87
|
context: z.string().max(1500).optional().describe('For a claim in the body, the paragraph around it, so a mechanism named nearby still counts.'),
|
|
88
88
|
})).min(1).max(30),
|
|
89
89
|
},
|
package/dist/tools/diagnose.js
CHANGED
|
@@ -48,11 +48,11 @@ export function registerDiagnoseTool(server) {
|
|
|
48
48
|
server.registerTool('diagnose_marketing_copy', {
|
|
49
49
|
...readOnlyTool('Diagnose marketing copy (roast / review)'),
|
|
50
50
|
description: "Review, critique or roast any piece of marketing copy, whether it's an ad, a landing page, an email, a sales page, a social post or a script, and find out why it might not persuade. " +
|
|
51
|
-
'
|
|
52
|
-
'
|
|
51
|
+
'It takes the copy and line-by-line labels naming the reader question each persuasive line answers. ' +
|
|
52
|
+
'It returns which of the nine questions the copy answers for its goal, which it answers weakly and which it skips, along with the biggest gap and what readers do when it is missing. ' +
|
|
53
53
|
'It also checks the order, whether the answers agree with each other, and the craft, pointing to the exact words that read as machine-written, like em dashes, ' +
|
|
54
54
|
'"it\'s not X, it\'s Y" lines and sentences that all run the same length. Then it checks the opening line and suggests techniques from the catalog to fill the gap. ' +
|
|
55
|
-
"
|
|
55
|
+
"It answers requests like \"is this good?\", \"roast this\", \"what's wrong with this copy?\" and \"how do I make it better?\"",
|
|
56
56
|
inputSchema: {
|
|
57
57
|
copy: z.string().min(10).max(30000).describe('The full copy, exactly as written.'),
|
|
58
58
|
goal: goalSchema,
|
|
@@ -60,8 +60,8 @@ export function registerDiagnoseTool(server) {
|
|
|
60
60
|
moves: z.array(z.object({
|
|
61
61
|
excerpt: z.string().min(2).max(400).describe('An exact quote from the copy, whether a sentence, a line or a short passage.'),
|
|
62
62
|
question: roleSchema,
|
|
63
|
-
clarity: z.enum(['clear', 'partial']).default('clear').describe('
|
|
64
|
-
})).min(1).max(80).describe('
|
|
63
|
+
clarity: z.enum(['clear', 'partial']).default('clear').describe('clear: the line answers the question well. partial: it only gestures at it.'),
|
|
64
|
+
})).min(1).max(80).describe('Line-by-line labels: each persuasive line quoted exactly, with the one reader question it mainly answers. Lines that are pure filler are left out.'),
|
|
65
65
|
awareness_level: awarenessSchema.optional(),
|
|
66
66
|
category: categorySchema.optional(),
|
|
67
67
|
headline: z.string().max(300).optional().describe("The headline or opening line, if it isn't the first line of the copy."),
|
package/dist/tools/plan.js
CHANGED
|
@@ -9,10 +9,9 @@ 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
|
|
13
|
-
'
|
|
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
|
-
'Use it before you draft, and check the finished draft with diagnose_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
|
+
'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
|
+
'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.',
|
|
16
15
|
inputSchema: {
|
|
17
16
|
goal: goalSchema,
|
|
18
17
|
format: formatSchema,
|
package/dist/tools/testing.js
CHANGED
|
@@ -12,10 +12,10 @@ const pValue = (p) => (p < 0.0001 ? 'below 0.0001' : p.toFixed(4));
|
|
|
12
12
|
export function registerTestingTools(server) {
|
|
13
13
|
server.registerTool('plan_ab_test', {
|
|
14
14
|
...readOnlyTool('Plan an A/B test'),
|
|
15
|
-
description: 'Plan an A/B test for marketing copy.
|
|
16
|
-
'and
|
|
15
|
+
description: 'Plan an A/B test for marketing copy. It takes the current conversion rate, the smallest lift worth detecting and the daily traffic, ' +
|
|
16
|
+
'and returns how many visitors each version needs and how many days to run. It also frames the test as two different answers to the same reader question, ' +
|
|
17
17
|
'so the result teaches you something you can reuse, and not just that "B won". ' +
|
|
18
|
-
'
|
|
18
|
+
'It answers questions like how long to run a test, how much traffic it needs, whether a test is worth running, or what to test next.',
|
|
19
19
|
inputSchema: {
|
|
20
20
|
baseline_conversion_rate_percent: z.number().positive().lt(100).describe('The current conversion rate, in percent, so 3 means 3% and 0.8 means 0.8%.'),
|
|
21
21
|
minimum_detectable_lift_percent: z.number().positive().max(500).describe('The smallest relative lift worth detecting, in percent. 20 means a 20% lift, like going from 3% to 3.6%.'),
|
|
@@ -71,7 +71,7 @@ export function registerTestingTools(server) {
|
|
|
71
71
|
description: "Read the result of an A/B test. You get each version's conversion rate and lift, whether the difference is statistically significant, the confidence interval, " +
|
|
72
72
|
'and the chance each version really beats the original. It also warns you about the things that make a test result lie. Those include too few conversions, ' +
|
|
73
73
|
"traffic that didn't split the way it should (a sample ratio mismatch), stopping the moment it looked good, and testing too many versions at once. " +
|
|
74
|
-
"
|
|
74
|
+
"It answers questions like \"did my test win?\", \"is this significant?\", \"which version won?\" or \"should I keep it running?\"",
|
|
75
75
|
inputSchema: {
|
|
76
76
|
versions: z.array(z.object({
|
|
77
77
|
name: z.string().min(1).max(120),
|
package/dist/tools/why.js
CHANGED
|
@@ -7,12 +7,12 @@ import { readOnlyTool } from '../annotations.js';
|
|
|
7
7
|
export function registerWhyTool(server) {
|
|
8
8
|
server.registerTool('explain_why_not_converting', {
|
|
9
9
|
...readOnlyTool('Explain why marketing is not converting'),
|
|
10
|
-
description: "Work out why an ad, a landing page, an email or a whole funnel isn't converting
|
|
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: {
|
|
17
17
|
symptom: z.enum(SYMPTOMS).describe('What you can see happening. Use low_click_through when people see it and don\'t click, high_bounce when they click and leave fast, reads_but_no_action when they read and don\'t convert, ' +
|
|
18
18
|
'starts_but_abandons when they abandon the checkout or form, leads_dont_buy when signups never buy, buys_once_no_return for refunds, churn and no repeat orders, ' +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coppica/persuasion-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
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",
|