Global MCP endpoint
curl --request POST \
--url https://app.rookoo.ai/api/v1/mcp \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '
{
"jsonrpc": "2.0",
"method": "tools/list",
"id": "<string>",
"params": {}
}
'const options = {
method: 'POST',
headers: {api_access_token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({jsonrpc: '2.0', method: 'tools/list', id: '<string>', params: {}})
};
fetch('https://app.rookoo.ai/api/v1/mcp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.rookoo.ai/api/v1/mcp"
payload = {
"jsonrpc": "2.0",
"method": "tools/list",
"id": "<string>",
"params": {}
}
headers = {
"api_access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"jsonrpc": "2.0",
"id": "<string>",
"result": {},
"error": {
"code": 123,
"message": "<string>",
"data": {}
}
}MCP
Global MCP endpoint
Streamable HTTP MCP endpoint. Authenticate as a portal user with api_access_token
or an OAuth bearer JWT. Prefer the account-scoped endpoint when working inside one account.
POST
/
api
/
v1
/
mcp
Global MCP endpoint
curl --request POST \
--url https://app.rookoo.ai/api/v1/mcp \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '
{
"jsonrpc": "2.0",
"method": "tools/list",
"id": "<string>",
"params": {}
}
'const options = {
method: 'POST',
headers: {api_access_token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({jsonrpc: '2.0', method: 'tools/list', id: '<string>', params: {}})
};
fetch('https://app.rookoo.ai/api/v1/mcp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.rookoo.ai/api/v1/mcp"
payload = {
"jsonrpc": "2.0",
"method": "tools/list",
"id": "<string>",
"params": {}
}
headers = {
"api_access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"jsonrpc": "2.0",
"id": "<string>",
"result": {},
"error": {
"code": 123,
"message": "<string>",
"data": {}
}
}Authorizations
This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
Body
application/json