Back to cookbook

AI Prompt to Publish a Blog Draft to WordPress via WordPress's MCP Server

0 views Published

Make this prompt yours

Share

This WordPress MCP prompt is for bloggers, content marketers, and freelance writers who want to go from a finished draft to a properly formatted WordPress post without manually re-typing headings, categories, and tags into the editor. Once a WordPress MCP server is connected, Claude, ChatGPT, or Gemini can create the post directly, set its category and tags, add a featured image placeholder, and leave it as a draft or schedule it, all from one request.

It's especially useful for anyone who writes in a separate document and only moves to WordPress at the very end, since reformatting Markdown or plain text into the right heading structure, internal links, and SEO fields by hand is where most publishing mistakes happen (a missed H2, a broken internal link, a forgotten meta description).

The prompt below asks the model to map the draft's structure to WordPress blocks, assign an appropriate category and tags from the site's existing taxonomy, and confirm the post status before publishing, rather than pushing it live by default.

Prompt template

Make this prompt yours

prompt-template
249 tokens
ROLE: You are a WordPress publishing assistant with access to a WordPress MCP server. CONTEXT: - Site: [SITE_URL] - Draft content: [PASTE_DRAFT_OR_REFERENCE_DOCUMENT] - Existing categories available: [CATEGORY_LIST, or 'retrieve from site'] - Existing tags available: [TAG_LIST, or 'retrieve from site'] - Desired post status: [draft / scheduled for DATE / publish immediately] TASK: 1. If categories and tags are not provided, retrieve the site's existing taxonomy first. 2. Convert the draft into WordPress block-editor format, mapping headings, lists, and links correctly. 3. Assign the most relevant existing category and up to 5 relevant existing tags. 4. Generate an SEO meta title (under 60 characters) and meta description (under 160 characters). 5. Create the post with the specified status. Do not publish immediately unless explicitly instructed. CONSTRAINTS: - Do not invent new categories or tags if existing ones reasonably fit. - Confirm the final post status before finishing and report it clearly. OUTPUT FORMAT: - Post title and slug - Assigned category and tags - Meta title and meta description - Final post status and a link or ID to the created post

Want it sharper? Optimize this prompt with Prompt Optimizer, check it with the Prompt Debugger or shorten it with the Token Optimizer.

Example input

example-input
80 tokens
Site: myfreelanceblog.com Draft content: [a 900-word post titled 'How I Landed My First 5 Upwork Clients' with an intro, three H2 sections, and a closing CTA] Existing categories: Freelancing, Web Development, Career Tips Existing tags: upwork, freelance-tips, client-acquisition, remote-work Desired post status: draft

When to use it

  • You've finished a blog post draft elsewhere (Google Docs, Notion, a plain text file) and need it in WordPress
  • You want headings, lists, and internal links converted correctly into WordPress's block editor format
  • You need the post assigned to the right existing category and tags without manually searching the taxonomy
  • You want the post created as a draft or scheduled, not published immediately, so you can do a final review

Best practices

  • Explicitly state whether the post should be saved as a draft, scheduled, or published immediately
  • Provide the site's existing category and tag list, or ask the model to retrieve it first, instead of letting it invent new ones
  • Ask the model to preserve internal links and confirm they resolve to valid existing pages on the site
  • Review the generated meta title and description against your SEO guidelines before the post goes live

Common mistakes

  • Letting the model create brand-new categories or tags instead of reusing the site's existing taxonomy
  • Not specifying post status, which can result in a draft accidentally being published immediately
  • Pasting raw Markdown without checking that headings map to the correct block-editor heading levels
  • Forgetting to ask for a featured image placeholder or alt text, leaving the post incomplete for SEO

FAQs

Can ChatGPT or Claude actually post directly to my WordPress site?

Yes, but only if it's connected through a WordPress MCP server or a similar integration that exposes your site's REST API as a tool the model can call. Without that connection, the model can only draft the content for you to paste in manually.

How do I stop an AI prompt from accidentally publishing a post live?

Always specify the desired post status explicitly, such as "save as draft" or "schedule for [date]", and ask the model to confirm the final status in its response before you consider the task done.

Will the AI create new WordPress categories instead of using my existing ones?

It can, unless you tell it not to. Providing your site's existing category and tag list up front, or asking the model to retrieve the current taxonomy first, keeps it from inventing new ones that fragment your site's organization.

What's the best way to convert a Google Doc or Notion draft into WordPress blocks?

Paste the draft's full text, including heading levels and any links, and explicitly ask the model to map each heading and list to the corresponding WordPress block type rather than just pasting raw text into a single paragraph block.

Which Cuelara tool can help me check this prompt's quality before using it?

Intelligence Score — run your filled-in prompt through it to catch vague instructions (like an unclear post status) before you hand it to the model.

Found this prompt useful? Share it.

Share

More in Content Creation & Copywriting

Content Creation & Copywriting

AI Prompt to Write an FAQ Page That Answers Real Buyer Objections

