Skip to main content
GET
/
mcp-playground
/
get-tools
Get MCP Server Tools
curl --request GET \
  --url https://mcp.enkryptai.com/mcp-playground/get-tools \
  --header 'X-Enkrypt-MCP-Registry-Server: <x-enkrypt-mcp-registry-server>' \
  --header 'apikey: <api-key>'
import requests

url = "https://mcp.enkryptai.com/mcp-playground/get-tools"

headers = {
"X-Enkrypt-MCP-Registry-Server": "<x-enkrypt-mcp-registry-server>",
"apikey": "<api-key>"
}

response = requests.get(url, headers=headers)

print(response.text)
const options = {
method: 'GET',
headers: {
'X-Enkrypt-MCP-Registry-Server': '<x-enkrypt-mcp-registry-server>',
apikey: '<api-key>'
}
};

fetch('https://mcp.enkryptai.com/mcp-playground/get-tools', 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://mcp.enkryptai.com/mcp-playground/get-tools",
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-Enkrypt-MCP-Registry-Server: <x-enkrypt-mcp-registry-server>",
"apikey: <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://mcp.enkryptai.com/mcp-playground/get-tools"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-Enkrypt-MCP-Registry-Server", "<x-enkrypt-mcp-registry-server>")
req.Header.Add("apikey", "<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://mcp.enkryptai.com/mcp-playground/get-tools")
.header("X-Enkrypt-MCP-Registry-Server", "<x-enkrypt-mcp-registry-server>")
.header("apikey", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://mcp.enkryptai.com/mcp-playground/get-tools")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Enkrypt-MCP-Registry-Server"] = '<x-enkrypt-mcp-registry-server>'
request["apikey"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "success": true,
  "error": "<string>",
  "details": "<string>",
  "data": {
    "saved_name": "<string>",
    "server_version": "<string>",
    "server_name": "<string>",
    "description": "<string>",
    "tools": [
      {
        "name": "read_file",
        "description": "Read a file from the filesystem",
        "inputSchema": {}
      }
    ],
    "tool_count": 123
  }
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}

Authorizations

apikey
string
header
required

Headers

X-Enkrypt-MCP-Registry-Server
string
required

Registry server saved_name

Maximum string length: 32
Example:

"my-filesystem-server"

X-Enkrypt-MCP-Registry-Server-Version
string
default:v1

Registry server version (defaults to "v1")

Example:

"v1"

Response

Tools retrieved successfully

success
boolean

Whether the request was successful

error
string | null

Error message if failed

details
string | null

Additional error details

data
object