# run_ps

Run a PowerShell script and return its output.

Agent View of the PolicyLayer registry record for `run_ps`. HTML page: https://policylayer.com/tools/mcp-hands/run-ps

## Facts

- Tool: `run_ps`
- Server: Mcp Hands (`huocai250/mcp-hands`) — https://policylayer.com/tools/mcp-hands.md
- Homepage: https://github.com/huocai250/mcp-hands
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "run_ps",
    "arguments": {}
  }
}
```

## Why run_ps is rated High

run_ps triggers real processes with real consequences. An agent gone sideways doesn't fire it once. It starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

## Use case

AI agents invoke run_ps to trigger actions in Mcp Hands. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Mcp Hands:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "run_ps": {
      "limits": [
        {
          "counter": "run_ps_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Mcp Hands (377)

- `call_clear` — Destructive — https://policylayer.com/tools/mcp-hands/call-clear.md
- `dedupe_lines` — Destructive — https://policylayer.com/tools/mcp-hands/dedupe-lines.md
- `delete` — Destructive — https://policylayer.com/tools/mcp-hands/delete.md
- `empty_dirs` — Destructive — https://policylayer.com/tools/mcp-hands/empty-dirs.md
- `firewall_remove_rule` — Destructive — https://policylayer.com/tools/mcp-hands/firewall-remove-rule.md
- `hosts_remove` — Destructive — https://policylayer.com/tools/mcp-hands/hosts-remove.md
- `hosts_reset` — Destructive — https://policylayer.com/tools/mcp-hands/hosts-reset.md
- `job_cancel` — Destructive — https://policylayer.com/tools/mcp-hands/job-cancel.md
- `memory_forget` — Destructive — https://policylayer.com/tools/mcp-hands/memory-forget.md
- `note_delete` — Destructive — https://policylayer.com/tools/mcp-hands/note-delete.md
- `outbox_clean` — Destructive — https://policylayer.com/tools/mcp-hands/outbox-clean.md
- `pdf_delete_pages` — Destructive — https://policylayer.com/tools/mcp-hands/pdf-delete-pages.md
- `portproxy_remove` — Destructive — https://policylayer.com/tools/mcp-hands/portproxy-remove.md
- `power_action` — Destructive — https://policylayer.com/tools/mcp-hands/power-action.md
- `prune_backups` — Destructive — https://policylayer.com/tools/mcp-hands/prune-backups.md
- `reg_delete_key` — Destructive — https://policylayer.com/tools/mcp-hands/reg-delete-key.md
- `reg_delete_value` — Destructive — https://policylayer.com/tools/mcp-hands/reg-delete-value.md
- `remind_cancel` — Destructive — https://policylayer.com/tools/mcp-hands/remind-cancel.md
- `sort_lines` — Destructive — https://policylayer.com/tools/mcp-hands/sort-lines.md
- `task_delete` — Destructive — https://policylayer.com/tools/mcp-hands/task-delete.md
- `todo_delete` — Destructive — https://policylayer.com/tools/mcp-hands/todo-delete.md
- `winget_installed` — Destructive — https://policylayer.com/tools/mcp-hands/winget-installed.md
- `winget_uninstall` — Destructive — https://policylayer.com/tools/mcp-hands/winget-uninstall.md
- `gif_from_images` — Execute — https://policylayer.com/tools/mcp-hands/gif-from-images.md
- `git_run` — Execute — https://policylayer.com/tools/mcp-hands/git-run.md
- `image_scale_2x` — Execute — https://policylayer.com/tools/mcp-hands/image-scale-2x.md
- `job_start` — Execute — https://policylayer.com/tools/mcp-hands/job-start.md
- `job_wait` — Execute — https://policylayer.com/tools/mcp-hands/job-wait.md
- `pptx_from_outline` — Execute — https://policylayer.com/tools/mcp-hands/pptx-from-outline.md
- `run_cmd` — Execute — https://policylayer.com/tools/mcp-hands/run-cmd.md
- …and 347 more: https://policylayer.com/tools/mcp-hands.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=mcp-hands · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/mcp-hands
