Get MCP details
curl --request GET \
--url https://api.trugen.ai/v1/ext/mcp \
--header 'x-api-key: <api-key>'import requests
url = "https://api.trugen.ai/v1/ext/mcp"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.trugen.ai/v1/ext/mcp', 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.trugen.ai/v1/ext/mcp",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.trugen.ai/v1/ext/mcp"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.trugen.ai/v1/ext/mcp")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trugen.ai/v1/ext/mcp")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "0f7b696c-ecdf-4900-addc-e7cfdbbce1c7",
"name": "Livekit Docs",
"description": "MCP server to get livekit info",
"type": "shttp/sse",
"request_config": {
"url": "http://ec2-18-216-51-35.us-east-2.compute.amazonaws.com:8080/sse",
"headers": {
"User-Agent": "Trugen Avatar",
"Accept": "application/json"
}
},
"created_at": "2025-09-15T16:56:45.580326Z",
"updated_at": "2025-09-15T16:56:45.580326Z"
}
]{
"error": "Unauthorized: not a valid authorization api key"
}{
"error": "Failed to retrieve MCP details"
}MCPs
List All MCPs
Fetches a list of available MCP configurations. Requires x-api-key authentication.
GET
/
ext
/
mcp
Get MCP details
curl --request GET \
--url https://api.trugen.ai/v1/ext/mcp \
--header 'x-api-key: <api-key>'import requests
url = "https://api.trugen.ai/v1/ext/mcp"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.trugen.ai/v1/ext/mcp', 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.trugen.ai/v1/ext/mcp",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.trugen.ai/v1/ext/mcp"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.trugen.ai/v1/ext/mcp")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trugen.ai/v1/ext/mcp")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "0f7b696c-ecdf-4900-addc-e7cfdbbce1c7",
"name": "Livekit Docs",
"description": "MCP server to get livekit info",
"type": "shttp/sse",
"request_config": {
"url": "http://ec2-18-216-51-35.us-east-2.compute.amazonaws.com:8080/sse",
"headers": {
"User-Agent": "Trugen Avatar",
"Accept": "application/json"
}
},
"created_at": "2025-09-15T16:56:45.580326Z",
"updated_at": "2025-09-15T16:56:45.580326Z"
}
]{
"error": "Unauthorized: not a valid authorization api key"
}{
"error": "Failed to retrieve MCP details"
}Authorizations
Response
Successful MCP response
Example:
"0f7b696c-ecdf-4900-addc-e7cfdbbce1c7"
Example:
"Livekit Docs"
Example:
"MCP server to get livekit info"
Example:
"shttp/sse"
Show child attributes
Show child attributes
Example:
"2025-09-15T16:56:45.580326Z"
Example:
"2025-09-15T16:56:45.580326Z"
Was this page helpful?
⌘I