mcp_rest

Test Connection

Test if we can connect to the provided MCP server before adding it

post/mcp-rest/test/connection

Request body

aliasstring nullable
allow_all_keysboolean
allowed_toolsstring[] nullable
approval_statusstring nullable

Server-managed: set by the endpoint; caller values are overridden.

argsstring[]
auth_type'none' | 'api_key' | 'bearer_token' | 'basic' | 'authorization' | 'oauth2' | 'aws_sigv4' | 'token' nullable
authorization_urlstring nullable
available_on_public_internetboolean
byok_api_key_help_urlstring nullable
byok_descriptionstring[]
commandstring nullable
descriptionstring nullable
envobject
extra_headersstring[] nullable
instructionsstring nullable
is_byokboolean
mcp_access_groupsstring[]
mcp_infoobject nullable
oauth2_flow'client_credentials' | 'authorization_code' nullable
registration_urlstring nullable
server_idstring nullable
server_namestring nullable
source_urlstring nullable
spec_pathstring nullable
static_headersobject nullable
submitted_atstring date-time nullable

Server-managed: set by the endpoint; caller values are overridden.

submitted_bystring nullable

Server-managed: set by the endpoint; caller values are overridden.

token_urlstring nullable
tool_name_to_descriptionobject nullable
tool_name_to_display_nameobject nullable
transport'sse' | 'http' | 'stdio'
urlstring nullable

Response

Successful Response

{"stackTrail":"paths:/mcp-rest/test/connection:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes