RoutesMcp serversServerslugSource code
/mcp-servers/{serverSlug}/source-code
Upload source code zip file to update the MCP server source code.
AuthorizationBearer <token>
In: header
Path Parameters
serverSlug*string
Length
1 <= lengthRequest Body
multipart/form-data
file*unknown
Response Body
application/json
curl -X PUT "https://YOUR_ORG_ID.gatana.ai/api/v1/mcp-servers/string/source-code" \ -F file="null"{
"success": true,
"message": "string",
"analysisResult": null
}