MCP server for PnP PowerShell
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add pnp-powershell -- dnx PnP.PowerShell.MCPServer --yes~/.codex/config.toml
[mcp_servers.pnp-powershell]
command = "dnx"
args = ["PnP.PowerShell.MCPServer", "--yes"]
# codex mcp add pnp-powershell -- dnx PnP.PowerShell.MCPServer --yes~/.cursor/mcp.json
{
"mcpServers": {
"pnp-powershell": {
"command": "dnx",
"args": [
"PnP.PowerShell.MCPServer",
"--yes"
]
}
}
}.vscode/mcp.json
{
"servers": {
"pnp-powershell": {
"type": "stdio",
"command": "dnx",
"args": [
"PnP.PowerShell.MCPServer",
"--yes"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pnp-powershell": {
"command": "dnx",
"args": [
"PnP.PowerShell.MCPServer",
"--yes"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"pnp-powershell": {
"command": "dnx",
"args": [
"PnP.PowerShell.MCPServer",
"--yes"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"pnp-powershell": {
"command": "dnx",
"args": [
"PnP.PowerShell.MCPServer",
"--yes"
]
}
}
}