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

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.
@@ -183,7 +183,7 @@
183
183
  "presets": ["work"],
184
184
  "workScopes": ["Mail.ReadWrite.Shared"],
185
185
  "appScopes": ["Mail.ReadWrite"],
186
- "llmTip": "Create a reply draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). Does not send — use send-shared-mailbox-draft to send afterwards. For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
186
+ "llmTip": "Create a reply draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
187
187
  },
188
188
  {
189
189
  "pathPattern": "/users/{user-id}/messages/{message-id}/createReplyAll",
@@ -192,7 +192,7 @@
192
192
  "presets": ["work"],
193
193
  "workScopes": ["Mail.ReadWrite.Shared"],
194
194
  "appScopes": ["Mail.ReadWrite"],
195
- "llmTip": "Create a reply-all draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
195
+ "llmTip": "Create a reply-all draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
196
196
  },
197
197
  {
198
198
  "pathPattern": "/users/{user-id}/messages/{message-id}/createForward",
@@ -396,7 +396,7 @@
396
396
  "toolName": "create-reply-draft",
397
397
  "presets": ["mail", "outlook", "personal"],
398
398
  "scopes": ["Mail.ReadWrite"],
399
- "llmTip": "For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Note: supplying Message.body replaces the whole draft body, so the original quoted history is not included. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
399
+ "llmTip": "Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
400
400
  },
401
401
  {
402
402
  "pathPattern": "/me/messages/{message-id}/createReplyAll",
@@ -404,7 +404,7 @@
404
404
  "toolName": "create-reply-all-draft",
405
405
  "presets": ["mail", "outlook", "personal"],
406
406
  "scopes": ["Mail.ReadWrite"],
407
- "llmTip": "For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Note: supplying Message.body replaces the whole draft body, so the original quoted history is not included. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
407
+ "llmTip": "Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
408
408
  },
409
409
  {
410
410
  "pathPattern": "/me/messages/{message-id}/send",
@@ -15,6 +15,10 @@ function buildGeneralMcpInstructions(opts) {
15
15
  "App mode: there is no signed-in user, so /me paths do not work. Name the user in /users/{user-id} paths with a UPN or object id."
16
16
  );
17
17
  if (opts.readOnly) parts.push("This server is read-only; write operations are disabled.");
18
+ else
19
+ parts.push(
20
+ "Mail reply, reply-all and forward tools (including their drafts and shared mailboxes): Graph puts comment into an HTML body, so plain-text line breaks are usually lost; use <br> for line breaks or <p> for paragraphs."
21
+ );
18
22
  if (opts.multiAccount)
19
23
  parts.push("Multiple accounts: pass the account parameter when required (see list-accounts).");
20
24
  if (!opts.orgMode)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@softeria/ms-365-mcp-server",
3
3
  "mcpName": "io.github.Softeria/ms-365-mcp-server",
4
- "version": "0.185.0",
4
+ "version": "0.185.1",
5
5
  "description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
@@ -183,7 +183,7 @@
183
183
  "presets": ["work"],
184
184
  "workScopes": ["Mail.ReadWrite.Shared"],
185
185
  "appScopes": ["Mail.ReadWrite"],
186
- "llmTip": "Create a reply draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). Does not send — use send-shared-mailbox-draft to send afterwards. For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
186
+ "llmTip": "Create a reply draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
187
187
  },
188
188
  {
189
189
  "pathPattern": "/users/{user-id}/messages/{message-id}/createReplyAll",
@@ -192,7 +192,7 @@
192
192
  "presets": ["work"],
193
193
  "workScopes": ["Mail.ReadWrite.Shared"],
194
194
  "appScopes": ["Mail.ReadWrite"],
195
- "llmTip": "Create a reply-all draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
195
+ "llmTip": "Create a reply-all draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
196
196
  },
197
197
  {
198
198
  "pathPattern": "/users/{user-id}/messages/{message-id}/createForward",
@@ -396,7 +396,7 @@
396
396
  "toolName": "create-reply-draft",
397
397
  "presets": ["mail", "outlook", "personal"],
398
398
  "scopes": ["Mail.ReadWrite"],
399
- "llmTip": "For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Note: supplying Message.body replaces the whole draft body, so the original quoted history is not included. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
399
+ "llmTip": "Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
400
400
  },
401
401
  {
402
402
  "pathPattern": "/me/messages/{message-id}/createReplyAll",
@@ -404,7 +404,7 @@
404
404
  "toolName": "create-reply-all-draft",
405
405
  "presets": ["mail", "outlook", "personal"],
406
406
  "scopes": ["Mail.ReadWrite"],
407
- "llmTip": "For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Note: supplying Message.body replaces the whole draft body, so the original quoted history is not included. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
407
+ "llmTip": "Message.body (contentType 'html' for HTML) replaces the whole draft body, dropping the quoted history; 'comment' keeps it. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
408
408
  },
409
409
  {
410
410
  "pathPattern": "/me/messages/{message-id}/send",