---
title: "AI and agents · Leiho"
description: "Leiho uses the AI provider configured in WordPress, with your brand context. And your own agent, Claude, Codex, Cursor or Gemini, can draft content and check your setup over MCP."
url: https://leiho.dev/features/ai
lang: en
updated: 2026-11-04
---
AI and agents

# AI that writes like your brand. Agents that never publish.

Leiho uses the AI provider configured in WordPress, with your brand context. And your own agent, Claude, Codex, Cursor or Gemini, can draft content and check your setup over MCP.

- [Try it in your browser](https://leiho.dev/try)
- [Read the docs](https://leiho.dev/docs)

### Brand context

Tone of voice, audience, words to prefer and avoid, forbidden claims and mandatory facts, sent with every request.

### AI on every text field

Generate, rewrite, shorten, expand, fix, change the tone or translate. The proposal opens as a diff.

### Nothing saved behind your back

Accepting a proposal writes into the field like typing. Undo works, nothing is saved until you save.

### Your provider, your key

Leiho stores no API key and picks no provider: it uses WordPress’s own AI connectors (WordPress 7.0+).

### Agents over MCP

With the official MCP Adapter, agents read your content model, search entries and create drafts.

### Setup by agent

Administrators can let an agent run diagnostics and fix settings, then revoke its password.

## Connect your agent

Leiho → AI gives a ready configuration for Claude Desktop, Claude Code, Codex, Cursor, VS Code with Copilot, Gemini CLI, Windsurf and any client that runs local MCP servers.

```Terminal
codex mcp add mysite \
  --env WP_API_URL=https://cms.example.com/wp-json/mcp/mcp-adapter-default-server \
  --env WP_API_USERNAME=editor \
  --env WP_API_PASSWORD='xxxx xxxx xxxx xxxx xxxx xxxx' \
  -- npx -y @automattic/mcp-wordpress-remote@latest
```

### Drafts only

Content abilities read, and write drafts only. An agent works with the rights of the user it connects as: give it an editor account and an application password you can revoke.

More features

- [**Visual editing**Click and type on the real page](https://leiho.dev/features/visual-editing)
- [**Collections**Your content model, with or without ACF](https://leiho.dev/features/collections)
- [**Localization**Every language, one entry](https://leiho.dev/features/localization)
- [**Content API**One request, typed, cached](https://leiho.dev/features/content-api)
- [**Publishing**Live, build hook, GitHub Actions, Coolify](https://leiho.dev/features/publishing)
- [**SEO and AI search**Structured data, llms.txt, Markdown](https://leiho.dev/features/ai-search)

## Edit the real site.

Free and open source. Try it on a real WordPress, in your browser.

- [Try it in your browser](https://leiho.dev/try)
- [View on GitHub](https://github.com/pixelersagency/leiho)
