Skip to main content

Server configuration

On most hosting platforms, Senso MCP works without any special server configuration. However, depending on your setup, two points require attention.


.well-known rule (nginx)

OAuth discovery documents (/.well-known/oauth-*) are served by a system plugin, and therefore by PHP: these URLs simply need to be routed to index.php. On a “standard” server (with the generic try_files $uri /index.php rule), no specific directive is required.

Apache

Under Apache, Joomla’s URL rewriting is generally sufficient: no additional configuration is required for .well-known documents.

ModSec/WAF exclusions

Some web application firewalls (WAFs, ModSecurity) block the client’s user agent and return a 403 for /api/…/mcp. In this case, exclude the MCP server path from the relevant rules (path-based exclusion, not IP-based).