← Back to Integrations
G

GitHub Copilot (VS Code) Setup

Model Context Protocol Tutorial

GitHub Copilot is Microsoft and GitHub's AI pair programmer, deeply integrated into VS Code. Its MCP support lets Copilot agent mode call tools on your WordPress site — such as publishing content or managing taxonomy — directly from within your development environment.

File: .vscode/mcp.json in your project

{
    "servers": {
        "wordpress": {
            "type": "http",
            "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