# WSL Exec

> Use this tool when you need to securely execute Linux commands from a Windows environment, leveraging AI capabilities for tasks like automated system maintenance or data processing. It provides a controlled interface with built-in safety features, including path validation, timeouts, and error handling. Ideal for developers and system administrators requiring strict security controls for WSL-based tasks.

Canonical page: https://skillsregistry.net/skills/spences10-wsl-exec  
JSON: https://api.skillsregistry.net/v1/skills/spences10-wsl-exec

## Description

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.

## Trust

- **Trust score (0–1):** 0.98
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** security
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/spences10-wsl-exec)
- **Repository:** <https://github.com/spences10/mcp-wsl-exec>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "spences10-wsl-exec"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/spences10-wsl-exec` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/spences10-wsl-exec/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
