Discover the MCP authorization server
curl --request GET \
--url https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauthimport requests
url = "https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"issuer": "<string>",
"authorization_endpoint": "<string>",
"device_authorization_endpoint": "<string>",
"token_endpoint": "<string>",
"registration_endpoint": "<string>",
"revocation_endpoint": "<string>",
"response_types_supported": [
"code"
],
"response_modes_supported": [
"query"
],
"grant_types_supported": [
"authorization_code"
],
"token_endpoint_auth_methods_supported": [
"none"
],
"revocation_endpoint_auth_methods_supported": [
"none"
],
"code_challenge_methods_supported": [
"S256"
],
"scopes_supported": [
"mcp:read"
],
"authorization_response_iss_parameter_supported": true,
"resource_parameter_supported": true,
"client_id_metadata_document_supported": true
}MCP
Discover the MCP authorization server
Canonical RFC 8414 path derived from the MCP OAuth issuer.
GET
/
.well-known
/
oauth-authorization-server
/
api
/
credits
/
mcp
/
oauth
Discover the MCP authorization server
curl --request GET \
--url https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauthimport requests
url = "https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paywithlocus.com/.well-known/oauth-authorization-server/api/credits/mcp/oauth")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"issuer": "<string>",
"authorization_endpoint": "<string>",
"device_authorization_endpoint": "<string>",
"token_endpoint": "<string>",
"registration_endpoint": "<string>",
"revocation_endpoint": "<string>",
"response_types_supported": [
"code"
],
"response_modes_supported": [
"query"
],
"grant_types_supported": [
"authorization_code"
],
"token_endpoint_auth_methods_supported": [
"none"
],
"revocation_endpoint_auth_methods_supported": [
"none"
],
"code_challenge_methods_supported": [
"S256"
],
"scopes_supported": [
"mcp:read"
],
"authorization_response_iss_parameter_supported": true,
"resource_parameter_supported": true,
"client_id_metadata_document_supported": true
}Response
200 - application/json
Authorization-server metadata
Example:
["code"]
Example:
["query"]
Available options:
authorization_code, refresh_token, urn:ietf:params:oauth:grant-type:device_code Example:
["none"]
Example:
["none"]
Example:
["S256"]
Available options:
mcp:read, mcp:execute, offline_access