Overcast is alpha — behaviour and APIs may change between releases. Pin your version and read the changelog before upgrading.

overcast

Exposing MCP

OVERCAST_MCP_REMOTE_EXPOSURE and OVERCAST_MCP_AUTH_TOKEN turn on bearer-token auth for /_overcast/mcp, and neither of them changes what Overcast binds.

/_overcast/mcp is a local surface. To let a non-local client reach it, declare that and hand it a token — Overcast refuses to start with one and not the other:

OVERCAST_MCP_REMOTE_EXPOSURE=true OVERCAST_MCP_AUTH_TOKEN=$(openssl rand -hex 32) overcast serve
VariableDefaultEffect
OVERCAST_MCP_REMOTE_EXPOSUREfalseDeclares the endpoint will be reached remotely; requires the token
OVERCAST_MCP_AUTH_TOKENBearer token every MCP request must present once set

Treat the token like any other credential.

It does not open the port

Setting these two turns on bearer-token auth. What Overcast binds is OVERCAST_LISTEN, and if that exposes the port then the MCP endpoint is exposed with it — so set both of these before moving the bind address beyond localhost. Browser Origin checks (localhost origins only) are enforced on MCP either way.