Sync an MCP server
Changed onConnects to an upstream MCP server, discovers tools, and persists the tool list and sync state on the server record.
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v2/mcp-servers/{id}:sync
- AuthHTTP bearer
Path parameters
Unique identifier of the MCP server.
Request body
Response
OK
Example response
{
"mcp_server": {
"connection": {
"url": "https://api.githubcopilot.com/mcp/"
},
"auth": {
"static_headers": [
{
"key": "Authorization",
"value": "ghp_xxxxxxxxxxxx"
}
]
},
"default_tool_exposure": {
"mode": "MCP_TOOL_EXPOSURE_MODE_ALL"
}
}
}Changes
- warning
added the new
MCP_CONNECTION_TYPE_OPENAPIenum value to the//////response property for the response status - info
added the optional property
///////////to the response with the status - info
added the optional property
///////////to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
/to the response with the status - info
response property
mcp_server/auth/allOf[McpAuthConfig]/enterprisedeprecated - info
response property
mcp_server/auth/allOf[McpAuthConfig]/enterprise/allOf[McpEnterpriseAuthConfig]/deprecated
- warning
- warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
/from the response with the status - info
removed the
MCP_CONNECTION_TYPE_OPENAPIenum value from the//////response property for the response status - info
response property
mcp_server/auth/allOf[McpAuthConfig]/enterprisereactivated - info
response property
mcp_server/auth/allOf[McpAuthConfig]/enterprise/allOf[McpEnterpriseAuthConfig]/reactivated
- warning