MCP (Model Context Protocol)¶
OG AI Core turns your site into an MCP server. AI assistants such as Claude, Claude Code and ChatGPT connect directly to your site. There is no relay service in between.
There are two servers:
- The admin MCP server lets you and your team work on the site. It needs a WordPress account.
- The Public MCP server (a free built-in module) lets anyone's AI app read your public pages, posts and products. It is read-only and off by default. See Public MCP.
What an assistant can do¶
It depends on the tool sets you switch on in Settings > MCP > MCP Tool Sets:
- WordPress (recommended): posts, pages, comments, media, users and more.
- Plugins, Themes and Database (Pro).
- WooCommerce, Polylang and WPML (Pro): products, orders, stock and customers, or translations.
- From WordPress: Abilities (plugins that use the WordPress Abilities API) and Dynamic REST (posts, pages and media through the WordPress REST API).
Sister plugins add their own tools while they are active: OG AI SEO, OG AI Code Core, Database Cleaner, Media Cleaner and Social Engine.
Safety by design¶
- Each person connects with their own WordPress account, so every action shows under their name.
- Administrators get full access. Editors can connect when you turn on Editor Access, limited to content they can already edit. Settings, users, plugins, themes and deleting stay with administrators.
- The tools are curated. They do not run arbitrary PHP.
- Desktop assistants connect through OAuth: paste the MCP address, sign in to WordPress and approve. No shared token.
Enable it¶
- Open OG AI Core > Settings > MCP.
- Switch MCP on and choose the tool sets to expose.
- Use Connection Test to check the server answers.
- Copy the MCP address. It looks like
https://your-site.example/wp-json/mcp/v1/http. - Follow the guide for your assistant:

The same screen has Logging and an optional Bearer Token for clients that cannot use OAuth.
Public MCP¶
A separate, read-only server for everyone: visitors, members and AI apps. It shares nothing with the admin server and never sees admin tools.
- Address:
https://your-site.example/wp-json/ogaie-public/v1/mcp(POST only). - Every request runs as a signed-out visitor, so it only sees what a guest sees.
- Tools: Site information (
site_info), Search the site (search_content), Read a page (get_page), List store products (list_products) and Product details (get_product). Switch each one on or off. - Rate limit: 120 requests per caller every 5 minutes by default (10 to 1000).
- Server card: optionally listed in
/.well-known/mcp/server-card.json, so AI apps can find it. Only the public server is listed.
Open it from Automation > Public MCP in the OG AI Core rail, tick Turn on the Public MCP server. The change saves itself.
Good practice¶
- Start with read-only tools, add editing later.
- Use a staging site for first experiments.
- Review what an assistant did in the tool log.
- Revoke access for people who leave.
Developers¶
See MCP tools for every tool and who may call it, Public MCP for the public server, and Use MCP.