Complete the Kite login by hand
complete_loginFinish a Kite Connect login by exchanging a request_token copied from the browser address bar, storing the access token for all clients. Use it when the redirect page cannot be reached.
Instructions
Finish a Kite login with a request_token the person copied from the browser's address bar after logging in (use it when the redirect page could not be reached). Exchanges the token with Kite and stores the access token for every client of this server. Request tokens are single use and last only a few minutes. If KITE_MCP_ALLOWED_USER_ID is set, a login by any other Kite account is ended and refused.
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": {
"request_token": "<request_token>"
},
"name": "complete_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | the state from the same URL (optional; if given it must be valid) | |
| request_token | Yes | the request_token from the address bar after logging in at Kite; the whole redirected URL (which also carries the state) is accepted too |