MCP Server for PowerShell
Project description
MCP server for PowerShell
Disclaimer
Unofficial Implementation: This project is an independent open-source software project. It is not affiliated with, endorsed by, sponsored by, or associated with Microsoft Corporation or the PowerShell team.
Trademarks: "PowerShell" and the PowerShell logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks cited herein are the property of their respective owners. Use of these names is for descriptive purposes only (nominative fair use) to indicate compatibility.
Installation
- Run directly with uv (recommended):
uvx mcp-server-for-powershell - pip:
pip install mcp-server-for-powershell - uv:
uv pip install mcp-server-for-powershell
Configuration
The server can be configured using the following command-line arguments:
| Argument | Description | Default |
|---|---|---|
--allowed-commands |
List of allowed PowerShell commands. If empty, all are allowed (subject to restrictions). | [] |
--restricted-commands |
List of restricted PowerShell commands. | Safe defaults |
--restricted-directories |
List of restricted directories. | System directories |
--language-mode |
PowerShell Language Mode: 0 (NoLanguage), 1 (ConstrainedLanguage), 2 (RestrictedLanguage), 3 (FullLanguage). |
1 |
--cwd |
Initial working directory. | Current Directory |
Language Modes
- 0 (NoLanguage): No script execution allowed.
- 1 (ConstrainedLanguage): Restricts access to sensitive language elements (default).
- 2 (RestrictedLanguage): Only allows basic commands.
- 3 (FullLanguage): Unrestricted access.
License
mcp-server-for-powershell is provided as-is under the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_for_powershell-1.0.2.tar.gz.
File metadata
- Download URL: mcp_server_for_powershell-1.0.2.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71880006fcef9c5b0c5dae6d6bb677e7a355101de7326aa30144a6bb3d131a49
|
|
| MD5 |
47b4b88e96e63eb3bec5834b033c6ffb
|
|
| BLAKE2b-256 |
0a93d4a3804d97ebd5faebc00d4b8b720bf1b519d6498b396bdac86f8f417d16
|
Provenance
The following attestation bundles were made for mcp_server_for_powershell-1.0.2.tar.gz:
Publisher:
create-release.yaml on danielklecha/mcp-server-for-powershell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_for_powershell-1.0.2.tar.gz -
Subject digest:
71880006fcef9c5b0c5dae6d6bb677e7a355101de7326aa30144a6bb3d131a49 - Sigstore transparency entry: 787203906
- Sigstore integration time:
-
Permalink:
danielklecha/mcp-server-for-powershell@fda28869702491ee373de36268e6de3af89f34b1 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/danielklecha
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
create-release.yaml@fda28869702491ee373de36268e6de3af89f34b1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mcp_server_for_powershell-1.0.2-py3-none-any.whl.
File metadata
- Download URL: mcp_server_for_powershell-1.0.2-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46f373ebb56232559be14c81be7905ff73b4654cbb688dd77b8d46e2bc92de38
|
|
| MD5 |
f71de2cfc10f04f56dc69480a5a449e2
|
|
| BLAKE2b-256 |
230d87673181a42634969fa45f8847dbb9afb0ad426bc7807098c2e774b4e122
|
Provenance
The following attestation bundles were made for mcp_server_for_powershell-1.0.2-py3-none-any.whl:
Publisher:
create-release.yaml on danielklecha/mcp-server-for-powershell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_for_powershell-1.0.2-py3-none-any.whl -
Subject digest:
46f373ebb56232559be14c81be7905ff73b4654cbb688dd77b8d46e2bc92de38 - Sigstore transparency entry: 787203907
- Sigstore integration time:
-
Permalink:
danielklecha/mcp-server-for-powershell@fda28869702491ee373de36268e6de3af89f34b1 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/danielklecha
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
create-release.yaml@fda28869702491ee373de36268e6de3af89f34b1 -
Trigger Event:
push
-
Statement type: