# Inblog — how to use (mcp.ai)

Connect your Inblog account and use 10 tools for AI content generation straight from your AI agent. Connect with your own API key. Inblog is an AI-powered blogging platform for managing posts, authors, tags, redirects, design settings, analytics, and lead forms.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_inblog?ms=1787298720000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `inblog_create_post`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/inblog`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/inblog/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/inblog/create/post` — Create an unpublished draft post with content, SEO metadata, and optional tag and author assignments. Use Set Post Publication to publish or schedule it.
  - body: { slug: string, image?: string, title: string, form_id?: integer, tag_ids?: integer[], author_ids?: string[], meta_title?: string, description?: string, content_html?: string, canonical_url?: string, meta_description?: string, preserve_external_images?: boolean }
- `POST https://api.mcp.ai/api/inblog/get/analytics` — Return a bounded blog or post analytics report for traffic trends, traffic sources, or per-post performance.
  - body: { limit?: integer, order?: string, post_id?: integer, sort_by?: string, end_date?: string, interval?: string, page_type?: string, start_date?: string, report_type: string }
- `POST https://api.mcp.ai/api/inblog/get/blog` — Return the connected API key's blog identity, plan, domain, locale, timezone, assets, and integration settings.
- `POST https://api.mcp.ai/api/inblog/list/posts` — List and filter posts in the connected blog, one page at a time, optionally including tags and authors.
  - body: { slug?: string, limit?: integer, order?: string, tag_id?: integer, sort_by?: string, author_id?: string, published?: boolean, next_cursor?: string, content_type?: string, include_content_html?: boolean, include_relationships?: string[], published_at_or_after?: string, published_at_or_before?: string }
- `POST https://api.mcp.ai/api/inblog/list/redirects` — List the blog's URL redirect rules one page at a time.
  - body: { limit?: integer, next_cursor?: string }
- `POST https://api.mcp.ai/api/inblog/list/tags` — Return all tags available in the connected blog for discovery and post assignment.
- `POST https://api.mcp.ai/api/inblog/set/post/publication` — Publish, unpublish, or schedule an existing Inblog post. Returns a normalized publication_status and action_effective result because Inblog represents a schedule as published=true with its future time
  - body: { action: string, post_id: integer, scheduled_at?: string }
- `POST https://api.mcp.ai/api/inblog/update/post` — Partially update a post's content, SEO metadata, or complete tag and author assignments without changing publication state. Omitted fields remain unchanged.
  - body: { slug?: string, image?: string, title?: string, form_id?: integer, post_id: integer, tag_ids?: integer[], author_ids?: string[], meta_title?: string, description?: string, content_html?: string, canonical_url?: string, meta_description?: string, preserve_external_images?: boolean }
- `POST https://api.mcp.ai/api/inblog/upsert/redirect` — Create a URL redirect when redirect_id is omitted, or partially update that redirect when redirect_id is provided.
  - body: { to_path?: string, from_path?: string, redirect_id?: string, redirect_type?: integer }
- `POST https://api.mcp.ai/api/inblog/upsert/tag` — Create a tag when tag_id is omitted, or partially update that tag when tag_id is provided.
  - body: { name?: string, slug?: string, tag_id?: integer }

## Example prompts
- "What can I do in Inblog?"
- "Show me a summary of my Inblog account"

## More
- Page: https://mcp.ai/inblog
- Agent spec (llms.txt): https://mcp.ai/inblog/llms.txt
- Postman collection: https://mcp.ai/inblog/postman.json
