Vibe coding with WordPress: connect Claude Code, Codex, Cursor, claude.ai or ChatGPT to your Leitvia site, and the AI agent builds and maintains it. It works with its own access, within limits you set, and every change can be rolled back.
For site owners, agencies and developers · Leitvia Studio · Checked with Leitvia 1.2.69, Leitvia Studio 1.3.65 and Leitvia Pro 0.8.55
Start in three steps
- Create an AI agent. Open Leitvia Studio › Agents, enter a name under New agent and choose Create agent. You need this for Claude Code, Codex and Cursor. For claude.ai and ChatGPT skip it.
- Connect your AI tool. AI tools reach your site at its address plus
/wp-json/leitvia-studio/v1/mcp, such ashttps://example.org/wp-json/leitvia-studio/v1/mcp. Copy address on the screen Agents copies it. Connect an AI agent shows both ways step by step. - Give the AI agent a first task. For example: Call leitvia/get-contract and tell me the name of the site. If it answers with your site, ask for real work, such as an About page from patterns.
Two ways to sign in
- OAuth, for claude.ai and ChatGPT: the AI app opens a page of your site, you sign in and agree. You copy no password. The site needs HTTPS.
- Application password, for Claude Code, Codex and Cursor: WordPress makes a password for the AI agent user that works only for the API, never for the login screen. You can revoke it at any time.
How it stays safe
- Own account: each AI agent works as a user with the role Leitvia Agent. It never changes plugins, themes, users or code.
- Abilities only: the AI agent works through 82 abilities of Leitvia Studio, plus 23 with Leitvia Pro. Each one checks the change before and after writing and keeps a snapshot.
- Autonomy per area: you decide for content, corrections, structure, design and products whether an AI agent changes things itself or only proposes them.
- Inbox: proposed changes wait under Leitvia Studio › Inbox. You apply, reject or roll them back.

Guides
| Topic | Guide |
|---|---|
| Create an AI agent and connect a tool | Connect an AI agent |
| A local WordPress for Claude Code or Codex | Start a local project |
| What an AI agent may do, and the Inbox | Autonomy and the Inbox |
| Skills and workflows for the AI agent | Skills and workflows |
| Check a finished site before the handover | Audit a site |
| All abilities | Abilities |
Read next: Connect an AI agent, Autonomy and the Inbox and Abilities.