Setup MCP and receiving a 404 Not Found error
-
How to setup MCP with your plugin?
Error and Current StatusRequest URL:
https://example.com/wp-json/mcp/v1/sse?token=your-token-hereServer Response:
404 Not Found
Error details: {“code”:”rest_no_route”}Description:
The issue is reproducible even when AI Copilot is the only active plugin, so this is not related to a plugin conflict. The problem appears to be that the endpoint no longer exists under the old route.Evidence from Legacy Code
After checking with a string search tool, I confirmed that the outdated MCP route is still hardcoded in the plugin’s source files.
It was found in the following file:
wp-content/plugins/ai-copilot-content-generator/modules/options/views/tpl/AdminOptionsTabMcp.phpThis indicates the plugin is still referencing the deprecated path:
mcp/v1/sseUpdated Routes and Resolution
The current and correct REST API namespace is:
aiwu/v1The legacy route “mcp/v1/sse” has been removed and replaced with newer endpoints, including:
aiwu/v1/ask-chatbotThis explains the 404 response and confirms that connections or integrations using the old MCP path need to be updated to align with the new AIWU API structure.
You must be logged in to reply to this topic.