Skip to main content
Glama
Collections.kt278 B
package maestro.utils import java.io.File import java.nio.file.Path import kotlin.io.path.isRegularFile val Collection<File>.isSingleFile get() = size == 1 && first().isDirectory().not() val Collection<Path>.isRegularFile get() = size == 1 && first().isRegularFile()

Latest Blog Posts

MCP directory API

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