cli-microsoft365-mcp-server
v0.1.22MCP server for CLI for Microsoft 365 to manage your tenant using natural language
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
m365_search_commands Search CLI for Microsoft 365 commands
Searches CLI for Microsoft 365 commands using fuzzy search based on a query string. Use this tool first to find relevant commands before getting full command documentation.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query to find relevant commands (e.g., "sharepoint list", "teams channel", "user add") |
limit | number | Maximum number of results to return (default: 10, max: 50) |
m365_get_command_docs Retrieve CLI for Microsoft 365 command docs
Gets documentation for a specified CLI for Microsoft 365 command to be used by the Model Context Protocol to provide detailed information about the command along with examples, use cases, and option descriptions
| Parameter | Type | Description |
|---|---|---|
commandName * | string | command name which for which documentation is requested |
docs * | string | file path to command documentation |
m365_run_command Execute CLI for Microsoft 365 command
Runs a specified CLI for Microsoft 365 command to be used by the Model Context Protocol to execute the command and return the result and reason over the response
| Parameter | Type | Description |
|---|---|---|
command * | string | command name which should be executed |
m365_get_best_practices Retrieve CLI for Microsoft 365 best practices
Gets best practices for using CLI for Microsoft 365 in scripts, including guidance on authentication checking, error handling, output handling, and configuration