← Back to Integrations
C
Cursor Setup
Model Context Protocol Tutorial
Cursor is an AI-first code editor built on VS Code, designed to let developers write and edit code with AI assistance. It supports MCP servers so your AI assistant can interact with your WordPress site — publishing posts, managing media, and more — right from your editor.
File: ~/.cursor/mcp.json
{
"mcpServers": {
"wordpress": {
"url": "https://yoursite.com/wp-json/easy-mcp-ai/v1/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
Need your API Token?
Remember to generate your Bearer token in the WordPress admin panel under Easy MCP AI → API Tokens before completing this setup.
Download Plugin