Skip to main content
Glama

@lweight/inblog-mcp

MCP (Model Context Protocol) server for the inblog.ai blogging platform API.

Manage your inblog blog directly from AI tools like Claude Code — list, create, update, publish, and delete posts and tags without leaving your workflow.

Quick Start

Add to your Claude Code MCP configuration:

{
  "mcpServers": {
    "inblog": {
      "command": "npx",
      "args": ["-y", "@lweight/inblog-mcp"],
      "env": {
        "INBLOG_API_KEY": "your-api-key-here"
      }
    }
  }
}

Get your API key from: inblog dashboard > Settings > API Keys

Related MCP server: WordPress MCP Server

Tools (11)

Posts

Tool

Description

inblog_list_posts

List posts with filtering (published/drafts), sorting, and pagination

inblog_get_post

Get a post by ID with full content and metadata

inblog_create_post

Create a new draft post

inblog_update_post

Update post fields (title, content, SEO metadata, etc.)

inblog_publish_post

Publish a draft post

inblog_delete_post

Delete a post permanently

Tags

Tool

Description

inblog_list_tags

List all tags with pagination

inblog_create_tag

Create a new tag

inblog_assign_tags

Assign tags to a post

inblog_delete_tag

Delete a tag permanently

Blog

Tool

Description

inblog_get_blog

Get blog settings (title, domain, GA, etc.)

Features

  • Two output formats: markdown (human-readable) and json (structured data) for all read tools

  • Pagination: Page-based pagination with has_more indicator

  • Error handling: Specific error messages with actionable suggestions for each HTTP status

  • Input validation: Zod schemas with strict mode — rejects unknown fields, validates ID formats

  • Response truncation: Large responses are automatically truncated with notice (25,000 char limit)

  • Tool annotations: readOnlyHint, destructiveHint, idempotentHint for safe AI behavior

Configuration

Set INBLOG_API_KEY in your MCP server configuration's env field.

.env File (fallback)

The server also checks for a .env file in the working directory:

INBLOG_API_KEY=your-api-key-here

Requirements

  • Node.js >= 18

  • inblog.ai account with API access (Team plan or higher)

License

MIT

Available Tools

11 tools
inblog_assign_tagsAssign Tags to PostA
Idempotent

Assign tags to a blog post. Replaces any existing tag assignments. Use inblog_list_tags to find tag IDs first.

Args: post_id (string, required): The post ID to assign tags to tag_ids (string[], required): Array of tag IDs to assign. Min 1 tag.

Returns: Confirmation with post ID and assigned tag IDs.

Examples: {post_id: "post123", tag_ids: ["tag1", "tag2"]} {post_id: "post123", tag_ids: ["tag1"]}

Errors: 401 (auth), 404 (post or tag not found), 422 (validation), 500 (server)

Inputs: post_id (required), tag_ids (required).

inblog_create_postCreate PostA

Create a new blog post. The post is created as a draft (unpublished). Use inblog_publish_post to publish it after creation.

Args: title (string, required): Post title slug (string, required): URL slug (e.g., 'my-first-post'). Must be unique. content_html (string, optional): Post body as HTML (TipTap editor format) meta_title (string, optional): SEO meta title. Falls back to title. meta_description (string, optional): SEO meta description. Recommended 150-160 chars. image (string URL, optional): Featured image URL. inblog auto-uploads to R2 storage. head_start_script (string, optional): JavaScript injected at start (e.g., hreflang script). json_ld_script (string, optional): Raw JSON-LD for BlogPosting schema (not a script tag). faq_json_ld_script (string, optional): Raw JSON-LD for FAQPage schema. Auto-wrapped in injection.

Returns: Created post with id, title, slug, and status.

Examples: Minimal: {title: "My Post", slug: "my-post"} Full: {title: "AI Guide", slug: "ai-guide", content_html: "Hello", meta_title: "AI Guide | My Blog", meta_description: "Learn about AI..."}

Errors: 401 (auth), 422 (validation — check title/slug), 500 (server)

Inputs: slug (required), title (required), image, meta_title, +5 more.

inblog_create_tagCreate TagA

Create a new blog tag.

Args: name (string, required): Tag display name (e.g., 'Product Update') slug (string, required): Tag URL slug (e.g., 'product-update'). Must be unique.

Returns: Created tag with id, name, slug.

Examples: {name: "SEO", slug: "seo"} {name: "Product Update", slug: "product-update"}

Errors: 401 (auth), 422 (validation — check name/slug uniqueness), 500 (server)

Inputs: name (required), slug (required).

inblog_delete_postDelete PostA
Destructive

Delete a blog post permanently. This action is irreversible.

Args: post_id (string, required): The post ID to delete

Returns: Confirmation of deletion with the deleted post ID.

Examples: {post_id: "abc123"}

Errors: 401 (auth), 404 (not found — already deleted or wrong ID), 500 (server)

Inputs: post_id (required).

inblog_delete_tagDelete TagA
DestructiveIdempotent

Delete a blog tag permanently. This action is irreversible.

