Executes `swift test` commands within Swift package directories, providing programmatic control over testing processes.
This server acts as an MCP (Model Context Protocol) endpoint, exposing a specialized `swift-test` tool designed to run `swift test` commands against Swift package directories. It's particularly useful for MCP clients, such as editors or AI agents, that need to trigger tests programmatically over standard I/O without granting a full interactive shell. The tool handles directory validation, accepts custom arguments for `swift test`, and streams back combined stdout/stderr along with execution metadata like exit code, duration, and the full command executed, reporting non-zero exits as MCP tool errors for structured client handling.