runOauthPkceFlow
Tests OAuth 2.1 PKCE S256 authorization against a target MCP server, using a mock authorization server by default or a real tenant when real OAuth mode is enabled.
Instructions
Exercise OAuth 2.1 PKCE S256 flow against the target. Mock-AS by default; real-tenant when --oauth-mode=real.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"clientId": "<clientId>",
"redirectUri": "<redirectUri>"
},
"name": "runOauthPkceFlow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | ||
| target | Yes | ||
| clientId | Yes | ||
| redirectUri | Yes | ||
| specVersion | No | 2025-06-18 | |
| authorizationServerUrl | No |