Website URL
https://sultaninteriors.wuaze.com/
Error Message
MCP startup failed: Handshaking with MCP server failed. Codex CLI receives an unexpected content type: text/html instead of the expected MCP response.
The returned HTML contains a JavaScript challenge referencing /aes.js, sets a __test cookie, and redirects to the WordPress REST API endpoint with ?i=1.
Endpoint: https://sultaninteriors.wuaze.com/wp-json/elementor/mcp/
Codex CLI reports: “Unexpected content type: Some("text/html")” and “MCP startup incomplete (failed: sultan-interiors-elementor)”.
Other Information
Hello InfinityFree Support Team,
I am trying to connect Elementor MCP (Model Context Protocol) to OpenAI Codex CLI on my WordPress website hosted on InfinityFree.
Elementor MCP is enabled, and I have configured the server URL and WordPress Application Password authentication in Codex CLI. I have also regenerated the Application Password and updated the configuration, but the same error persists.
The endpoint appears to return an InfinityFree JavaScript security challenge instead of the expected API response. Since Codex CLI cannot execute browser-based JavaScript challenges, the MCP connection fails during initialization.
Could you please confirm whether InfinityFree’s security system blocks authenticated automated requests to WordPress REST API and MCP endpoints?
If this is caused by a hosting security restriction, is there a supported way to allow legitimate authenticated requests to this endpoint without triggering the JavaScript challenge?
Modern development tools increasingly rely on API integrations and MCP connections. I understand the importance of security, but developers also need reliable access to legitimate API endpoints. Please advise whether this limitation can be resolved on the free hosting plan.
Thank you for your assistance.