WP Manifestindependent plugin directory
manifest / integrations / simple-wp-mcp-adapter-oauth

Simple WP MCP Adapter OAuth WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Adds OAuth 2.1 authorization server support for WordPress MCP Adapter

★ 2stars
17release downloads
v1.1.0latest · 6mo ago

Install

Download simple-wp-mcp-adapter-oauth.zip From the v1.1.0 release on GitHub, Apr 21, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ironlady/simple-wp-mcp-adapter-oauth/releases/download/v1.1.0/simple-wp-mcp-adapter-oauth.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Adds OAuth 2.1 authorization server support for WordPress MCP Adapter.

Motivation

WordPress MCP Adapter does not natively cover AI clients that require strict OAuth 2.1 flows.

This plugin fills that gap by turning the existing WordPress site into the OAuth authorization server for MCP access, reusing:

  • the existing WordPress login (wp-login.php) for authentication
  • a WordPress-hosted consent flow for authorization decisions

Requirements

  • WordPress 6.8+
  • PHP 7.4+
  • OpenSSL extension
  • WordPress MCP Adapter plugin

Features

  • OAuth authorize endpoint with consent flow
  • OAuth token endpoint
  • PKCE support for Authorization Code flow (S256)
  • Dynamic client registration endpoint
  • OAuth discovery endpoint
  • JWKS endpoint

Install (development)

  1. Run composer install.
  2. Activate the plugin in WordPress Admin.

How OAuthTransport is used

By default, this plugin registers SimpleWpMcpAdapterOAuth\OAuthTransport as the MCP transport by filtering mcp_adapter_default_server_config.

If you want to register a server with OAuthTransport explicitly, you can do:

add_action(
    'mcp_adapter_init',
    function ( $adapter ) {
        $adapter->create_server(
            'alpha-server',
            'alpha',
            'mcp',
            'Alpha MCP Server',
            'Central MCP server for Alpha',
            '1.0.0',
            array( \SimpleWpMcpAdapterOAuth\OAuthTransport::class ),
            null,
            null,
            array( 'alpha/get-posts' ),
            array(),
            array()
        );
    }
);

After activation, your MCP server exposes:

  • OAuth protected resource metadata: /.well-known/oauth-protected-resource
  • OAuth authorization server metadata: /.well-known/oauth-authorization-server
  • OAuth token endpoint: /token

All OAuth endpoints

Assuming:

  • Namespace: {namespace}
  • MCP route: {server_route}
  • REST prefix: /wp-json

Endpoints:

  • GET /wp-json/{namespace}/{server_route} (MCP server endpoint)
  • GET /wp-json/{namespace}/{server_route}/.well-known/oauth-protected-resource
  • GET /wp-json/{namespace}/{server_route}/.well-known/oauth-authorization-server
  • GET /wp-json/{namespace}/{server_route}/.well-known/jwks.json
  • POST /wp-json/{namespace}/{server_route}/token
  • POST /wp-json/{namespace}/{server_route}/register
  • GET /wp-json/{namespace}/{server_route}/register/{client_id}
  • PUT /wp-json/{namespace}/{server_route}/register/{client_id}
  • DELETE /wp-json/{namespace}/{server_route}/register/{client_id}
  • GET|POST /wp-admin/admin-post.php?action=simple_mcp_oauth_authorize

Releases

2 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.1.0 latest
Apr 21, 2026 6mo ago
simple-wp-mcp-adapter-oauth.zip
13
Mar 1, 2026 8mo ago
simple-wp-mcp-adapter-oauth.zip
4
A grade

Security

Simple WP MCP Adapter OAuth 1.1.0 · audited by WP Registry

No security issues found.

Audited release
1.1.0
Findings
none
Worst severity
—
Content hash
34fee793c08797236d933efe…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.