Skip to main content
Glama

Peekaboo MCP

by steipete
WindowCommandBasicTests.swiftβ€’1.21 kB
import Foundation import Testing @testable import peekaboo @Suite("Window Command Basic Tests", .serialized) struct WindowCommandBasicTests { @Test("Window command exists") func windowCommandExists() { // Verify WindowCommand type exists and has proper configuration let config = WindowCommand.configuration #expect(config.commandName == "window") #expect(config.abstract.contains("Manipulate application windows")) } @Test("Window command has expected subcommands") func windowSubcommands() { let subcommands = WindowCommand.configuration.subcommands // We expect 8 subcommands #expect(subcommands.count == 8) // Verify subcommand names by checking configuration let subcommandNames = Set(["close", "minimize", "maximize", "move", "resize", "set-bounds", "focus", "list"]) // Each subcommand should have one of these names for subcommand in subcommands { let config = subcommand.configuration #expect( subcommandNames.contains(config.commandName ?? ""), "Unexpected subcommand: \(config.commandName ?? "")" ) } } }

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/steipete/Peekaboo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server