Whether this account may add MCP servers, and how many
GET
/api/mcp/config
const url = 'http://localhost:5173/api/mcp/config';const options = { method: 'GET', headers: {cookie: 'authjs.session-token=<authjs.session-token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:5173/api/mcp/config \ --cookie authjs.session-token=<authjs.session-token>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The permission and the ceiling.

