curl --location --request POST '/api/mcp-servers/import?project_id' \
--header 'X-Session-Id;' \
--header 'Accept-Language;' \
--header 'Content-Type: application/json' \
--data-raw '{
"project_id": "550e8400-e29b-41d4-a716-446655440000",
"servers": [
{
"name": "StreamVi API MCP",
"url": "http://localhost:8791/sse",
"description": "MCP server for StreamVi analytics",
"tags": [
"streaming",
"broadcast",
"video",
"live"
],
"auth_token": "Bearer token123",
"mcp_server_list_id": "550e8400-e29b-41d4-a716-446655440000",
"is_active": true,
"project_id": "550e8400-e29b-41d4-a716-446655440000",
"meta": {
"type": "analytics"
}
}
]
}'{
"servers": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "My MCP Server",
"url": "http://localhost:8791/sse",
"description": "Production server",
"tags": [
"production",
"api"
],
"auth_token": "secret_token",
"mcp_server_list_id": "550e8400-e29b-41d4-a716-446655440000",
"meta": {
"region": "eu",
"version": "1.0.0",
"tags": [
"production"
],
"last_health_check": "string",
"health_status": "healthy"
},
"has_documentation": true,
"documentation_count": 5,
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
]
}