Back to Home
daxian-dbw icon

MCPAsPowerShellModule

Verified Safe

by daxian-dbw

Overview

This project creates a PowerShell module that acts as a Model Context Protocol (MCP) server, dynamically exposing C#, PowerShell script files, or module functions as MCP tools.

Installation

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

Security Notes

The server's primary function is to execute PowerShell scripts or module functions specified by the deployer. While this provides flexibility, it means the security depends heavily on the trustworthiness of the scripts/modules exposed and the environment it runs in. There are no apparent hardcoded secrets or arbitrary 'eval' patterns from external input, as scripts are pre-defined by path. Installation from GitHub requires a Personal Access Token, which is user-managed and stored securely via SecretVault, not hardcoded. Communication is via standard I/O (stdio), which is generally safer than direct network exposure unless the parent process is compromised.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens50
Stars0
Forks1
Last Update2025-11-26

Tags

PowerShellMCPServerToolingDevelopment