MCP 服务 2026-10-08 08:09 UTC
ms-365-mcp-server
由提交人 rmdevpro 提交,主要更新类型为:新增功能与能力扩展。提交说明:feat(http): upload URLs — attach a file to a draft or event via a single-use PUT ticket (#695)。带来了新的能力与可配置项,扩展了使用场景。
Commit提交信息原文
feat(http): upload URLs — attach a file to a draft or event via a single-use PUT ticket (#695)
* feat(http): upload URLs — attach a file to a draft or event via a single-use PUT ticket
get-download-url moves attachment bytes out of the agent context on the way
out; nothing did the same on the way in. Attaching a real file meant base64
contentBytes through the tool call, which is unusable beyond a few KB.
get-upload-url mints a ticket on the same store, redeemed by one PUT of the
raw file bytes to /attachment?t=<ticket>. The handler attaches the body to
the ticket's target (/me/messages/{id}/attachments or /me/events/{id}/
attachments) as the identity that minted the ticket: inline for files under
3 MB, through a Graph upload session in 3.75 MiB chunks up to 150 MB
otherwise, holding at most one chunk at a time. Content-Length is required;
the ticket is burnt on first presentation whatever happens; an upload ticket
on GET (or a download ticket on PUT) is refused like any bad ticket.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018VvKa6DRMeonLWHx7eoz1f
* test: count get-upload-url among the utility tools
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Eirik Brandtzæg <eirikb@eirikb.no>