Skip to main content
Glama

blog-mcp

MCP server for abelcastro.dev. Exposes tools to create draft posts and list published posts directly from Claude.

Requirements

  • uv

  • An API token created via the Django admin (/admin → API Tokens → Add)

Related MCP server: AutoWP MCP Server

Setup

cd blog-mcp
uv sync

Configuration

Create a .env file in the project root:

BLOG_API_TOKEN="your-token-here"

Optionally, to use a local dev server instead of https://core.abelcastro.dev/api:

BLOG_API_BASE="http://localhost:8000/api"

Claude Code (terminal/IDE)

Add to .mcp.json in the project root:

{
  "mcpServers": {
    "blog": {
      "command": "uv",
      "args": ["run", "server.py"],
      "cwd": "/absolute/path/to/blog-mcp"
    }
  }
}

Claude Desktop app

Add the same block to ~/.claude/claude_desktop_config.json under mcpServers.

Available tools

Tool

Description

create_draft_post(title, content, tags?)

Creates a draft post. content is Markdown. tags is an optional list of strings. Returns the created post including its auto-generated slug.

list_posts(query?)

Lists published posts. Optionally filter by a search term across title, content, and tags.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abel-castro/blog_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server