External MCP Server
Update External MCP Server
Endpoint to update an existing External MCP Server
put/external-mcp-server/{id}
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScripthttps://skmtc.dev/oneuptime/apis/oneuptime-openapi-specification/docs/external-mcp-server/:id/put.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the External MCP Server to update
Request body
Example request
{
"data": {
"name": "Example Text",
"url": "https://example.com",
"authType": "Example Text",
"isEnabled": true
}
}Response
Updated successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"project": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"name": "Example Text",
"description": "This is an example of longer text content that provides detailed information.",
"url": "https://example.com",
"authType": "Example Text",
"headerNames": "This is an example of longer text content that provides detailed information.",
"oauthTokenUrl": "https://example.com",
"oauthClientId": "This is an example of longer text content that provides detailed information.",
"oauthScope": "This is an example of longer text content that provides detailed information.",
"oauthAudience": "This is an example of longer text content that provides detailed information.",
"isEnabled": true,
"transport": "Example Text",
"serverName": "This is an example of longer text content that provides detailed information.",
"serverVersion": "Example Text",
"protocolVersion": "Example Text",
"tools": {
"key": "value",
"nested": {
"data": 123
}
},
"lastCheckedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"lastConnectedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"lastError": "This is an example of longer text content that provides detailed information.",
"createdByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.