v2
mcp
mcp
Store a bearer token for an MCP server
Store a manually provided bearer token as an MCP credential.
Used by the Copilot MCPSetupCard when the server doesn't support the MCP OAuth discovery flow (returns 400 from /oauth/login). Subsequent run_mcp_tool calls will automatically pick up the token via _auto_lookup_credential.
post/api/mcp/token
Request body
Response
Successful Response