TokenToSeaMCP Hub
中文 Console

Official MainWP MCP server: manage your WordPress sites from Claude, Cursor, Codex, and other AI tools, with previews and approval before destructive changes.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add mainwp --env MAINWP_URL='<MAINWP_URL>' --env MAINWP_USER='<MAINWP_USER>' --env MAINWP_APP_PASSWORD='<MAINWP_APP_PASSWORD>' -- npx -y @mainwp/mcp

Environment variables

  • MAINWP_URL
  • MAINWP_USER
  • MAINWP_APP_PASSWORD

Replace the placeholders with your own credentials and keep them out of version control.