Args: tag_id (string, required): The tag ID to delete

Returns: Confirmation of deletion with the deleted tag ID.

Examples: {tag_id: "12345"}

Errors: 401 (auth), 404 (not found), 500 (server)

Inputs: tag_id (required).

inblog_get_blogGet Blog InfoA
Read-onlyIdempotent

Get blog settings and information (title, description, domain, etc.).

Args: response_format (string, optional): 'markdown' (default) or 'json'

Returns: Blog details including id, title, description, domain, logo.

Examples: Get blog info: {} As JSON: {response_format: "json"}

Errors: 401 (auth), 500 (server)

Inputs: response_format.

inblog_get_postGet PostA
Read-onlyIdempotent

Get a single blog post by ID, including full content, metadata, and tags.

Args: post_id (string, required): The post ID response_format (string, optional): 'markdown' (default) or 'json'

Returns: Full post details including id, title, slug, content_html, meta_title, meta_description, image, published status, dates, and associated tags.

Examples: Get post: {post_id: "abc123"} As JSON: {post_id: "abc123", response_format: "json"}

Errors: 401 (auth), 404 (not found — check ID), 500 (server)

Inputs: post_id (required), response_format.

inblog_list_postsList PostsA
Read-onlyIdempotent

List blog posts with optional filtering, sorting, and pagination.

Args: filter_published (bool, optional): true=published, false=drafts, omit=all sort (string, optional): Sort field (created_at, -created_at, updated_at, -updated_at, published_at, -published_at, title, -title). Default: -created_at page (int, optional): Page number, 1-based. Default: 1 limit (int, optional): Items per page, 1-100. Default: 20 response_format (string, optional): 'markdown' (default) or 'json'

Returns: List of posts with id, title, slug, published status, dates. Includes pagination metadata (total, count, page, totalPages, has_more).

Examples: List all posts: {} Published only: {filter_published: true} Page 2: {page: 2, limit: 10}

Errors: 401 (auth), 403 (permission), 500 (server)

Inputs: page, sort, limit, response_format, +1 more.

inblog_list_tagsList TagsB
Read-onlyIdempotent

List all blog tags with pagination.

Args: page (int, optional): Page number, 1-based. Default: 1 limit (int, optional): Items per page, 1-100. Default: 20 response_format (string, optional): 'markdown' (default) or 'json'

Returns: List of tags with id, name, slug. Includes pagination metadata (total, count, page, totalPages, has_more).

Examples: List all tags: {} As JSON: {response_format: "json"}

Errors: 401 (auth), 500 (server)

Inputs: page, limit, response_format.

inblog_publish_postPublish PostA
Idempotent

Publish a draft post. Uses PATCH /posts/{id} with published:true. Note: published_at is set automatically by the server — cannot be set manually.

Args: post_id (string, required): The post ID to publish

Returns: Published post with id, title, slug, published_at timestamp.

Examples: {post_id: "abc123"}

Errors: 401 (auth), 404 (not found), 500 (server)

Inputs: post_id (required).

inblog_update_postUpdate PostA
Idempotent

Update an existing blog post. Only specified fields are changed.

Args: post_id (string, required): The post ID to update title (string, optional): New post title slug (string, optional): New URL slug content_html (string, optional): New post body as HTML meta_title (string, optional): New SEO meta title meta_description (string, optional): New SEO meta description image (string URL, optional): New featured image URL head_start_script (string, optional): New JavaScript injected at start (e.g., hreflang script) json_ld_script (string, optional): New raw JSON-LD for BlogPosting schema (not a script tag) faq_json_ld_script (string, optional): New raw JSON-LD for FAQPage schema. Auto-wrapped in injection. published (bool, optional): Set published status (true=publish, false=unpublish)

Returns: Updated post with id, title, slug, and changed fields.

Examples: Update title: {post_id: "abc123", title: "New Title"} Update SEO: {post_id: "abc123", meta_title: "SEO Title", meta_description: "..."} Unpublish: {post_id: "abc123", published: false}

Errors: 401 (auth), 404 (not found), 422 (validation), 500 (server)

Inputs: post_id (required), slug, image, title, +7 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 11 tools

    Disambiguation4/5

    Each tool targets a distinct resource+action, and the post/tag/blog grouping is clear. The main overlap is inblog_publish_post versus inblog_update_post's published flag, which perform essentially the same state change and could cause misselection.

    Naming Consistency5/5

    All tools use the same inblog_verb_noun snake_case pattern (list_posts, get_post, create_tag, assign_tags, get_blog). No mixing of conventions or vague standalone verbs.

    Tool Count5/5

    Eleven tools is well within the ideal range and each maps to a meaningful blog operation. The only slightly redundant tool is publish_post, but it earns its place as a convenience action.

    Completeness4/5

    Post lifecycle (list/get/create/update/publish/delete) and tag create/list/assign/delete are covered. Minor gaps: no update_tag, no update_blog settings, and assign_tags requires at least one tag, so there is no way to clear all tags from a post.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers