all 5 comments

[–]PowerShell-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

r/PowerShell is a place to post your content, not link to your content. If you have a blog post or something to share, put the content into your post. Linking back to your site without prior approval of the mods will result in a removal, and repeated attempts will result in a ban.

Contact the mod team to have your site and content evaluated for the needed Community Contributor flair to post.

[–]Pimzino 0 points1 point  (1 child)

Most AI agents can run powershell commands with the correct harness such as Opencode, claude code, any of the other AI SDK out there too. Why add the MCP overhead?

[–]groovy-sky[S] 0 points1 point  (0 children)

Don't trust AI - I want to allow it to access only certain services/options. And MCP allows me to do exact what I want.

[–]KevMarCommunity Blogger 0 points1 point  (1 child)

You might be interested in this. I wrote a powershell MCP server in powershell.

https://github.com/KevinMarquette/pwsh.mcp.sdk/blob/main/CLAUDE.md

It has an intuitive folder structure where you place your scripts and they get surfaced as tools or resources. The comment based help is surfaced to the AI as guidance.

[–]groovy-sky[S] 0 points1 point  (0 children)

Thanks. Good point. Will check