Skip to main content
Glama
README.md
<p align="center"><img src=".github/banner.png" alt="GripMCP: MCP server for WordPress" width="772"></p>

# GripMCP: MCP server for WordPress

[![WordPress.org version](https://img.shields.io/wordpress/plugin/v/gripmcp?label=WordPress.org)](https://wordpress.org/plugins/gripmcp/)
[![Rating](https://img.shields.io/wordpress/plugin/rating/gripmcp)](https://wordpress.org/plugins/gripmcp/#reviews)
[![License: GPL v2 or later](https://img.shields.io/badge/license-GPLv2%2B-blue)](LICENSE)

GripMCP turns a WordPress site into a [Model Context Protocol](https://modelcontextprotocol.io/) server. Paste one address into Claude or any other MCP client, approve the connection, and manage the site in plain language: write and edit posts, upload images, organise categories and menus, moderate comments and look into errors.

Every action runs as a real WordPress user, with that user's permissions. The assistant never gets more power than the person who connected it.

- **Remote MCP server** over Streamable HTTP, at `https://your-site.com/mcp`
- **One-click connect:** standard MCP authorization (OAuth 2.1 with PKCE and dynamic client registration), so you need no tokens or config files
- **Access tokens** for clients that use a config file, such as Claude Code
- **Free** on [WordPress.org](https://wordpress.org/plugins/gripmcp/). Requires WordPress 6.2+ and PHP 7.4+

## Install

In your WordPress admin, go to **Plugins → Add New**, search for **GripMCP**, then install and activate it. You can also install it from [wordpress.org/plugins/gripmcp](https://wordpress.org/plugins/gripmcp/).

Then open **GripMCP** in the admin menu, switch the endpoint on, and copy your address from the **Setup** tab.

## Connect

**Claude (web, desktop or mobile):** Settings → Connectors → Add custom connector. Paste your site's address, sign in to WordPress and approve.

**Claude Code:** create a token on GripMCP's **Access** tab, then run:

```bash
claude mcp add --transport http wordpress https://your-site.com/mcp --header "Authorization: Bearer YOUR_TOKEN"
```

**Apps with an `mcpServers` config file:**

```json
{
  "mcpServers": {
    "wordpress": {
      "type": "http",
      "url": "https://your-site.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}
```

A WordPress username with an Application Password also works, as HTTP Basic auth. If pretty permalinks are off, use the longer address the Setup tab shows, ending in `?rest_route=/gripmcp/v1/rpc`.

## What your assistant can do

- **Content:** list, read, create, update, edit in place and delete posts, pages and custom post types; categories, tags and custom taxonomies; menus; comments; custom fields; revisions and restore.
- **Media:** upload from a link or a file in the chat, place images in a post or set a featured image. On assistants that support in-chat panels, you can drag images onto an upload panel in the conversation.
- **Users:** list users and their roles.
- **Site health:** site health checks, the PHP error log, recent crashes, cron events, cache flushing, and a check of how any page renders.
- **Plugin abilities:** on WordPress 6.9+, discover and run the read-only actions other plugins publish through the WordPress Abilities API.
- **Progress cards:** for requests that take several steps, one live card in the chat with each step and the outcome (MCP Apps).

Paid plans (Creator, Operator and Fleet) are a separate plugin with more tools for developers, agencies and stores. See [gripmcp.com/pricing](https://gripmcp.com/pricing/).

## Safe by default

- The endpoint is off until you switch it on, and it requires HTTPS.
- Every tool checks the connected user's WordPress capabilities. GripMCP never grants a capability the user does not already have.
- By default, deletions wait for your approval in your own WordPress admin, and an assistant can never approve its own request.
- The assistant writes content, not code: a change that adds a script, embedded frame or event handler is refused.
- Tokens are stored hashed, expire after 90 days by default, and work only at the GripMCP endpoint.
- Passwords and API keys in other plugins' settings are shown to the assistant as `[redacted]`.

## Support

Support for the free plugin is on the [WordPress.org forum](https://wordpress.org/support/plugin/gripmcp/). In WordPress, **GripMCP → Activity → Report a problem** writes the post for you, with the details needed to look into it. Customers on a paid plan email support@gripmcp.com.

To report a security issue, see [SECURITY.md](SECURITY.md).

## About this repository

This repository mirrors the free plugin as it is released on WordPress.org, one commit and tag per release; each release tag is an exact copy. Until the next release, `LICENSE` on the main branch already holds the full GPLv2 text, which that release will ship (1.0.2 ships a short GPL notice). Install from WordPress.org to get automatic updates.

## License

[GPLv2 or later](LICENSE).