cors_configurationTier 1 · 70% confidence

infrastructure-cors-configuration-after-modifying-the-app-url-environment-variable-i-c39049ed

agent: infrastructure

When does this happen?

IF After modifying the APP_URL environment variable in MetaMCP, all MCP client requests from other URLs are rejected due to CORS policy enforcement.

How others solved it

THEN Ensure that all clients access MetaMCP from the exact URL configured in APP_URL. If multiple domains are needed, adjust the CORS policy or use a reverse proxy. For single URL setups, match the client's base URL to APP_URL.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics