How to Publish a Blog Post from Claude Using MCP (Step-by-Step)

Claude can do more than answer questions. With the Model Context Protocol (MCP), Claude Desktop connects directly to external services — including your blog. You can ask Claude to research a topic, draft a post with structured headings and SEO metadata, review the SEO score, and publish it live. The entire workflow happens in a single conversation.

This tutorial walks through every step: connecting Claude to your blog, creating your first post, understanding the SEO feedback, and publishing. By the end you will have a working setup that lets you blog from Claude whenever you want.

Diagram showing the Claude Desktop to MCP server to blog publishing flow: conversation, MCP tool call, Sanity write, edge delivery
Claude publishes to your blog through MCP tool calls

What you need before starting

  • A Modern Blogging account. Sign up at modernblogging.net — free, no credit card required. If you already have a blog, use that.
  • An MCP API key. Go to Dashboard → API Key and generate one. It starts with mb_ .
  • Claude Desktop installed. Download from claude.ai/download . The MCP integration requires the desktop app, not the web interface.

If you are migrating from WordPress, you can import your WordPress content first and then connect Claude to the imported blog.

Step 1: Connect Claude to your blog

Claude Desktop uses a JSON configuration file to discover MCP servers. You need to add your blog's MCP endpoint to this file.

On macOS:

bash
open ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows:

bash
notepad %APPDATA%\Claude\claude_desktop_config.json

Add the following configuration (create the file if it does not exist):

json
{
  "mcpServers": {
    "modern-blogging": {
      "url": "https://modernblogging.net/api/mcp",
      "headers": {
        "Authorization": "Bearer mb_YOUR_API_KEY"
      }
    }
  }
}

Replace mb_YOUR_API_KEY with the API key from your dashboard. Save the file and restart Claude Desktop. You should see a hammer icon (🔨) in the input area indicating MCP tools are available.

ℹ️

Multiple blogs: If you have several blogs under one account, the MCP server automatically connects to your most recently active blog. Use the switch_tenant tool to change which blog you are working with.

Step 2: Research a topic (optional but recommended)

Before writing, you can ask Claude to research what competitors rank for on your target keyword. The research_topic tool fetches the top search results and analyzes them:

text
You: "Research the topic 'edge computing for blog performance' 
      before we write about it."

Claude calls research_topic with keyword "edge computing for blog performance"

Result: Top 5 competitors average 2,100 words, 6 H2 headings, 
3 images. Common subtopics: CDN caching, TTFB optimization, 
serverless functions, Core Web Vitals impact.

This gives Claude — and you — data-driven guidance on article length, structure, and topics to cover. The research is based on live search results, not training data. Read more about this in the SEO tools guide .

Step 3: Ask Claude to draft a post

Now ask Claude to create a post. Be specific about the topic, tone, and any structural requirements:

text
You: "Write a blog post about edge computing for blog performance. 
Target the keyword 'edge computing blog performance'. Include a 
comparison table, at least 5 H2 sections, and mention Modern 
Blogging's Cloudflare Workers architecture. Create it as a draft."

Claude calls the create_post tool with structured arguments: title, slug, body in Markdown, SEO metadata, focus keyword, categories, and author. The tool creates the post and returns:

  • The post ID — you will need this to publish later.
  • An SEO score (0–100) with field-by-field validation: meta title length, meta description length, keyword density, heading structure, word count, image count.
  • Suggestions for improving the score — for example, "Add 2 more images" or "Meta description is 180 characters, recommended maximum is 156."
Example SEO score output from create_post showing 85/100 with suggestions for title length and image count
Claude receives an SEO score with actionable feedback

Step 4: Review the SEO score and iterate

The SEO validator checks 12 signals. A score of 80+ is publishable; 90+ is excellent. Here is what each signal measures:

Signal

Target

Why it matters

Meta title length

30–60 characters

Truncated in search results if too long

