WordPress
Learn how to use Klavis to connect your AI application to WordPress MCP Server
Prerequisites
To get the most out of this guide, you’ll need to:
1. Create a WordPress MCP Server
Use the following endpoint to create a new remote WordPress MCP server instance:
Request
Response
serverUrl specifies the endpoint of the WordPress MCP server, which allows you to interact with WordPress sites.
instanceId is used to get an authentication token. After you complete the OAuth flow, this token allows the MCP server to access WordPress on your behalf.
2. WordPress OAuth Flow
To enable your MCP server to access WordPress, you need to authenticate with WordPress’s OAuth flow.
Option 1: API Call
Option 2: Browser Redirect
Simply copy and paste the following URL into your web browser, replacing <YOUR_INSTANCE_ID>
with your actual instance ID: