Skip to content
Back to skills

Connect

ASecurity

MCP connection reference for Claude Code, Claude Desktop, Cursor, and Windsurf. Use /mcpwp:setup for first-time guided setup.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 11, 2026
ai-agentsphpapi

Works with

  • claude code
  • claude desktop
  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned June 11, 2026

npx -y skills add Mumega-com/mcpwp-claude-plugin --skill connect --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Connect?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Connect
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mumega-com-connect/badge)](https://www.skillsdirectory.com/skills/mumega-com-connect)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: connect
description: MCP connection reference for Claude Code, Claude Desktop, Cursor, and Windsurf. Use /mcpwp:setup for first-time guided setup.
user-invocable: true
---

# MCP Connection Reference

Quick reference for connecting different MCP clients to a mcpwp-enabled WordPress site. $ARGUMENTS = client name or site URL + API key.

> First time? Run `/mcpwp:setup` instead — it walks you through everything interactively.

## Config Template

Replace `YOUR-SITE.com` and `mcpwp_YOUR_KEY` in every config below.

## Claude Code

**Global** (`~/.claude/settings.json`):
```json
{
  "mcpServers": {
    "mcpwp": {
      "url": "https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp",
      "headers": {"X-API-Key": "mcpwp_YOUR_KEY"}
    }
  }
}
```

**Per-project** (`.mcp.json` in project root):
```json
{
  "mcpServers": {
    "mcpwp": {
      "url": "https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp",
      "headers": {"X-API-Key": "mcpwp_YOUR_KEY"}
    }
  }
}
```

## Claude Desktop

Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (Mac) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
```json
{
  "mcpServers": {
    "mcpwp": {
      "url": "https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp",
      "headers": {"X-API-Key": "mcpwp_YOUR_KEY"}
    }
  }
}
```
Restart Claude Desktop after saving.

## Cursor

Settings > MCP Servers > Add:
- **Name:** mcpwp
- **URL:** `https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp`
- **Header:** `X-API-Key: mcpwp_YOUR_KEY`

## Windsurf

Settings > MCP > Add Server:
- **URL:** `https://YOUR-SITE.com/wp-json/mcpwp/v1/mcp`
- **Headers:** `{"X-API-Key": "mcpwp_YOUR_KEY"}`

## Multiple Sites

Use a unique name per site in `mcpServers`:
```json
{
  "mcpServers": {
    "mcpwp-staging": {
      "url": "https://staging.example.com/wp-json/mcpwp/v1/mcp",
      "headers": {"X-API-Key": "mcpwp_STAGING_KEY"}
    },
    "mcpwp-prod": {
      "url": "https://example.com/wp-json/mcpwp/v1/mcp",
      "headers": {"X-API-Key": "mcpwp_PROD_KEY"}
    }
  }
}
```

## Verify Connection

After saving config, call `wp_introspect()` — returns site info, available tools, and capabilities.

## Troubleshooting

- **401 Unauthorized:** API key wrong or missing. Must start with `mcpwp_`.
- **404 Not Found:** Plugin not activated. Check `https://YOUR-SITE.com/wp-json/mcpwp/v1/site-info`
- **500 Error:** Check WP debug log. Common cause: PHP < 7.4.
- **CORS error:** Add your domain in WP Admin > mcpwp > Settings > Allowed Origins.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.