Basic information
About WSL Exec MCP Server
WSL Exec enables secure command execution in WSL with advanced safety features like path validation, timeouts, and robust error handling.
WSL Exec is a MCP server in the Auth Security category listed in the AddMCP.net directory, published by spences10. It exposes 7 tools, including execute_command, confirm_command, get_system_info, get_environment and more. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 17 GitHub stars. Source code is hosted on github.com. Related topics: auth-security, community, developer-tools.
Setup
{
"mcpServers": {
"mcp-wsl-exec": {
"command": "npx",
"args": [
"-y",
"mcp-wsl-exec"
]
}
}
}
{
"mcpServers": {
"mcp-wsl-exec": {
"command": "npx",
"args": [
"-y",
"mcp-wsl-exec"
]
}
}
}
{
"servers": {
"mcp-wsl-exec": {
"command": "npx",
"args": [
"-y",
"mcp-wsl-exec"
]
}
}
}
WSL Exec MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-wsl-exec": {
"command": "npx",
"args": [
"-y",
"mcp-wsl-exec"
]
}
}
}
WSL Exec MCP Server tools
- execute_command — Execute a command in WSL (use read-only tools when possible)
- confirm_command — Confirm dangerous command execution
- get_system_info — Get WSL system information
- get_environment — Get WSL environment variables
- list_processes — List running processes in WSL
- get_disk_usage — Get disk space information
- get_directory_info — Get directory contents and info
Overview
What is WSL Exec?
Provides secure command execution in WSL with built-in safety features like path validation, timeouts, and error handling.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In