Back to Home
daxian-dbw icon

MCPServerPS

Verified Safe

by daxian-dbw

Overview

Creates a PowerShell module that serves as a Model Context Protocol (MCP) server, dynamically exposing tools defined in C# code, PowerShell scripts, or PowerShell modules.

Installation

Run Command
pwsh -noprofile -c "MCPServerPS\Start-MyMCP"

Security Notes

The server is designed to execute dynamically loaded PowerShell scripts and modules. While the core project does not show obvious direct vulnerabilities, the security relies heavily on the administrator ensuring that the '-ScriptRoot' or '-Module' parameters point to trusted and secure scripts/modules. Malicious scripts or modules, if loaded, could lead to arbitrary code execution with the server's privileges. The use of dedicated Runspaces for script tools enhances isolation between tools but not from a malicious tool itself. No 'eval' or hardcoded secrets were identified in the provided code snippets for runtime operation.

Similar Servers

Stats

Interest Score30
Security Score7
Cost ClassLow
Avg Tokens10
Stars1
Forks2
Last Update2026-01-17

Tags

PowerShellMCPServerModuleTools