WSL Exec

Provides secure command execution in WSL with built-in safety features like path validation, timeouts, and error handling.

spences10 20 ↓ 6k
Claude CodeClaude DesktopGeneric
View source ↗

This MCP server implementation, developed by Scott Spence, provides a secure way to execute commands in Windows Subsystem for Linux (WSL) with built-in safety features. Written in TypeScript and utilizing the Model Context Protocol SDK, it offers command execution with path validation, timeouts, and error handling. The implementation focuses on providing a controlled interface for AI models to interact with WSL, enabling safe execution of Linux commands from Windows environments. It's particularly useful for developers and system administrators looking to leverage AI capabilities for WSL-based tasks, such as automated system maintenance, development workflows, or data processing, while maintaining strict security controls.

Source

Repository: https://github.com/spences10/mcp-wsl-exec

Maintain WSL Exec?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

WSL Exec on getagentictools
[![WSL Exec on getagentictools](https://getagentictools.com/badge/mcp/spences10-mcp-wsl-exec.svg)](https://getagentictools.com/mcp/spences10-mcp-wsl-exec?ref=badge)