Browser-MCP-Autorisierung beginnen
GET /oauth/authorize
Validiert registrierte Weiterleitung, exakte MCP-Ressource und S256-Challenge und öffnet anschließend die Zustimmungsseite des Produkts. Gewährt nicht automatisch Zugriff. Anfrage läuft nach 10 Minuten ab. Autorisierungscode läuft nach 60 Sekunden ab.
Authentifizierung
Dieser Vorgang erfordert keine authentifizierte Sitzung. Origin-Prüfungen und Anfragebegrenzungen gelten weiterhin.
[]
Parameter
[
{
"name": "client_id",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "redirect_uri",
"in": "query",
"required": true,
"schema": {
"type": "string",
"format": "uri"
}
},
{
"name": "response_type",
"in": "query",
"required": true,
"schema": {
"const": "code"
}
},
{
"name": "scope",
"in": "query",
"required": true,
"schema": {
"const": "mcp:tools"
}
},
{
"name": "resource",
"in": "query",
"required": true,
"schema": {
"const": "https://qscan.dev/mcp"
}
},
{
"name": "code_challenge",
"in": "query",
"required": true,
"schema": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{43}$"
}
},
{
"name": "code_challenge_method",
"in": "query",
"required": true,
"schema": {
"const": "S256"
}
},
{
"name": "state",
"in": "query",
"required": false,
"schema": {
"type": "string",
"maxLength": 1024
}
}
]
Anfrageinhalt
Es ist kein Anfrageinhalt definiert.
Antworten
{
"303": {
"description": "Open sign-in and explicit consent",
"headers": {
"Location": {
"schema": {
"type": "string",
"format": "uri"
}
}
}
},
"400": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"401": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"403": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"413": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"415": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"429": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"503": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
}
}
Referenzen wie #/components/schemas/Asset werden in den gemeinsamen Schemas aufgelöst. Lade den OpenAPI-Vertrag zur Clientgenerierung herunter. Diese Seite wird generiert; sie beschreibt die implementierte Entwicklungs-API, keine geplanten Endpunkte.