Koskamo

pwsh-exec MCP

A minimal, transparent PowerShell 7 MCP server for Windows that exposes a single tool, run_command, to execute commands in a fresh pwsh process and return raw exit code, stdout, and stderr. It is stateless, bounded by a 1-300 second timeout, and Windows-hardened for UTF-8 output and fresh PATH reading.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

pwsh-exec MCP logo, by Jason26214Community listingLocal stdioSource reviewed; not executedPublished by Jason26214
Vendor documentation

What you can do with it

  • Run a command in a fresh PowerShell process
  • Get raw exit code, stdout, and stderr back
  • Execute scripts with a specified timeout

Source and maintenance

Community listingRegistry 1.0.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

pwsh-exec 1.0.1

pypi
pwsh-exec package definition
{
  "version": "1.0.1",
  "transport": "stdio",
  "identifier": "pwsh-exec",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "PWSH_EXEC_DEFAULT_DIR",
      "format": "string",
      "description": "Default working directory for commands (defaults to %TEMP%/pwsh-exec)."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "pwsh-exec-mcp": {
      "command": "uvx",
      "args": [
        "pwsh-exec==1.0.1"
      ],
      "env": {
        "PWSH_EXEC_DEFAULT_DIR": "<YOUR_PWSH_EXEC_DEFAULT_DIR>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "pwsh-exec-mcp": {
      "command": "uvx",
      "args": [
        "pwsh-exec==1.0.1"
      ],
      "env": {
        "PWSH_EXEC_DEFAULT_DIR": "<YOUR_PWSH_EXEC_DEFAULT_DIR>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "pwsh-exec-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pwsh-exec==1.0.1"
      ],
      "env": {
        "PWSH_EXEC_DEFAULT_DIR": "<YOUR_PWSH_EXEC_DEFAULT_DIR>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "pwsh-exec-mcp": {
      "command": "uvx",
      "args": [
        "pwsh-exec==1.0.1"
      ],
      "env": {
        "PWSH_EXEC_DEFAULT_DIR": "<YOUR_PWSH_EXEC_DEFAULT_DIR>"
      }
    }
  }
}

Let your agent find its tools

Find servers like pwsh-exec MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.