Claude Code is one of the most capable AI coding agents available, and it can do much more than write code in a local folder. Connect it to your WordPress site through an MCP server and it can build pages, write and publish posts, create custom post types, set up templates and install plugins on the live site, while you review what it does. This guide shows exactly how to connect Claude Code to WordPress using the MCP server built into Tuli Builder.
What you need
- A WordPress site (6.0 or newer) with the Tuli Builder theme installed and its licence activated. See the installation steps.
- Claude Code installed on your computer.
- An administrator account on the site.
Step 1: Turn on the MCP server
In WordPress, go to Tuli → Settings → MCP Server and tick Enable the MCP server for this site. Save the settings. The server runs at https://your-site.com/wp-json/tuli/v1/mcp and speaks the standard Model Context Protocol over HTTP.
Step 2: Create an application password
On the same screen, under Application passwords, create a new password for Claude Code:
- Give it a name, such as “Claude Code – laptop”.
- Choose which WordPress user it acts as.
- Tick the actions it may perform, or choose full access.
- Optionally add instructions the agent must follow, such as “Never publish without asking me first.”
Copy the connection details straight away. The password is shown only once. You can revoke it at any time, and the agent loses access immediately.
Step 3: Add the server to Claude Code
Tuli shows a ready-made command. It looks like this:
claude mcp add --transport http my-site https://your-site.com/wp-json/tuli/v1/mcp --header "Authorization: Bearer YOUR_APPLICATION_PASSWORD"
Run it in your terminal. If you prefer to share the connection with a project, add the same server to the project’s .mcp.json file instead. Tuli shows that snippet too.
Step 4: Check the connection
Start Claude Code and type /mcp. Your site should be listed as connected. Then ask something simple, such as “List the pages on my site”, to confirm it can read your content.
Step 5: Ask Claude Code to build
Now describe what you want, in any language. Some examples:
- “Create a five-page real estate website with a Property post type using ACF, six sample listings and a properties page with price filters.”
- “Write a blog post about our spring sale, add an SEO title and meta description, and schedule it for Tuesday at 9am.”
- “Build a header and footer template and show them on every page.”
- “Change the homepage hero heading and make the primary button blue.”
Claude Code uses Tuli’s tools to do the work: pages are built as clean, editable HTML and CSS, and dynamic sections use Tuli’s query loops, filters and dynamic data. You can open any page in the visual builder afterwards and keep editing by hand. Watch the video walkthrough to see a full real estate site built this way.
Keeping it safe
- Use one password per agent or device, so you can revoke one without affecting the others.
- Tick only the actions you need. A content-only password doesn’t need plugin or file access.
- Test big changes on staging first. Staging copies don’t count against your licence.
- Your theme is protected. Agents can’t change or switch it.
Troubleshooting
- “Invalid or missing MCP credentials”: the password was mistyped or revoked. Create a new one.
- “The Tuli MCP server is disabled”: tick the enable box in Tuli → Settings → MCP Server and save.
- “Requires an active license”: activate your key under Tuli → License.
- Server not listed in
/mcp: run the add command again and restart Claude Code.
FAQ
Can Claude Code manage a WordPress site?
Yes. Once it’s connected through an MCP server such as the one built into Tuli Builder, Claude Code can create and edit pages, posts, templates, custom post types, media and plugins on your site.
Do I need to know how to code?
No. You describe what you want in any language. Knowing HTML helps when you review changes, but it isn’t required.
Does it work with Claude Desktop too?
Yes. Claude Desktop connects through the mcp-remote bridge. Tuli shows the exact config, and the documentation explains it.
Is my site safe?
Access uses application passwords you create, limit and revoke. Each one only allows the actions you tick, and the theme itself can’t be changed.
Start building with Claude Code
Get Tuli Builder, turn on the MCP server and let Claude Code build your next WordPress site. Every plan is a one-time payment with a 14-day money-back guarantee.
