Blog

  • JRB MCP Server Live: Full Integration Test with All Features

    JRB MCP Server Live: Full Integration Test with All Features

    This post was created entirely via the JRB MCP Server plugin, demonstrating full AI-powered WordPress content management. Every element — from Gutenberg blocks to taxonomy assignment — was handled through the MCP protocol.

    MCP turns your WordPress site into an AI-accessible API without writing a single line of code.

    What This Post Demonstrates

    • Gutenberg block formatting — Headings, paragraphs, quotes, lists, tables
    • Category assignment — Auto-creation and taxonomy linking
    • Tag management — Multiple tags with proper slug generation
    • Author attribution — Posts correctly assigned to admin user
    • Status control — Draft, publish, pending, private states
    • REST API authentication — Secure API key-based access

    MCP Protocol Details

    PropertyValue
    Protocol Version2024-11-05
    Server NameJRB MCP Server
    Server Version1.0.0
    AuthenticationX-MCP-API-Key header
    Endpoint/wp-json/jrb/v1/
    TransportHTTPS POST

    Available Tools

    The MCP server exposes the following tools to AI assistants:

    1. posts_list — Retrieve posts with pagination and filtering
    2. posts_get — Fetch a single post by ID
    3. posts_create — Create new posts with full Gutenberg support
    4. pages_list — List all pages on the site
    5. media_upload — Upload media from external URLs
    6. categories_list — Retrieve all categories
    7. tags_list — Retrieve all tags

    Security Features

    The plugin implements WordPress security best practices:

    • API key hashing — Keys stored as SHA-256 hashes
    • Nonce verification — Admin forms protected with WordPress nonces
    • Input sanitization — All user input sanitized with sanitize_text_field()
    • Output escaping — All output escaped with esc_html(), esc_attr(), etc.
    • Capability checks — Admin-only access for key management
    • PHPCS compliant — Passes WordPress coding standards

    Getting Started

    Ready to connect your AI assistant to WordPress?

    Step 1: Install the Plugin

    Upload jrb-mcp-server.zip via WordPress admin or FTP to /wp-content/plugins/.

    Step 2: Generate API Key

    Navigate to JRB MCP Server → API Keys and create your first key.

    Step 3: Configure MCP Client

    {
      "mcpServers": {
        "wordpress": {
          "url": "https://yoursite.com/wp-json/jrb/v1/",
          "headers": {
            "X-MCP-API-Key": "your-api-key-here"
          }
        }
      }
    }

    Use Cases

    Here’s what you can do with MCP + WordPress:

    • Automated content calendars — Schedule and draft posts automatically
    • SEO optimization — Analyze and improve existing content
    • Content repurposing — Turn posts into social threads, emails, scripts
    • Multi-site management — Control multiple WordPress instances from one AI
    • Accessibility automation — Generate alt text, improve readability

    Performance Notes

    The plugin is lightweight and efficient:

    MetricValue
    Plugin Size27 KB (zipped)
    Main File30 KB (1,158 lines)
    DependenciesNone (WordPress core only)
    Database TablesNone (uses wp_options)
    API Response Time<100ms typical

    Bottom Line

    This post proves the JRB MCP Server works end-to-end on a live WordPress installation. Every field was populated via the MCP protocol — title, content, categories, tags, status, and author attribution.

    AI-powered WordPress management is no longer theoretical. It’s production-ready.

    Questions about implementation? Reach out via the contact form or drop a comment below.

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!