We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mobile-dev-inc/Maestro'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
DepthTracker.kt•312 B
package maestro.utils
object DepthTracker {
private var currentDepth: Int = 0
private var maxDepth: Int = 0
fun trackDepth(depth: Int) {
currentDepth = depth
if (currentDepth > maxDepth) {
maxDepth = currentDepth
}
}
fun getMaxDepth(): Int = maxDepth
}