Create Mcp Server
Authorization
bearerAuth AuthorizationBearer <token>
API key issued from the Wacht platform dashboard. Pass as a Bearer token: Authorization: Bearer <api_key>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.wacht.dev/ai/mcp-servers" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "config": { "endpoint": "string" } }'{
"server": {
"id": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deployment_id": "string",
"name": "string",
"slug": "string",
"config": {
"endpoint": "string",
"auth": "token",
"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"
}
}{
"errors": [
{
"message": "string",
"code": 0
}
]
}{
"errors": [
{
"message": "string",
"code": 0
}
]
}{
"errors": [
{
"message": "string",
"code": 0
}
]
}{
"errors": [
{
"message": "string",
"code": 0
}
]
}