This FAQ page prompt is built to produce an FAQ section that does real selling work instead of repeating generic questions like "what paymen…

ROLE: You are a conversion copywriter writing an FAQ section for [PRODUCT/SERVICE NAME]'s [PAGE TYPE, E.G. PRICING PAGE].

CONTEXT:
- Product/service: [ONE-SENTENCE DESCRIPTION]
- Target buyer: [WHO IS BUYING AND WHAT THEY CARE ABOUT]
- Common objections heard from sales calls, support tickets, or reviews: [LIST 5-8 REAL OBJECTIONS]
- Tone: [E.G. DIRECT AND REASSURING, NOT SALESY]

TASK:
1. Turn each objection into a question phrased the way a real customer would ask it.
2. Write a 2-4 sentence answer for each that addresses the concern directly in the first sentence, then adds supporting detail or reassurance.
3. Group the questions in the order a hesitant buyer would likely think of them, biggest objection first.
4. Flag any objection that can't be honestly answered without a product or policy change, instead of writing around it.

CONSTRAINTS:
- Do not make claims about [SPECIFIC FEATURE OR GUARANTEE] unless explicitly confirmed as true.
- Keep each answer under [WORD LIMIT, E.G. 60 WORDS].

OUTPUT FORMAT:
Numbered list of Q&A pairs, plus a short separate note listing any objection flagged as unanswerable as-is.

Make this prompt yours

Content Creation & Copywriting

ChatGPT Prompt to Write a Competitor Comparison Page

This prompt helps you write a competitor comparison page — the "Us vs. [Competitor]" page that shows up high in bottom of funnel searches wh…

You are a conversion copywriter who specializes in writing honest, high-converting competitor comparison pages for B2B software companies.

CONTEXT:
My product is [YOUR PRODUCT], which does [CORE FUNCTION]. The main competitor is [COMPETITOR NAME]. Our target buyer is [BUYER PERSONA / COMPANY SIZE].

KEY FACTS:
- Our pricing: [YOUR PRICING STRUCTURE]
- Their pricing: [COMPETITOR PRICING STRUCTURE]
- Features where we're stronger: [LIST FEATURES]
- Features or areas where they're genuinely strong: [LIST HONEST STRENGTHS]
- Common reason customers switch from them to us: [REASON]

TASK:
Write a competitor comparison page that:
1. Opens with a short, neutral framing of what both products do before taking any side
2. Includes a comparison table covering pricing, core features, and the areas listed above
3. Explicitly acknowledges where [COMPETITOR NAME] is genuinely strong, in 1-2 honest sentences
4. Builds the case for [YOUR PRODUCT] around specific use cases and buyer types, not vague superiority claims
5. Ends with a clear call-to-action appropriate for a buyer who has already compared both options

CONSTRAINTS:
- Do not invent any feature, pricing detail, or limitation not provided above
- Avoid absolute claims like "the best" or "far superior" — use specific, falsifiable comparisons instead
- Keep the tone confident and factual, not dismissive of the competitor
- Target length: approximately [WORD COUNT] words

OUTPUT FORMAT:
Return the page in Markdown with a title, a comparison table, section headers, and a closing call-to-action.

Make this prompt yours

Content Creation & Copywriting

ChatGPT Prompt to Write a LinkedIn Profile Summary That Attracts Clients

This prompt helps freelancers, consultants, and service providers write a LinkedIn profile summary (the "About" section) that reads like a c…

ROLE: You are a copywriter who specializes in LinkedIn profiles for independent consultants and freelancers.

CONTEXT:
- My role/niche: [WHAT YOU DO, e.g. "freelance B2B email marketing strategist"]
- Who I help: [IDEAL CLIENT, e.g. "SaaS companies with 10-50 employees"]
- The problem I solve: [SPECIFIC PROBLEM, e.g. "low email open rates and inconsistent sending"]
- Proof points: [REAL RESULTS, CLIENTS, OR EXPERIENCE, e.g. "grew one client's email revenue 40% in 6 months"]
- Tone: [E.G. "direct and confident", "warm and conversational"]
- Call to action: [WHAT YOU WANT A READER TO DO, e.g. "send a DM" or "book a call via link in profile"]

TASK:
1. Write a LinkedIn About section (under 2,600 characters) following this structure: a one-line hook, who I help and the problem I solve, one or two proof points, and a clear call to action.
2. Provide 3 alternative opening-line hooks, since LinkedIn truncates the summary after about the first line.
3. Avoid generic phrases like "passionate about," "proven track record," or "results-driven" unless I specifically ask for them.

CONSTRAINTS:
- Use only the proof points and details I provide; do not invent client names, numbers, or achievements
- Write in first person
- Keep paragraphs short (2-3 sentences) for readability on mobile

OUTPUT FORMAT:
- The full About section as one block of text
- A separate list of the 3 alternative opening-line hooks

MY DETAILS:
[FILL IN THE CONTEXT FIELDS ABOVE WITH YOUR OWN INFORMATION]

Make this prompt yours