Connect Any AI Client Over MCP
How to connect Claude Desktop, Cursor, or any MCP-compatible AI client to your WordPress site through Protuno's MCP integration, so your AI can read and edit your site directly.
Connecting an AI client to Protuno over MCP lets the AI work directly on your WordPress site. It can read page content, create new pages, add sections, update widget code, edit global styles, and build templates, all through natural language, without you manually copying content between your AI tool and WordPress.
Before You Start
Make sure you have:
- Protuno Pro installed and active
- WordPress 7.0 or higher
- An MCP-compatible AI client (Claude Desktop, Cursor, or similar)
- Your site accessible over HTTPS (required for the MCP connection)
Step 1: Get Your MCP Connection Details
- In your WordPress dashboard, go to Protuno → Settings
- Find the MCP / AI Agents section
- Your connection endpoint URL and authentication token are shown here
- Copy the endpoint URL, you will need it in the next step
Step 2: Configure Your AI Client
The steps differ slightly per client, but the pattern is the same: add Protuno's MCP endpoint as a server your AI client can connect to.
Claude Desktop:
Open your Claude Desktop configuration file (usually at ~/Library/Application Support/Claude/claude_desktop_config.json on Mac or %APPDATA%\Claude\claude_desktop_config.json on Windows) and add:
{
"mcpServers": {
"protuno": {
"url": "YOUR_PROTUNO_ENDPOINT_URL",
"token": "YOUR_AUTH_TOKEN"
}
}
}
Replace YOUR_PROTUNO_ENDPOINT_URL and YOUR_AUTH_TOKEN with the values from Step 1. Restart Claude Desktop.
Cursor:
In Cursor, go to Settings → MCP and add a new server. Enter the endpoint URL and authentication token from Step 1. Save and reload Cursor.
Other clients:
Any MCP-compatible client follows the same pattern, add the endpoint URL and authentication token in the client's MCP server configuration. Refer to your client's documentation for the exact location.
Step 3: Verify The Connection
After configuring your client, open a new conversation and test the connection:
"List the pages on my WordPress site."
If the connection is working, your AI client will return a list of pages from your site. If it does not respond with site data, check that the endpoint URL and token are correct and that your site is accessible over HTTPS.
What You Can Do Once Connected
With Protuno's 22 MCP abilities available, your AI client can:
Read your site:
- List all pages and posts
- Read the full content of any page
- Read the HTML/CSS/JS inside any Proton widget
- Read the current Global Style CSS
- List Theme Builder templates
Build new content:
- Create a new WordPress page
- Add a new Proton widget section to any page
- Create a header or footer template
- Convert a Figma design or screenshot into a Proton section
Edit existing content:
- Update the HTML, CSS, or JavaScript inside any Proton widget
- Update the Global Style CSS
Example workflow, building a page from a brief:
"Create a new page called 'About Us'. Add a hero section with the headline 'We help businesses grow' and a short paragraph about a digital agency. Below that, add a three-column team section with placeholder content for three team members. Use our global color variables for the color scheme."
The AI will create the page, generate each section as a Proton widget, and write scoped CSS that references your global design tokens, all without you opening Elementor.
The SproutOS Gateway
Protuno's MCP integration connects through the SproutOS gateway rather than running its own standalone MCP server. This means:
- No separate server to set up or maintain
- Your site's existing WordPress authentication is used
- Abilities are registered through the WordPress Abilities API (WP 7.0+), so they stay in sync with your Protuno version
The gateway handles protocol translation between your AI client and WordPress. You do not need to interact with the gateway directly.
Security Notes
- The MCP connection uses your site's WordPress authentication. The AI can only perform actions your account has permission to perform
- Authentication tokens should be treated like passwords, do not share them or commit them to version control
- You can regenerate your token from Protuno → Settings → MCP if a token is compromised
- The AI cannot perform any action that Protuno's own abilities do not support, it cannot execute arbitrary PHP, access the database directly, or modify WordPress core files
Frequently Asked Questions
Can I connect multiple AI clients at the same time? Yes. Multiple clients can connect using the same endpoint. Each connection is authenticated separately.
Does every action the AI takes require my approval? This depends on your AI client's settings. Claude Desktop, for example, can be configured to ask for approval before making any changes. Cursor has similar controls. Check your client's settings for tool-call approval policies.
What if my site is behind a firewall or on localhost? The AI client needs to reach your site's MCP endpoint over the network. A locally hosted development site needs a tunnel (such as ngrok) to be reachable by a cloud AI client.
Can I restrict which pages or sections the AI can edit? Not per-page, the AI can access any page and widget your Protuno account has permission to access. Use WordPress role capabilities to limit what the account can do if you need tighter restrictions.