Create MCP server
/integrated-account/{integrated_account_id}/mcp
Path Parameters
The ID of the integrated account to create the MCP server for.
1ba1f401-7183-47c5-9e39-e8e257e3c795Request Body
The methods allowed for this server.
["GET","POST","READ","DOWNLAOD"]The tags associated with this server.
["api","webhook"]The name of the MCP server.
My MCP serverResponse Body
Configuration settings for the MCP server
List of methods allowed for this server
List of tags associated with this server
Timestamp when the MCP server was created
Unique identifier for the newly created MCP server
Name of the MCP server
The generated MCP server value used for authentication
Timestamp when the MCP server was last updated
The full URL endpoint for accessing the MCP Server
curl -X POST 'https://api.truto.one/integrated-account/{integrated_account_id}/mcp' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json' \
-d '{
"name": "My MCP server",
"config": {}
}'const body = {
"name": "My MCP server",
"config": {}
};
const response = await fetch('https://api.truto.one/integrated-account/{integrated_account_id}/mcp', {
method: 'POST',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
body: JSON.stringify(body),
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/integrated-account/{integrated_account_id}/mcp"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
payload = {
"name": "My MCP server",
"config": {}
}
response = requests.post(url, headers=headers, params=params, json=payload)
print(response.json())