Install
$ agentstack add mcp-yotsuda-processdrive ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
ProcessDrive
Navigate the Windows process tree as a PowerShell drive — a CLI alternative to Process Explorer.
Quick Start
New-ProcDrive
cd Proc:\
dir
Using with AI Agents (PowerShell.MCP)
ProcessDrive works with PowerShell.MCP, enabling AI agents (Claude, GitHub Copilot, etc.) to explore processes through natural conversation:
- "What child processes does chrome have?" →
dir Proc:\chrome_21236 - "Show me chrome's network connections" →
dir Proc:\chrome_21236\Network - "Which services are hosted by svchost PID 1804?" →
dir Proc:\svchost_1804\Services - "Find all processes that loaded gdi32.dll" →
dir Proc:\ | % { dir "Proc:\$($_.PSChildName)\Modules" -EA Ignore } | ? Name -like '*gdi*'
The typed DTO output (ProcessInfo, ModuleInfo, ThreadInfo, etc.) makes it easy for AI agents to parse and reason about process data.
Features
Process Tree Navigation
dir Proc:\ # Root processes
dir Proc:\ -Recurse # Full process tree
cd Proc:\chrome_21236 # Navigate into a process
cd Modules # Navigate into virtual folder
cd .. # Go back to parent
cd \ # Go back to root
Tab completion works throughout the drive:
cd chr → cd chrome_21236 # Process name completion
cd Mod → cd Modules # Virtual folder completion
Get-Item ntd → Get-Item ntdll.dll # Module name completion (inside Modules)
Process Details (Get-Item)
Get-Item Proc:\devenv_24032 | Format-List *
Returns detailed properties equivalent to Process Explorer's General/Statistics tabs:
| Category | Properties | |---|---| | General | Name, PID, ParentPID, CommandLine, Path, StartTime, RunningTime | | File | FileVersion, Company, Description, ProductName | | Memory | WorkingSetMB, PeakWorkingSetMB, PrivateBytesMB, VirtualSizeMB, PagedMemoryMB, PageFaults | | CPU | UserCPU, KernelCPU, TotalCPU | | Process | SessionId, BasePriority, PriorityClass | | I/O | IOReadOps, IOWriteOps, IOReadBytesMB, IOWriteBytesMB |
Virtual Folders
Each process exposes four virtual sub-folders:
dir Proc:\chrome_21236\Modules # Loaded DLLs (Name, Size, Version, Company, Path)
dir Proc:\chrome_21236\Threads # Threads (TID, State, WaitReason, Priority, CPU)
dir Proc:\chrome_21236\Services # Associated Windows services
dir Proc:\chrome_21236\Network # TCP/UDP connections (Local, Remote, State)
Search Processes
# Find a process anywhere in the tree
dir Proc:\ -Include note* -Recurse
# Refresh cache and search
dir Proc:\ -Include note* -Recurse -Force
# Alternative: pipeline filter
dir Proc:\ -Recurse | Where-Object Name -like 'note*'
Kill Processes
Remove-Item Proc:\notepad_1234 # Kill a process
Remove-Item Proc:\chrome_21236 -Recurse # Kill entire process tree
Pipeline Power
Things Process Explorer can't do:
# Top 10 memory consumers
dir Proc:\ | Sort-Object MemMB -Descending | Select-Object -First 10
# Find which process loaded a specific DLL
dir Proc:\ | ForEach-Object {
dir "Proc:\$($_.PSChildName)\Modules" -ErrorAction SilentlyContinue
} | Where-Object Name -like '*websocket*'
# All Established TCP connections with process names
dir Proc:\ | ForEach-Object {
$name = $_.Name
dir "Proc:\$($_.PSChildName)\Network" -ErrorAction SilentlyContinue |
Select-Object @{N='Process';E={$name}}, Protocol, LocalAddress, RemoteAddress, State
} | Where-Object State -eq 'Established'
# Export process tree to CSV
dir Proc:\ -Recurse | Export-Csv processes.csv
# Services hosted by svchost processes
Get-Process svchost | ForEach-Object {
dir "Proc:\svchost_$($_.Id)\Services" -ErrorAction SilentlyContinue
}
Custom Drive Name
New-ProcDrive # Creates Proc:\
New-ProcDrive MyProc # Creates MyProc:\
Process Explorer Feature Mapping
Process tree view
dir Proc:\
dir Proc:\ -Recurse
Process properties
Get-Item Proc:\chrome_21236 | Format-List *
Loaded DLLs / Threads / Services / Network
dir Proc:\chrome_21236\Modules
dir Proc:\chrome_21236\Threads
dir Proc:\svchost_1804\Services
dir Proc:\chrome_21236\Network
Kill process / Kill process tree
Remove-Item Proc:\notepad_1234
Remove-Item Proc:\chrome_21236 -Recurse
Find process by name
dir Proc:\ -Include note* -Recurse
Find DLL across all processes
dir Proc:\ | % { dir "Proc:\$($_.PSChildName)\Modules" -EA Ignore } | ? Name -like '*gdi*'
Sort by memory / CPU
dir Proc:\ | Sort-Object MemMB -Descending
dir Proc:\ | Sort-Object CPU -Descending
Refresh cache
dir Proc:\ -Force
Export to file
dir Proc:\ -Recurse | Export-Csv processes.csv
Requirements
- Windows
- PowerShell 7.4+
Architecture
ProcessDrive is a NavigationCmdletProvider that exposes the Windows process tree as a hierarchical drive.
- Process tree is built from WMI
Win32_Process(cached for 10 seconds,dir -Forceto refresh) - Modules / Services are cached per process (10 seconds TTL,
dir -Forceto refresh) - Threads / Network are fetched live on each request
diruses WMI cache only (fast),Get-Itemadds live stats fromSystem.Diagnostics.Process- Network connections use P/Invoke to
GetExtendedTcpTable/GetExtendedUdpTable(iphlpapi.dll)
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: yotsuda
- Source: yotsuda/ProcessDrive
- License: MIT
- Homepage: https://www.powershellgallery.com/packages/ProcessDrive
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.