@softeria/ms-365-mcp-server 0.185.1 → 0.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -781,6 +781,22 @@ Select a small set: exposing many generated Graph schemas can consume substantia
781
781
  model context. This option does not shrink individual schemas. Without
782
782
  `--eager-tools`, discovery and normal registration behave as before.
783
783
 
784
+ ## MCP Apps (experimental)
785
+
786
+ With `--enable-mcp-apps` (or `MS365_MCP_ENABLE_MCP_APPS=true`), tools that have an
787
+ [MCP Apps](https://github.com/modelcontextprotocol/ext-apps) view show it in hosts that
788
+ support MCP Apps, such as Claude, ChatGPT and VS Code. Other hosts ignore it and get the
789
+ same tool results as before.
790
+
791
+ The first view is a OneDrive/SharePoint file browser for `list-folder-files`: open
792
+ folders, go back through the folder path, load more items and open files in the browser.
793
+ The view gets its data through the host, which calls `list-folder-files` on this server
794
+ again, so it needs no network access of its own.
795
+
796
+ - It has no effect with `--toon`, since the view reads JSON results.
797
+ - With `--discovery`, only tools published directly with `--eager-tools` show a view,
798
+ e.g. `--discovery --eager-tools list-folder-files`.
799
+
784
800
  ## CLI Options
785
801
 
786
802
  The following options can be used when running ms-365-mcp-server directly from the command line:
@@ -849,6 +865,8 @@ When running as an MCP server, the following options can be used:
849
865
  --blob-output File download tools answer an MCP EmbeddedResource with the file instead of
850
866
  base64 JSON in a text block (see MS365_MCP_BLOB_OUTPUT below)
851
867
  --discovery Dynamic tool discovery: loads tools on demand to reduce initial token usage (see "Dynamic Tool Discovery" above)
868
+ --enable-mcp-apps (experimental) Show the interactive MCP Apps views, starting with a OneDrive/SharePoint
869
+ file browser, in hosts that support them (see "MCP Apps" above)
852
870
  --public-url <url> Public base URL for OAuth when behind a reverse proxy (see Open WebUI section and docs/deployment.md)
853
871
  ```
854
872
 
@@ -866,6 +884,7 @@ Environment variables:
866
884
  - `MS365_MCP_FEDERATED_TOKEN_FILE=<path>`: Federated token (workload identity federation), used instead of a secret or certificate in app mode
867
885
  - `MS365_MCP_MANAGED_IDENTITY=system|<client id>`: Use the host's managed identity in app mode, instead of an app registration
868
886
  - `MS365_MCP_OUTPUT_FORMAT=toon`: Enable TOON output format (alternative to --toon flag)
887
+ - `MS365_MCP_ENABLE_MCP_APPS=true|1`: Show the MCP Apps views (alternative to --enable-mcp-apps; see "MCP Apps" above)
869
888
  - `MS365_MCP_MAX_TOP=<n>`: Hard cap for Graph `$top` / `top` on list requests (positive integer). When the model passes a larger value, the server clamps it to `n` so responses stay smaller. Example: `MS365_MCP_MAX_TOP=15`
870
889
  - `MS365_MCP_MAX_PAGES=<n>`: Maximum number of pages followed when a tool is called with `fetchAllPages: true` (positive integer, default `100`). Bounds memory and latency for large result sets.
871
890
  - `MS365_MCP_MAX_ITEMS=<n>`: Maximum number of items accumulated when `fetchAllPages: true` (positive integer, default `10000`). Pagination stops after a whole page reaches this count, so the result can exceed the cap.