Skip to main content
Glama
Jason26214

pwsh-exec

by Jason26214

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PWSH_EXEC_DEFAULT_DIRNoDefault working directory for commands. If not set, falls back to %TEMP%\pwsh-exec

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
run_commandA

Execute a command in a new PowerShell (pwsh 7) process. Stateless — no state persists between calls.

NOT for long-running tasks. Hard cap is 300 seconds (5 minutes); there is no background mode. Do NOT use for: installers (Ollama, VS, .NET SDK, etc.), large builds, package managers that may exceed 5 minutes (npm install on cold cache, pip install torch, etc.), dev servers, or anything interactive.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jason26214/pwsh-exec-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server