cURL
curl 'https://api.gumloop.com/api/v1/mcp/servers?team_id=YOUR_TEAM_ID' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'from gumloop import Gumloop
client = Gumloop(access_token="YOUR_ACCESS_TOKEN")
response = client.mcp.list_servers(team_id="YOUR_TEAM_ID")
for server in response.servers:
print(server.server_id, server.status)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gumloop.com/api/v1/mcp/servers', 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.gumloop.com/api/v1/mcp/servers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.gumloop.com/api/v1/mcp/servers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.gumloop.com/api/v1/mcp/servers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gumloop.com/api/v1/mcp/servers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"servers": [
{
"server_id": "gumloop_slack",
"name": "Slack",
"type": "gumcp_server",
"status": "connected",
"icon_url": "https://www.gumloop.com/icons/slack.png",
"description": "Send and read Slack messages.",
"gumloop_auth_url": "https://www.gumloop.com/oauth/connect/slack",
"mcp_url": null,
"tool_count": 12,
"allowed_tool_call_ids": null
},
{
"server_id": "gumloop_linear",
"name": "Linear",
"type": "gumcp_server",
"status": "unauthenticated",
"icon_url": "https://www.gumloop.com/icons/linear.png",
"description": "Read and create Linear issues.",
"gumloop_auth_url": "https://www.gumloop.com/oauth/connect/linear",
"mcp_url": null,
"tool_count": 8,
"allowed_tool_call_ids": null
}
]
}List MCP servers
Return the catalog of MCP servers visible to the caller — Gumloop-hosted (gumcp_server), user-deployed Gumstack (gumstack_server), and custom (mcp_server) — along with each server’s connection state.
GET
/
mcp
/
servers
cURL
curl 'https://api.gumloop.com/api/v1/mcp/servers?team_id=YOUR_TEAM_ID' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'from gumloop import Gumloop
client = Gumloop(access_token="YOUR_ACCESS_TOKEN")
response = client.mcp.list_servers(team_id="YOUR_TEAM_ID")
for server in response.servers:
print(server.server_id, server.status)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gumloop.com/api/v1/mcp/servers', 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.gumloop.com/api/v1/mcp/servers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.gumloop.com/api/v1/mcp/servers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.gumloop.com/api/v1/mcp/servers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gumloop.com/api/v1/mcp/servers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"servers": [
{
"server_id": "gumloop_slack",
"name": "Slack",
"type": "gumcp_server",
"status": "connected",
"icon_url": "https://www.gumloop.com/icons/slack.png",
"description": "Send and read Slack messages.",
"gumloop_auth_url": "https://www.gumloop.com/oauth/connect/slack",
"mcp_url": null,
"tool_count": 12,
"allowed_tool_call_ids": null
},
{
"server_id": "gumloop_linear",
"name": "Linear",
"type": "gumcp_server",
"status": "unauthenticated",
"icon_url": "https://www.gumloop.com/icons/linear.png",
"description": "Read and create Linear issues.",
"gumloop_auth_url": "https://www.gumloop.com/oauth/connect/linear",
"mcp_url": null,
"tool_count": 8,
"allowed_tool_call_ids": null
}
]
}Authorizations
Query Parameters
Scope the catalog to a single team. When omitted, returns servers visible to the authenticated user.
Response
MCP servers visible to the caller.
Show child attributes
Show child attributes
Was this page helpful?
⌘I
