Skip to main content
POST

Authorizations

apikey
string
header
required

Body

application/json
saved_name
string
required

User-given name for the server, unique per project and version

Maximum string length: 32
Example:

"my-filesystem-server"

server_version
string
default:v1

Server version (v1, v2, etc.)

Example:

"v1"

is_active
boolean
default:true

Whether the server is enabled. Inactive servers are hidden from gateway resolution but not soft-deleted.

job_id
string<uuid> | null

MCP Hub server identifier (UUID). Optional โ€” manually-configured servers may omit it.

Example:

"550e8400-e29b-41d4-a716-446655440000"

source_url
string | null

Source URL (e.g., GitHub link)

Example:

"https://github.com/modelcontextprotocol/servers"

source_version
string | null

Source version or commit hash

Example:

"v0.6.2"

server_name
string | null

Server package name

Example:

"@modelcontextprotocol/server-filesystem"

description
string | null

Human-readable server description

Example:

"Filesystem access for MCP"

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.

Response

Registry server created successfully

message
string

Response message

data
object