Skip to main content
POST
/
mcp-hub
/
scan
/
hosted
/
config
Scan MCP Servers from Config JSON
curl --request POST \
  --url https://api.enkryptai.com/mcp-hub/scan/hosted/config \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "mcp_config": {
    "mcpServers": {
      "example-server": {
        "transport": "sse",
        "url": "https://mcp.example.com/sse",
        "headers": {
          "Authorization": "Bearer <token>"
        }
      }
    }
  }
}
'
[
  {
    "job_id": "<string>",
    "endpoint_url": "<string>",
    "user_email": "<string>",
    "job_status": "<string>",
    "message": "<string>"
  }
]

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

Body

application/json

Request body for scanning every server defined in a Claude/Cursor-style MCP config JSON.

mcp_config
object
required

MCP config JSON with the standard mcpServers key (Claude/Cursor format)

Example:
{
"mcpServers": {
"example-server": {
"transport": "sse",
"url": "https://mcp.example.com/sse",
"headers": { "Authorization": "Bearer <token>" }
}
}
}
is_private
boolean
default:false

Mark all child scans as private

Response

Hosted scan jobs accepted (one per server entry)

job_id
string
required

Unique identifier for the scan job

endpoint_url
string
required
user_email
string
required
job_status
string
required
message
string
required

Human-readable status message