Meta description

120–156 characters

Controls the search snippet

Focus keyword in title

Present

Primary ranking signal

Keyword in meta description

Present

Bold in search results

Keyword in slug

Present

URL ranking factor

Keyword in H2 headings

≥ 1

Topical relevance signal

Keyword density

0.5–2.5 %

Natural usage, not stuffing

Word count

600–3,000

Comprehensive coverage

H2/H3 headings

≥ 3

Content structure for crawlers

Images

≥ 1

Engagement and rich snippets

Internal links

≥ 1

Site structure signal

External links

≥ 1

Authority and context

If the score is below your target, ask Claude to fix the specific issues. For example: "The meta description is too long. Shorten it to under 156 characters." Claude calls update_post to make the change and returns the updated score.

Step 5: Publish

When you are satisfied with the draft:

text
You: "Publish the post."

Claude calls publish_post with the post ID.

Result: Post is now live at 
https://yourblog.modernblogging.net/edge-computing-blog-performance

The post is instantly available. The platform handles cache invalidation, sitemap updates, and Open Graph tag generation. There is no build step or deployment queue — edge rendering means the page is served globally within seconds.

Advanced workflows

Draft-first publishing

The safest workflow for quality content: always create posts as drafts (the default), review them in the dashboard or in Claude, and only publish after manual approval. This is what the no-code AI blogging guide recommends for non-technical users.

Batch content creation

You can ask Claude to create multiple posts in a single conversation. Each create_post call is independent, so Claude can draft five posts, you review the SEO scores for all of them, and then publish the ones that meet your standards.

Category and author management

Beyond posts, Claude can manage your blog structure: create categories ( create_category ), add authors ( create_author ), update site settings ( update_settings ), or generate a new theme ( generate_theme ). The full list of MCP tools is available in the MCP tool reference .

Content updates

Published articles are not locked. Ask Claude to "update the post about edge computing — add a section on Brotli compression" and it calls update_post with the new content. The SEO score recalculates automatically.

Common pitfalls

  • AI-written content needs human review. Claude drafts well-structured content, but you should review for factual accuracy, voice consistency, and claims you cannot verify. The draft-first workflow exists for this reason.
  • SEO score is necessary but not sufficient. A 100/100 score means technical SEO is perfect. It does not guarantee the content is interesting, original, or useful. Those qualities come from your editorial judgment.
  • Image generation is separate. Claude's create_post tool can reference existing images by URL, but it does not generate images. Prepare cover images and inline images separately, upload them via the dashboard or the upload_image MCP tool, and reference them in the post body.
  • Check your subdomain. If you manage multiple blogs, verify which blog is active before publishing. The list_tenants tool shows all your blogs; switch_tenant changes the target.

Claude MCP vs other publishing methods

Method

Speed

SEO feedback

AI assist

Best for

Dashboard editor

10–30 min

Real-time

No

Visual editing, image placement

Claude MCP

2–10 min

Per create/update

Full

Research + draft + publish

Cursor MCP

2–10 min

Per create/update

Full

Developers, IDE workflows

REST API

5–15 min

Response body

No

Automation scripts

n8n / Zapier

Varies

Response body

Partial

Scheduled, triggered workflows

Claude MCP is the fastest path from idea to published post because research, writing, SEO validation, and publishing happen in one conversation without context switching. For IDE-based workflows , Cursor MCP offers the same tools in your editor.

Your first post from Claude

The entire setup — account creation, API key, Claude configuration — takes about 15 minutes. After that, publishing a blog post from Claude is a single conversation. Research a topic, draft, review the SEO score, refine, publish.

Create a free blog , generate an API key, and add the MCP config to Claude Desktop. Your next blog post can be a conversation away.

Share this post
𝕏in
Built with Modern Blogging

This article was written, styled, and published using the Modern Blogging platform. Launch your own fast, SEO-ready publication in minutes.

Start for free →