# Connect Codex to LotsBlog

Canonical page: https://lots.blog/agents/codex
Steps checked: 2026-10-13

Ask Codex to write, schedule and publish posts on your LotsBlog blog. Add LotsBlog to Codex as a remote MCP server and sign in once.

MCP server URL: https://api.lots.blog/mcp
REST API docs: https://api.lots.blog/docs
Setup instructions for your agent: https://lots.blog/skill.md

## What you can do once connected

- Write articles as Markdown drafts with a title, slug, description, topics and cover or inline images, and edit them later.
- Schedule or publish a post when you say so. Saving a draft never publishes it.
- Put your blog on a custom domain such as blog.example.com, or at yoursite.com/blog with one rewrite on your own site, and check the setup status.
- Read your blog and post analytics, and invite team members with roles.
- Read and update the private blog guide that holds your audience, voice, facts and writing rules.

The LotsBlog dashboard does the whole job too: posts, topics, images, domains, analytics, appearance and team. Your agent for speed, the dashboard for control.

## You need

- Codex CLI, the Codex app or the IDE extension
- A LotsBlog account. You can create one during sign-in.

## Connect Codex to LotsBlog

1. **Add the server.** Run this in your terminal.

```
codex mcp add lotsblog --url https://api.lots.blog/mcp
```

2. **Sign in.** Run this and finish the sign-in in the browser that opens.

```
codex mcp login lotsblog
```

3. **Check the connection.** Start Codex and run /mcp; lotsblog is listed with its tools. In the Codex app or IDE extension, add it instead under Settings, then MCP servers: select Add server, choose Streamable HTTP, paste the URL, save and select Authenticate.

```
/mcp
```

## What to ask next

- “Turn these notes into a draft article for my blog, add a cover image and send me the preview link”
- “Schedule the draft for Tuesday at 9am London time”
- “Which of last month’s posts had the most views?”
- “Connect blog.example.com to my blog and tell me which DNS record to add”
- “Write a release post from the changes in this branch and save it as a draft on my blog”
- “Turn README.md into a getting-started tutorial on my blog”

## Questions and troubleshooting

### How do I connect Codex to LotsBlog?

Follow the Codex setup above to add https://api.lots.blog/mcp. Complete sign-in using the authentication method shown. Then ask “List my LotsBlog blogs and their latest posts”.

### Does LotsBlog work in the Codex app and the IDE extension?

Yes. Add it under Settings, then MCP servers: select Add server, choose Streamable HTTP, paste https://api.lots.blog/mcp, save and select Authenticate.

### Do I need an API key to use LotsBlog with Codex?

No. Codex signs in to LotsBlog in your browser. API keys are for the REST API, for scripts and your own apps.

### What does LotsBlog cost?

Current plans and prices are on https://lots.blog/pricing. Your agent’s own plan or usage fees are separate.

### Can my AI agent publish to my blog?

Yes. Once LotsBlog is connected, your agent can save an article as a draft, add images and topics, and publish or schedule it when you ask. Published posts go live on your LotsBlog address, your custom domain or yoursite.com/blog.

### Does my agent publish anything without asking me?

No. Saving a draft never publishes it. Your agent publishes or schedules only when you tell it to, and you can do the same from the LotsBlog dashboard.

### Can my agent remember my blog’s voice?

Yes. Each blog has an optional private Markdown blog guide for audience, voice, facts and writing rules. Your agent reads it with the blog, so the next chat starts with the same rules.

### Which blogging platforms support MCP?

The LotsBlog blog compares platforms on plan gate, what the agent can do and price model, checked on the vendors’ own pages: https://blog.lots.blog/best-blogging-platforms-with-mcp-support

### Tools fail with an auth error

Run codex mcp login lotsblog again; sessions expire after a period of inactivity.

## Sources

- [Codex: MCP](https://learn.chatgpt.com/docs/extend/mcp?surface=cli)
