WP Manifestindependent plugin directory
manifest / ai / smartmcp

Smart MCP

Smart MCP turns your WordPress site into an AI workspace. It combines a native AI chat assistant with a permission-based tool registry and a zero-configuration Model Context Protocol (MCP) server.

by WP Smarto · github.com/sshahadatgsm/smartmcp · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/sshahadatgsm/smartmcp/archive/refs/heads/main.zip

# Smart MCP

Version 0.3.8

Smart MCP turns your WordPress site into an AI workspace. It combines a native AI chat assistant with a permission-based tool registry and a zero-configuration Model Context Protocol (MCP) server.

Built by WPSmarto.

Features

  • AI chat workspace - a Cursor/Claude Code style chat interface right in wp-admin, with streaming responses, markdown rendering, and conversation history.
  • WordPress tools - posts, pages, comments, media, users, and site info, callable by the AI through a single registry.
  • Permission engine - every tool declares a required capability and risk level. Medium and high-risk actions require your approval before they run. The AI never bypasses permissions.
  • Audit log - every AI turn and tool call is recorded with the user, provider, model, parameters, result, and timestamp. Filter and export as CSV.
  • Built-in MCP server - external AI clients (Claude Desktop, Cursor, and more) can connect to your site's tools over the Model Context Protocol with a single API key. No configuration needed.
  • Encrypted API keys - provider keys are encrypted at rest with sodium and never logged or exposed.
  • Multiple AI providers - OpenAI, Anthropic (Claude), Google Gemini, OpenRouter, and any OpenAI-compatible endpoint, with more coming soon.

How approvals work

When the AI wants to run a medium or high-risk tool (creating posts, moderating comments, uploading media), the action is paused and appears as an approval request in the chat. Approve it in one click and the AI continues.

Requirements

  • WordPress 6.4 or later
  • PHP 8.2 or later

Installation

  1. Upload the smart-mcp folder to /wp-content/plugins/, or install through the WordPress plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Go to Smart MCP > Settings and add an API key for your preferred provider (OpenAI, Anthropic, Google Gemini, OpenRouter, or a custom OpenAI-compatible endpoint).
  4. Click Test connection, then save.
  5. Open the Smart MCP chat and start asking.

Connecting MCP clients

Any client that supports the Model Context Protocol can connect, for example Claude Desktop, Claude Code, or Cursor. Enable external access in Settings, generate an API key, then connect to:

https://your-site.com/wp-json/smart-mcp/v1/mcp

Or use the discovery file:

https://your-site.com/wp-json/smart-mcp/v1/.well-known/mcp.json

Frequently asked questions

Which AI providers are supported?

OpenAI, Anthropic (Claude), Google Gemini, OpenRouter, and any OpenAI-compatible endpoint. More providers are coming soon. Your API key is encrypted at rest with sodium and is never sent anywhere except your chosen provider.

Is this safe?

Security first. Every tool requires a WordPress capability, and risky actions need your explicit approval. All actions are logged.

Does it work on multisite?

Not yet. Multisite support is planned.

License

GPL-2.0-or-later. See LICENSE.