Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
No tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Fetched from the repository for this visit.
This project creates a PowerShell module that serves as a Model Context Protocol (MCP) server.
The module exposes the Start-MyMCP cmdlet, which starts the MCP server and dynamically exposes tools based on how it is invoked.
Benefits of shipping an MCP server as a PowerShell module:
.ps1 script tools, or module function tools.pwsh.exe), so no need to ship PowerShell SDK assemblies.To build the project, run:
dotnet publish .\src\MCPServerPS.csproj
The published module will be available at .\out\MCPServerPS.
After deploying the module to your PowerShell module path, you can start the MCP server using the Start-MyMCP cmdlet.
The Start-MyMCP cmdlet supports three parameter sets:
Start-MyMCP -Name <string> [<CommonParameters>]
Start-MyMCP -Name <string> -ScriptRoot <string> [<CommonParameters>]
Start-MyMCP -Name <string> -Module <string> [<CommonParameters>]
serverInfo.name. Since MCP clients (e.g. VS Code) prefer this self-reported name over the mcp.json config key for tool grouping/naming, use a distinct -Name per configured instance so multiple instances of this module remain distinguishable.Start-MyMCP -Name <name> exposes all MCP tools defined in the C# code of this assembly.Start-MyMCP -Name <name> -ScriptRoot <path-to-directory> exposes each .ps1 script file in the specified directory as an MCP tool.Start-MyMCP -Name <name> -Module <module-name-or-path-to-module> exposes each function within the specified module as an MCP tool.Examples of script tools and module function tools can be found in the ./scripts folder.
Both script tools and module function tools use comment-based help to define the description and parameters for each tool. This ensures that tool metadata is discoverable and user-friendly.
{
"servers": {
"MCPServerPS": {
"type": "stdio",
"command": "pwsh",
"args": [
"-noprofile",
"-c",
"MCPServerPS\\Start-MyMCP -Name MCPServerPS"
]
}
},
"inputs": []
}
Assume the local repo root is at E:\repos\MCPServerPS.
{
"servers": {
"MCPServerPS": {
"type": "stdio",
"command": "pwsh",
"args": [
"-noprofile",
"-c",
"MCPServerPS\\Start-MyMCP -Name MCPServerPS -ScriptRoot E:\\repos\\MCPServerPS\\scripts"
]
}
},
"inputs": []
}
Assume the local repo root is at E:\repos\MCPServerPS.
{
"servers": {
"MCPServerPS": {
"type": "stdio",
"command": "pwsh",
"args": [
"-noprofile",
"-c",
"MCPServerPS\\Start-MyMCP -Name MCPServerPS -Module E:\\repos\\MCPServerPS\\scripts\\tools.psm1"
]
}
},
"inputs": []
}
The MCPServerPS module requires PowerShell 7.4 or higher.
To install it, run the following command:
Install-PSResource -Name MCPServerPS -Repository PSGallery
Download the latest release zip using the gh CLI, then extract it to your PowerShell module path.
# Download the latest release zip
gh release download --repo daxian-dbw/MCPServerPS --pattern "MCPServerPS-*.zip" --output MCPServerPS.zip --clobber
# Extract to your PowerShell module path (adjust destination as needed)
Expand-Archive -Path MCPServerPS.zip -DestinationPath "$HOME\Documents\PowerShell\Modules" -Force
After extracting, verify the module is available:
Get-Module -ListAvailable MCPServerPS
PSResourceGet module is installed.SecretVault is created called default.Create a Personal Access Token (Classic) with package:read permission.
At the time of writing, this is the only type of token that allows these premissions.
## The command should prompt for the secret.
Set-Secret -Name GitHubPackageRead
Register the Repository.
This assumes you called you vault default as described in the prerequisites.
Register-PSResourceRepository `
-name daxian-dbw `
-uri https://nuget.pkg.github.com/daxian-dbw/index.json `
-ApiVersion V3 `
-CredentialInfo @{ VaultName='default'; SecretName='GitHubPackageRead' } `
-Trusted
Then, you can install the module:
Install-PSResource -Name MCPServerPS -Repository daxian-dbw
Loading reviews...
GitHub checked 1095h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.