Requires Node 20+. Add the server to your MCP host config (~/.cursor/mcp.json for Cursor, claude_desktop_config.json for Claude Desktop, .mcp.json for Claude Code), then restart the host.
json
{
"mcpServers": {
"seo-performance": {
"command": "npx",
"args": ["-y", "@automatelab/seo-performance-mcp"],
"env": {
"GSC_SERVICE_ACCOUNT_JSON": "/abs/path/to/gsc-service-account.json",
"GSC_SITE_URL": "sc-domain:example.com",
"MATOMO_BASE_URL": "https://example.com/analytics",
"MATOMO_TOKEN": "...",
"MATOMO_SITE_ID": "1",
"GA4_PROPERTY_ID": "123456789",
"CLARITY_PROJECT_ID": "...",
"GHOST_ADMIN_KEY": "id:secret"
}
}
}
}