Skip to content

Table: mcp_server_registration

Referenced by:

ColumnTypeNullableNotes
iduuidnoDefault gen_random_uuid()
nametextno
urltextno
transporttextnoDefault 'http'::text
auth_kindtextnoDefault 'none'::text
auth_secret_reftextyes
auth_header_nametextyes
privacy_classtextnoDefault 'cloud'::text
enabledbooleannoDefault false
rate_limit_per_secondintegernoDefault 2
rate_limit_per_minuteintegernoDefault 60
health_check_interval_sintegernoDefault 60
last_health_check_attimestampyes
last_health_statustextyes
last_health_errortextyes
created_attimestampnoDefault now()
updated_attimestampnoDefault now()
registered_by_user_refbigintyes
  • CONSTRAINT mcp_server_registration_auth_kind_check CHECK ((auth_kind = ANY (ARRAY['none'::text, 'bearer'::text, 'header'::text, 'mtls'::text])))
  • CONSTRAINT mcp_server_registration_health_check_interval_s_check CHECK ((health_check_interval_s > 0))
  • CONSTRAINT mcp_server_registration_last_health_status_check CHECK (((last_health_status IS NULL) OR (last_health_status = ANY (ARRAY['healthy'::text, 'degraded'::text, 'unreachable'::text]))))
  • CONSTRAINT mcp_server_registration_privacy_class_check CHECK ((privacy_class = ANY (ARRAY['local'::text, 'cloud'::text])))
  • CONSTRAINT mcp_server_registration_rate_limit_per_minute_check CHECK ((rate_limit_per_minute > 0))
  • CONSTRAINT mcp_server_registration_rate_limit_per_second_check CHECK ((rate_limit_per_second > 0))
  • CONSTRAINT mcp_server_registration_transport_check CHECK ((transport = ANY (ARRAY['http'::text, 'stdio'::text])))
CREATE TABLE public.mcp_server_registration (
id uuid DEFAULT gen_random_uuid() NOT NULL,
name text NOT NULL,
url text NOT NULL,
transport text DEFAULT 'http'::text NOT NULL,
auth_kind text DEFAULT 'none'::text NOT NULL,
auth_secret_ref text,
auth_header_name text,
privacy_class text DEFAULT 'cloud'::text NOT NULL,
enabled boolean DEFAULT false NOT NULL,
rate_limit_per_second integer DEFAULT 2 NOT NULL,
rate_limit_per_minute integer DEFAULT 60 NOT NULL,
health_check_interval_s integer DEFAULT 60 NOT NULL,
last_health_check_at timestamp with time zone,
last_health_status text,
last_health_error text,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL,
registered_by_user_ref bigint,
CONSTRAINT mcp_server_registration_auth_kind_check CHECK ((auth_kind = ANY (ARRAY['none'::text, 'bearer'::text, 'header'::text, 'mtls'::text]))),
CONSTRAINT mcp_server_registration_health_check_interval_s_check CHECK ((health_check_interval_s > 0)),
CONSTRAINT mcp_server_registration_last_health_status_check CHECK (((last_health_status IS NULL) OR (last_health_status = ANY (ARRAY['healthy'::text, 'degraded'::text, 'unreachable'::text])))),
CONSTRAINT mcp_server_registration_privacy_class_check CHECK ((privacy_class = ANY (ARRAY['local'::text, 'cloud'::text]))),
CONSTRAINT mcp_server_registration_rate_limit_per_minute_check CHECK ((rate_limit_per_minute > 0)),
CONSTRAINT mcp_server_registration_rate_limit_per_second_check CHECK ((rate_limit_per_second > 0)),
CONSTRAINT mcp_server_registration_transport_check CHECK ((transport = ANY (ARRAY['http'::text, 'stdio'::text])))
);

Please see the schema overview for context. This document was last regenerated on 2026-07-26T08:25:29.520Z.