Skip to main content
GET
/
mcp-registry
/
get-server
Get MCP Registry Server
curl --request GET \
  --url https://api.enkryptai.com/mcp-registry/get-server \
  --header 'X-Enkrypt-MCP-Registry-Server: <x-enkrypt-mcp-registry-server>' \
  --header 'apikey: <api-key>'
{
  "saved_name": "<string>",
  "server_version": "<string>",
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "source_url": "<string>",
  "source_version": "<string>",
  "server_name": "<string>",
  "description": "<string>",
  "mcp_config": {
    "config": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/tmp"
      ]
    },
    "oauth_config": {
      "enabled": true,
      "is_remote": true,
      "OAUTH_VERSION": "2.1",
      "OAUTH_GRANT_TYPE": "authorization_code",
      "OAUTH_CLIENT_ID": "<string>",
      "OAUTH_CLIENT_SECRET": "<string>",
      "OAUTH_TOKEN_URL": "<string>",
      "OAUTH_AUTHORIZATION_URL": "<string>",
      "OAUTH_REDIRECT_URI": "<string>",
      "OAUTH_AUDIENCE": "<string>",
      "OAUTH_ORGANIZATION": "<string>",
      "OAUTH_SCOPE": "read write",
      "OAUTH_RESOURCE": "<string>",
      "OAUTH_USE_PKCE": true,
      "OAUTH_CODE_CHALLENGE_METHOD": "S256",
      "OAUTH_TOKEN_EXPIRY_BUFFER": 300,
      "OAUTH_USE_BASIC_AUTH": true,
      "OAUTH_ENFORCE_HTTPS": true,
      "OAUTH_TOKEN_IN_HEADER_ONLY": true,
      "OAUTH_VALIDATE_SCOPES": true,
      "OAUTH_USE_MTLS": true,
      "OAUTH_CLIENT_CERT_PATH": "<string>",
      "OAUTH_CLIENT_KEY_PATH": "<string>",
      "OAUTH_CA_BUNDLE_PATH": "<string>",
      "OAUTH_REVOCATION_URL": "<string>",
      "OAUTH_ADDITIONAL_PARAMS": {},
      "OAUTH_CUSTOM_HEADERS": {}
    },
    "tools": {},
    "denied_tools": [
      "delete_*",
      {
        "name": "write_file",
        "reason": "destructive"
      }
    ],
    "enable_server_info_validation": true,
    "tool_guardrails_config": {
      "enabled": true,
      "guardrail_name": "<string>",
      "additional_config": {},
      "block": [
        "policy_violation"
      ]
    },
    "input_guardrails_config": {
      "enabled": true,
      "guardrail_name": "<string>",
      "additional_config": {},
      "block": [
        "policy_violation"
      ]
    },
    "output_guardrails_config": {
      "enabled": true,
      "guardrail_name": "<string>",
      "additional_config": {},
      "block": [
        "policy_violation"
      ]
    }
  },
  "registry_id": "<string>",
  "registry_name": "<string>",
  "project_name": "<string>",
  "is_active": true,
  "is_sample": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://docs.enkryptai.com/llms.txt

Use this file to discover all available pages before exploring further.

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

Registry server details

saved_name
string

User-given name for the server

server_version
string

Server version

job_id
string<uuid> | null

MCP Hub server identifier (optional)

source_url
string | null

Source URL

source_version
string | null

Source version or commit hash

server_name
string | null

Server package name

description
string | null

Server description

mcp_config
object

MCP server configuration template. Shape mirrors a single entry of secure-mcp-gateway's mcp_configs.<id>.mcp_config[] array, so the registry server's mcp_config is directly consumable by the gateway runtime.

registry_id
string

Hashed ID of the parent registry this server belongs to

registry_name
string

Name of the parent registry (defaults to "default")

project_name
string

Project name

is_active
boolean

Whether the server is enabled (distinct from is_deleted)

is_sample
boolean

Whether this is a sample server

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp

created_by
string<uuid> | null

User ID who created this server

updated_by
string<uuid> | null

User ID who last updated this server