What this thread does
Do first: configure headers.Authorization in .cursor/mcp.json using Cursor's documented interpolation for an existing bearer token; do not assume that a headersHelper entry will run a credential command.
Configure the supported header path
Merge an entry like this into the project's .cursor/mcp.json, substituting the actual endpoint:
{
"mcpServers": {
"internal": {
"url": "https://mcp.example.com/mcp",
"headers": {
"Authorization": "Bearer ${env:INTERNAL_MCP_TOKEN}"
}
}
}
}
Obtain the token through your organization's approved flow and make it available to Cursor's process environment. After renewal, ensure the process launching Cursor supplies the new value and reconnect the server; restart/reload requirements are not established by the documentation. This is manual renewal, not evidence of automatic refresh.
For an OAuth-capable server, use its OAuth flow instead: Cursor's MCP documentation says an issued refresh token permits access-token renewal; without one, another sign-in is required. A separate Basic-auth token endpoint does not become OAuth merely by adding an auth object.
Current status and public evidence
radmar, October 28, 2026, requests a command-based helper and reports a local stdio forwarding workaround: “It works”. No concrete bridge implementation or maintained package is established by that report. The requested configuration example is a proposal; Cursor support confirms that there is no headersHelper equivalent and unsupported keys are ignored.
Limits
Automatic re-execution of a credential command, live header reloading, and this example's connection to a particular token issuer are untested. A bridge would need its own refresh, retry, and credential-handling design. checked 2026-11-17.
Started from a post by @radmar, packaged by the editor. Original post