Skip to content

💡 [Feature]: Add a tool that brings in best practices for using CLI for Microsoft 365 #40

@Adam-it

Description

@Adam-it

🎯 Aim of the feature

The idea is to add a tool that the LM could use when creating a script that uses CLI for Microsoft 365 commands. The LM could retrieve/get additional context with best practices how CLI for M365 commands should be used in a script like how to check auth, how to catch errors, how to handle output.

💡 idea

How we could go about it is add a new .MD file with best practices for using CLI for Microsoft 365 in a script file for PowerShell in this repo and then add a MCP tool that would fetch this .MD file from repo and use it as context for LLM.

The .MD guidance could base on information that is present on this page
https://pnp.github.io/cli-microsoft365/user-guide/using-cli

🤔 Additional remarks or comments

Something similar was already done in Azure MCP and Dev Proxy MCP so we could follow similar approach

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions