The consent page's answer for an AI application (MCP client); posted by the page itself.
POST
/oauth/mcp/consent
const url = 'https://api.contentsurface.io/oauth/mcp/consent';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.contentsurface.io/oauth/mcp/consentThe consent page posts here: allow returns to the application with an authorization code, deny with error=access_denied. The request is checked again in full — MCP access, the client’s document, the redirect address — and the person must still be signed in. Not for applications.
Responses
Section titled “Responses”OK