MCP 服务 2026-03-30 19:25 UTC
outlook-mcp
由提交人 ryaker 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix: token refresh env vars, delete-email tool, npx support (#48)。解决了已知运行时异常与边界错误,提升系统稳定性。
Commit提交信息原文
fix: token refresh env vars, delete-email tool, npx support (#48)
* fix: token refresh for Claude Desktop + add delete-email + npx support
- Fix token refresh failing silently in Claude Desktop (issue #44): TokenStorage
now checks both MS_CLIENT_ID and OUTLOOK_CLIENT_ID env vars so refresh_token
grant works regardless of which env var name the user configured.
- Add delete-email tool (issue #27): moves email to Deleted Items by default,
supports permanent=true for hard delete via Graph API DELETE.
- Add bin entries to package.json for npx usage (issue #36): `npx m365-mcp`
and `npx m365-mcp-auth` now work without cloning.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: address PR review feedback on delete-email handler
- Guard handleDeleteEmail against undefined args with default parameter (args = {})
- Fix permanent delete to use POST /me/messages/{id}/permanentDelete instead of
DELETE /me/messages/{id} which only soft-deletes to Deleted Items folder
- Extend UNAUTHORIZED catch to also handle error.message === 'UNAUTHORIZED'
thrown by callGraphAPI on 401 responses, giving consistent re-auth prompts
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>