Claude and Cursor
Native server
Section titled “Native server”Use this when you want sanitize and restore tools, not a wrapped CRM:
https://mcp.maskdoor.com/v1/mcp/nativeClaude Desktop and Cursor can send Authorization: Bearer mp_live_....
{ "mcpServers": { "maskdoor": { "url": "https://mcp.maskdoor.com/v1/mcp/native", "headers": { "Authorization": "Bearer mp_live_..." } } }}Claude on the web
Section titled “Claude on the web”Claude on the web often has nowhere to put a header. Use the OAuth connector. Paste the native URL, or a gateway URL, and follow the authorization prompt.
A request without a token returns 401 and points at the protected-resource metadata. The person signs in at app.maskdoor.com/oauth/authorize, picks a workspace, and approves. The access token lasts 900 seconds. The refresh token lasts 14 days and can be revoked. The scope is proxy:mcp. Registration uses PKCE S256.
An OAuth access token does not open the admin panel.
Gateway
Section titled “Gateway”When the client should call your tools, use the gateway URL from the quickstart, not the native URL. One workspace can hold several gateways, up to the plan cap. Tokens are shared inside that workspace’s session, so a person token from Postgres can be restored on a HubSpot write in the same session.
Host check
Section titled “Host check”The server rejects an unexpected Host header. Production clients should use mcp.maskdoor.com. api.maskdoor.com reaches the same process. Call the MCP host in the URLs above.