Cyber SaleThe next era of Cornerstone is here! Lock in your CS11 savings by December 7th.

Cornerstone MCP Overview

Connect AI apps like Claude, Codex and Cursor to build in Cornerstone.

  1. Requirements
  2. Installing Cornerstone MCP
  3. My Keys
  4. Troubleshooting

Cornerstone MCP is a plugin that adds two things to CSAI:

  • My Keys: Use your own AI provider keys, or a model running on your own computer, for chat, images, speech and video in Studio.
  • MCP Server: Connect AI apps like Claude, Codex and Cursor can work on your site, including building and editing pages with their own model. See Connecting AI Apps.

Both are in the CSAI Tab under Settings. You don't need the plugin for Studio or Instant Builds, which come with Cornerstone and use your AI Credits and Instant Builds. If you used the CSAI plugin before, read Upgrading from CSAI 1.x.

Requirements

  • Cornerstone 11+ or newer.
  • PHP 8.1+.
  • A WordPress administrator account. My Keys and MCP only show for administrators, and only while the plugin is active.

Installing Cornerstone MCP

Cornerstone MCP is a Max product. For the ways to get Max, see Getting Started with Max.

  1. Validate your site. See Product Validation.
  2. In your WordPress admin, open the Pro or Cornerstone home page, where you validate your license, and scroll to the Max box.
  3. Find Cornerstone MCP and click Install. If it shows Purchase, your account doesn't have it yet. If you just bought it, click Refresh Validation at the top of the Max box.
  4. Make sure the plugin is active, then open the builder.

If you have the old CSAI 1.x plugin, there's nothing new to install. Update it from Dashboard > Updates and it becomes Cornerstone MCP.

My Keys

Studio normally runs on Themeco's AI service and uses credits. My Keys lets you use your own provider instead for chat, images, speech and video. Those requests go from your site straight to the provider, are billed to your account with them, and use no credits. Building and editing pages always runs on Themeco. See Themeco or Your Own Keys.

To open it, click the sparkle icon at the top of the builder's side panel, click the gear in the CSAI Tab, then click My Keys. It lists which provider each action uses, then the System Prompt, then a group for each provider.

Supported Providers

My Keys works with OpenAI, Anthropic, Gemini, Grok and Hugging Face, and with GPT4All, LM Studio and Stable Diffusion running on your own computer. AI Providers lists what each one runs, where to get each key and how to start each local server.

Adding a Key

  1. In My Keys, find your provider's group, such as OpenAI, and make sure its switch is on.
  2. Paste your key into the API Key field, or the Access Token field for Hugging Face. It saves as soon as you paste it.
  3. Click Test connection to check it.
My Keys with the OpenAI, Grok and Gemini groups, each Connected with Test connection and Disconnect

After saving, the field clears and shows the last four characters of the key, so you can tell which one is stored. A successful test shows Connected and when it was checked. Test connection is there for OpenAI, Anthropic, Gemini, Grok and Hugging Face, but not for the local providers.

If the test fails, the message names your provider and says why:

  • "Key was rejected by OpenAI." Check that you copied all of it, or create a new one.
  • "Rate limited by OpenAI. The key looks valid." Try again later.
  • "Could not reach OpenAI." Your server couldn't reach the provider. This is usually a firewall or outgoing connection problem on your host, not a bad key.

To replace a key, paste the new one into the field and test it again. To remove a key, click Disconnect. Leaving the field empty doesn't remove it.

How Keys Are Stored

Keys stay out of the builder's page data, so you can't read a saved key back from the builder. On the server they are kept apart from the other CSAI settings and encrypted with your site's WordPress salts, SECURE_AUTH_KEY and SECURE_AUTH_SALT in wp-config.php. If you change those salts, add your keys again.

Your server makes the requests to your provider, not your browser. The one exception is Hugging Face video, which runs in the browser. The builder asks your site for the Hugging Face token only when a video starts, and only administrators can make video.

Choosing a Provider

Each action runs on one provider. You can set it in two places:

  • The top of My Keys has a select for each action. An action is listed only when at least one provider can run it.
  • In Studio, the Models panel shows a provider select at the top when one of your own providers is ready for the mode you're in.

Build always runs on Themeco, and so do Instant Builds. Your own providers can run Chat, Image, Image Editing, Speech and Video. See Themeco or Your Own Keys.

Changing the provider needs the AI > Settings permission. Keys, addresses and the provider switches stay with administrators. See Permissions.

System Prompt

The System Prompt in My Keys holds instructions such as tone, language or things to avoid. It's only used in chat that runs on your own keys. Themeco's AI doesn't use it.

The field shows once one of your own chat providers is switched on and set up.

Turning a Provider Off

Each provider group in My Keys has a switch, and every provider is on by default. A provider that is off is marked "(off)" in the provider lists, and nothing is sent to it. The Themeco provider can't be turned off.

Troubleshooting

My Keys Isn't There

My Keys shows only for administrators, and only while the Cornerstone MCP plugin is active. Check both, then reload the builder.

OpenAI is not connected

The Models panel shows this, with your provider's name, when the provider you picked is switched off, has no key, or failed its last test. Administrators get a button that opens My Keys. Everyone else is asked to get an administrator to connect it.

A Provider Is Switched Off

A request to a provider that's switched off isn't sent and isn't charged. An administrator can turn it back on with its switch in Settings > My Keys.

The Key Was Rejected

Check that you pasted the whole key with no spaces, and that billing or API access is turned on in your provider account. Then click Test connection again.

Cornerstone MCP needs a version of Pro or Cornerstone with CSAI built in.

Your Pro or Cornerstone is older than 11.0, so the plugin does nothing until you update. Click the link in the notice, which opens Dashboard > Updates.

The CSAI plugin (version 1.x) is paused.

The old CSAI plugin is still active, so Cornerstone pauses it to keep the two from clashing. Click Update in the notice to update it to Cornerstone MCP 2.0, or deactivate if you don't need your own keys or MCP. See Upgrading from CSAI 1.x.

See something inaccurate? Let us know