curl --request POST \
--url https://api.wacht.dev/ai/mcp-servers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"config": {
"endpoint": "<string>",
"auth": {
"type": "token",
"auth_token": "<string>"
},
"headers": {}
}
}
'{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deployment_id": "<string>",
"name": "<string>",
"config": {
"endpoint": "<string>",
"auth": {
"type": "token",
"auth_token": "<string>"
},
"headers": {}
},
"discovery_result": {
"requires_auth": true,
"recommended_auth_mode": "<string>",
"token_url": "<string>",
"auth_url": "<string>",
"register_url": "<string>",
"resource_metadata_url": "<string>",
"resource": "<string>",
"scopes": [
"<string>"
],
"token_endpoint_auth_methods_supported": [
"<string>"
],
"authorization_servers": [
"<string>"
],
"message": "<string>"
}
}Was this page helpful?
curl --request POST \
--url https://api.wacht.dev/ai/mcp-servers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"config": {
"endpoint": "<string>",
"auth": {
"type": "token",
"auth_token": "<string>"
},
"headers": {}
}
}
'{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deployment_id": "<string>",
"name": "<string>",
"config": {
"endpoint": "<string>",
"auth": {
"type": "token",
"auth_token": "<string>"
},
"headers": {}
},
"discovery_result": {
"requires_auth": true,
"recommended_auth_mode": "<string>",
"token_url": "<string>",
"auth_url": "<string>",
"register_url": "<string>",
"resource_metadata_url": "<string>",
"resource": "<string>",
"scopes": [
"<string>"
],
"token_endpoint_auth_methods_supported": [
"<string>"
],
"authorization_servers": [
"<string>"
],
"message": "<string>"
}
}