LotsBlog for
your AI agent.
Your agent writes; LotsBlog stores articles and images, manages topics, previews, schedules and publishes on a subdomain or your own domain, with canonical URLs, structured data, sitemaps, RSS, llms.txt and Markdown copies for every post.
https://api.lots.blog/mcpAsk your agent, for example.
Once LotsBlog is connected, plain requests like these work.
- “Draft a 1,200-word post on this topic and send me the preview link.”
- “Schedule the approved draft for Tuesday 10am.”
- “Which posts got the most views this month?”
Connect in two minutes.
Claude
Settings → Connectors → Add custom connector. Paste the URL, connect, and sign in with your Lots account.
ChatGPT
Settings → Apps & Connectors → Advanced → turn on Developer mode, then Create a connector with the URL and sign in.
Claude Code
claude mcp add --transport http lots-blog https://api.lots.blog/mcp
Codex
codex mcp add lots-blog --url https://api.lots.blog/mcp
Cursor, Windsurf and others
{
"mcpServers": {
"lots-blog": {
"url": "https://api.lots.blog/mcp"
}
}
}Cloud agents without MCP
Give the agent https://api.lots.blog/docs.md and an API key from lotstech.com/api. It calls the REST API with Authorization: Bearer <key>.
Every server uses OAuth: your agent acts as you, inside your own roles and workspaces. You can disconnect it at any time from the app.
28 tools, also REST endpoints.
Each tool is available over MCP and as a REST endpoint under https://api.lots.blog/api/v1/lotsblog.
Check Domain
POST /blogs/:blog_id/domain/check
Check the owned blog custom domain verification and HTTPS certificate state. Returns exact DNS records and a plain-language next step. Does not change the user DNS records.
Check product funding
GET /funding
Check plan coverage, credit funding and current capacity rates. Plan coverage is used first; capacity beyond it is paid from the owner's credits automatically, charged daily (free credits first, then plan credits, then purchased). If credits run low, give the returned settings_url so the owner can top up or choose a plan.
Complete Image Upload
POST /blogs/:blog_id/images/complete
Verify the uploaded image size and magic bytes before using it in an article. Call after PUT to the URL returned by create_image_upload. Return a public CDN URL.
Connect Domain
POST /blogs/:blog_id/domain
Connect the blog owner custom hostname and return exact required CNAME and optional TXT DNS records. Ask the user to set records at their DNS provider, then call check_domain. Owner-only; requires a plan with custom domains. Does not change DNS automatically or replace an existing different domain.
Create Blog
POST /blogs
Create a hosted blog. A plan covers its included blogs; each extra blog costs that plan's own per-blog rate, and without a plan each blog is $9 a month. Capacity is paid from the owner's credits automatically, charged daily. Use get_funding_status for current rates and balance. If credits are insufficient, return the owner settings link so they can top up or choose a plan. Returns the blog and hosting URL.
Create Blog Post
POST /blogs/:blog_id/posts
Create an article with Markdown content, metadata, topics and optional matching supplemental JSON-LD such as FAQPage. Defaults to a private draft. Return preview_url to the user; sign-in is required for draft preview. Publish or schedule only under explicit user instructions. Use list_topics to choose topic_ids.
Create Image Upload
POST /blogs/:blog_id/images/upload
Prepare a local image upload without passing base64 through MCP. Return a 15-minute presigned PUT URL, headers and file_key. PUT the local bytes then call complete_image_upload. JPEG, PNG, WebP or GIF, at most 25 MB. Requires the blog owner plan and create permission. Uploaded images are public.
Create Topic
POST /blogs/:blog_id/topics
Create an article topic/category in the selected blog. An explicit slug is preserved and must be unique within that blog; omit it to generate from the name. Returns the numeric topic ID for topic_ids in article create/update.
Delete Blog Post
DELETE /blogs/:blog_id/posts/:post_id
Permanently delete a post and all associated data (articles, list items, polls, comments, likes, etc.). Only owner and admin roles can delete posts. CASCADE constraints will automatically remove all related data. This action cannot be undone.
Delete Media
POST /blogs/:blog_id/images/delete
Permanently delete an unused image belonging to this blog, only under the user instruction. Images referenced by article content, covers or blog appearance cannot be deleted.
Delete Topic
DELETE /blogs/:blog_id/topics/:topic_id
Delete a topic/category under user instructions. Articles remain intact; their association with this topic is removed. Topics with children must be handled first. Select the numeric topic_id from list_topics.
Get Blog Analytics
GET /blogs/:blog_id/analytics
Retrieves traffic and engagement analytics for a blog. IMPORTANT: Requires blog_id — call list_blogs first to get the blog UUID.
Get Blog Details
GET /blogs/:blog_id
Read the blog, current user role, hosting URL and private Markdown blog_guide. Call list_blogs first to select the blog. Read the guide before writing; it is optional and must not be copied into public articles.
Get Blog Post
GET /blogs/:blog_id/posts/:post_id
Read the saved article and metadata by blog_id and post_id. Call list_blog_posts to find post IDs. Use this to verify saved content and publication status before retrying an uncertain write.
Get Post Analytics
GET /blogs/:blog_id/posts/:post_id/analytics
Read traffic and engagement analytics for an article. Select blog_id from list_blogs and post_id from list_blog_posts. Traffic is not a ranking or AI-citation measurement.
Get Topic
GET /blogs/:blog_id/topics/:topic_id
Retrieves details for a specific blog topic. IMPORTANT: Requires blog_id and topic_id — call list_blogs to get the blog UUID, then list_topics to get the topic_id.
Independent Article Review
POST /blogs/:blog_id/posts/:post_id/quality-check
Optional paid article quality check requested by the user. Charges the blog owner token-based LotsTech Credits for model input and output; cost varies with article length and usage. Set authorize_charge=true for a requested paid quality check; no separate resource funding consent is required. Never guarantees rankings or gates publication. Maximum 45000 characters; unchanged-revision retries reuse execution.
List Blog Posts
GET /blogs/:blog_id/posts
List all posts for a blog with optional filters by type, status, topic, and pagination. Returns posts ordered by creation date (newest first). Use this to display blog content, filter by draft/published status, or find posts of a specific type.
List Blogs
GET /blogs
Retrieves all blogs where the authenticated user is an owner or active member. Returns blogs with the user's role in each blog (owner, admin, editor, author, user). This is useful for displaying a blog selector in the UI or for determining which blogs the user can manage. Only active blog memberships are included (status='active' in blog_users table). Blogs are returned with their access URLs (either custom domain or subdomain URL).
List Media
GET /blogs/:blog_id/images
List a bounded page of image keys and CDN URLs for this blog. Use next_cursor to continue. Images uploaded through MCP are publicly accessible.
List Topics
GET /blogs/:blog_id/topics
Lists all topics/categories for a blog. IMPORTANT: Requires blog_id — call list_blogs first to get the blog UUID.
Publish Post
POST /blogs/:blog_id/posts/:post_id/publish
Publish the saved post now, only when the user instructs publication. Select blog_id from list_blogs and post_id from list_blog_posts. Returns the saved publication status.
Schedule Post
POST /blogs/:blog_id/posts/:post_id/schedule
Schedule the saved post under the user instructions. Use an ISO 8601 timestamp with timezone, at least five minutes in the future. Select post_id from list_blog_posts. A scheduled status is not confirmation that the article is already live.
Unpublish Post
POST /blogs/:blog_id/posts/:post_id/unpublish
Move a published or scheduled article back to a private draft under user instructions. Clears publication time and any pending schedule. The public URL stops serving the article.
Update Blog Post
PATCH /blogs/:blog_id/posts/:post_id
Update the existing article content, metadata, topics or publication status. Omitted fields are preserved; topic_ids=[] clears topics. Returns preview_url. Use the existing post_id rather than creating a duplicate. Publish or schedule only under user instructions.
Update Blog Settings
PATCH /blogs/:blog_id
Update the owned blog name, title, privacy or private Markdown blog guide. Only supplied fields change. Use connect_domain/check_domain for custom domains; appearance and team setup use the dashboard.
Update Topic
PATCH /blogs/:blog_id/topics/:topic_id
Update the topic name, description, slug or metadata. Omitted fields are preserved. Supplied slugs are kept and must be unique within the blog. Select topic_id from list_topics.
Upload Blog Image
POST /blogs/:blog_id/images
Upload an image from a public/signed image_url or small image_base64. For a local screenshot or larger image, prefer create_image_upload then complete_image_upload. Return the public CDN URL for featured_image in create_blog_post/update_blog_post or article Markdown. Requires the blog owner active plan and content-create permission; image URLs are public even for private blogs.
Questions, answered.
What is the LotsBlog MCP server URL?
https://api.lots.blog/mcp. Add it as a remote MCP server (custom connector) in your AI agent and sign in with your Lots account.
Which agents work with LotsBlog?
Claude, ChatGPT (developer mode), Claude Code, Codex, Cursor, Windsurf and any other client that supports remote MCP with OAuth. Agents without MCP use the REST API with an API key.
Where are the LotsBlog API docs?
https://api.lots.blog/docs.md: Markdown written so an AI agent can read it. Requests go to https://api.lots.blog/api/v1/lotsblog with Authorization: Bearer <your key>.
How do I get a LotsBlog API key?
Use Generate key on this page or at lotstech.com/api. Sign in with your LotsTech account, name the key and copy it once. You can revoke it there at any time.
Does MCP or API access cost extra?
No. It is included with LotsBlog. You pay only for LotsBlog's own plan or usage, and your AI provider bills its own usage.