Connect to a server and list its tools, without storing anything
POST
/api/mcp/verify
const url = 'http://localhost:5173/api/mcp/verify';const options = { method: 'POST', 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 POST \ --url http://localhost:5173/api/mcp/verify \ --cookie authjs.session-token=<authjs.session-token>Send a url, with a secret when the server wants one, or an id to
re-test a stored server without typing its token again. Answers
{ ok: true, tools, total }, or { ok: false, error } with the reason
in a sentence.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The verdict
An id that is not the caller's.

