
EWS Meeting MCP
io.github.ap311036由 GitHub 帳號 ap311036 發布v0.1.17更新於 Oct 24, 2026
Safely schedule Outlook meetings on on-prem Exchange EWS with preview-confirmed writes.
發布方自己的服務:Meeting.ai
概覽
本機 MCP 伺服器,讓助理讀取地端 Exchange 的 Outlook 收件匣與空閒時間,並在預覽確認後建立、更新或取消會議。
- 可以做什麼
- 檢查設定與憑證、查看 Keychain 狀態(不傳回密碼),並取得含範例 HTML 的簽名設定指南。以唯讀方式搜尋與讀取收件匣郵件,不標示為已讀、不改變信箱狀態。列出行事曆事件、查詢空閒/忙碌並找出指定時間範圍內的事件。解析出席者、列出會議室,並依工作日、避開時段與會議室容量原則建議時段。預覽後確認建立(含每週重複與顯示狀態)、更新或取消會議,並核驗儲存結果。僅寄送報告給已設定的信箱,並讀取本機稽核記錄。
- 適用情境
- 適合仍使用地端 Exchange/EWS 的團隊,希望助理協助安排會議、查找會議室與出席者、讀取收件匣,同時讓所有行事曆寫入都經過人工確認的預覽與確認步驟。
- 執行需求
- 以 stdio 在本機執行,通常透過 npx(Node.js)或 Python 原始碼 checkout 啟動。需要 EWS_ENDPOINT、EWS_EMAIL 與 EWS_USERNAME,密碼透過 EWS_PASSWORD 或 macOS Keychain 變數提供;EWS_AUTH_TYPE 與 EWS_TIMEZONE 為選用。需要能連線至 Exchange EWS 端點的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 EWS Meeting MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
EWS Meeting MCP
[npm] [License: MIT] [Node.js >=18] [Python]
The MCP server for safely reading Outlook inbox messages, sending self-only reports, and scheduling meetings on on-prem Exchange EWS.
EWS Meeting MCP gives coding assistants and desktop agents a safe, structured way to read Outlook inbox messages and availability, send a report only to the configured mailbox, discover rooms, suggest meeting slots, and create, update, or cancel meetings only after an explicit human confirmation step.
It is built for companies where calendar access is sensitive infrastructure: regulated teams, internal networks, strict security review, legacy Exchange deployments, and organizations that cannot simply hand a cloud agent broad Microsoft 365 permissions. Credentials stay local, meeting writes are previewed before they touch Exchange, self-only report sends require idempotency protection, and every write can be traced through a local audit trail.
Why This Exists
Many teams still run calendar infrastructure through on-prem Exchange/EWS. General-purpose agents can reason about scheduling, but they should not receive raw passwords, guess attendee addresses, or send calendar invitations without a reviewable checkpoint.
This is not a generic Outlook wrapper or a Microsoft Graph-first calendar connector. It is designed for the stricter enterprise case: local EWS access, room resources, explicit human approval, duplicate-send protection, and audit-friendly meeting lifecycle tools.
This project wraps Exchange calendar operations in a small MCP surface with:
- Room-aware scheduling: finds overlapping attendee availability and filters meeting rooms by Exchange discovery or local policy.
- Human-in-the-loop writes: create, update, and cancel operations require a preview plus a matching
confirmation_id. - Outlook Show As: create or update personal appointments with
show_as: "out_of_office"(EWSOOF). Empty attendees and rooms never send invitations; this does not configure email automatic replies. - Local-first credential handling: reads
.env, shell environment, or macOS Keychain without passing passwords through the model. - Structured recovery: setup failures return machine-readable error codes and user-facing setup commands.
- Auditability: lifecycle previews, confirmed actions, duplicate confirmations, in-progress states, and structured errors are written to a local JSONL audit log.
- Agent-ready instructions: the MCP server exposes tool descriptions and initialization guidance, and the repo includes a companion skill for agents that support skills.
What Agents Can Do
Documentation
- Usage Guide: local setup, Keychain, scheduling policy, smoke checks, CLI examples, MCP config, and npm wrapper details.
- Agent Guide: tool contracts, setup checks, attendee resolution, room selection, preview-confirm flows, audit log, and verification rules.
- Publishing: npm package and GitHub Actions release checklist.
Quick Start
1. Configure EWS
Create a .env file in the working directory or provide equivalent environment variables:
Use EWS_AUTH_TYPE=BASIC only if IT confirms Basic auth is enabled and the endpoint is protected by HTTPS.
2. Store the Password
For local development, the generic ACCOUNT_PASSWORD override works, but do not put it in MCP config:
On macOS, Keychain is safer than storing the password in .env or MCP client config:
Use the same Keychain service/account pair from any local tool that needs this account password:
If ACCOUNT_PASSWORD_KEYCHAIN_ACCOUNT is omitted, EWS_USERNAME is used. ACCOUNT_PASSWORD is only a generic local override; Keychain is preferred.
3. Add the MCP Server
For an npm-installed MCP client:
For a local checkout:
Optional: Add an Outlook-Style Signature
Meeting invites append a configured HTML signature by default. Ask the MCP tool for a copyable starter template:
Save the returned sample_html as ews-meeting-signature.html in the MCP working directory, then edit the name, email, title, logo URL, and disclaimer. You can also point to a different file:
Use an HTTPS logo URL recipients can access, or replace the <img> source with a base64 data URI. Set EWS_MEETING_SIGNATURE_ENABLED=false to temporarily stop appending the signature.
4. Verify Setup
The first command prints the configured endpoint and account without printing the password. The second command validates that the account can connect to EWS.
Agent Workflow
For incoming Outlook mail, search the configured inbox first and then read the selected message:
These mailbox tools are read-only. They do not mark messages as read, send mail, move messages, or change labels.
For the Thursday Jira weekly-report automation, compose the report from the Jira results and then call the dedicated self-only mail tool through this EWS MCP:
ews_send_email_to_self takes no recipient, to, cc, or bcc argument. It obtains the only recipient from EWS_EMAIL, sends through Exchange EWS, and appends the configured HTML signature by default. It does not write the email body or recipient address to the audit log. Reuse the same idempotency key for an automation retry; a completed or in-progress key will not call Exchange again.
Scheduling should follow this shape:
Recurring meetings are created by passing a structured recurrence object to both preview and confirmed create calls. For example, "every Monday and Wednesday" uses weekly recurrence:
"Every business day until 7/26" means Monday through Friday, without holiday or makeup-day handling:
If the user asks only for weekdays such as "every Monday and Wednesday" without an end date, occurrence count, or explicit no-end choice, ask for one before previewing.
Existing meeting changes should use exact calendar metadata:
Agents should never infer an event from subject text when multiple candidates are possible.
Safety Model
EWS Meeting MCP is designed around a simple rule: reads may be automated, and every write must have a narrow safety gate. Inbox reads are limited to explicit read-only search and read tools; meeting writes require preview plus explicit confirmation, while the self-only report send requires configured-self enforcement plus idempotency protection.
- Authentication failures are fail-fast: the EWS client uses
FailFast, and after one invalid-credential or locked-account response the MCP blocks all later EWS calls in that process. Fix the shared Keychain item and restart the MCP before trying again. - Confirmed create, update, and cancel tools refuse to run unless
confirm=trueis passed. - Confirmed tools require the exact
confirmation_idreturned by the matching preview. - Confirmed update and cancel tools also require the exact EWS
idandchangekeyfromews_find_calendar_eventsor a prior verified result. - Duplicate confirmed requests return
error_code: "duplicate_confirmation"with prior result metadata instead of calling EWS again. - In-progress confirmations return
error_code: "confirmation_in_progress"and should not be blindly retried. - Preview tools never save, move, delete, or send Exchange notifications.
ews_send_email_to_selfis the only mail-write capability. It is self-only, requiresEWS_EMAILto be configured, and sends a saved draft with EWSCreateItemfollowed bySendItem; it does not accept an arbitrary recipient.- Self-only sends require a stable, non-secret
idempotency_key. A duplicate or in-progress key is refused before another EWS send. If delivery is uncertain, inspect Sent Items before retrying. - Self-only send audit entries contain only action/status and non-sensitive delivery/idempotency metadata; they do not contain the configured email address, subject, body, password, or token.
- The local confirmation ledger and audit log store operation metadata, not EWS passwords.
If ews_setup_check returns ready: false, an agent should show the returned user_message or setup_command verbatim and stop. It should not ask for attendee emails or continue scheduling as a workaround.
Scheduling Policy
By default, scheduling tools look for ews-meeting-policy.json in the current working directory. Set EWS_MEETING_POLICY_FILE to point at a different file.
If no policy file exists, built-in defaults are used:
- workday:
10:00to18:00 - avoid:
12:00-14:00 - fallback rooms:
2-11,2-13,2-14,3-1,3-2,3-4
Live room selection uses Exchange room-list discovery when available, then falls back to configured rooms.
Example policy:
Policy rooms are merged with the default fallback rooms by alias. A matching alias overrides the default room, and new aliases are appended.
CLI Usage
The npm wrapper starts the MCP server by default:
Pass --cli to run the Python CLI through the same package:
Suggest a 30-minute meeting slot:
Preview a meeting invitation without sending anything:
Actually create the meeting and send invitations:
The --confirm flag is intentionally required. Without it, the command prints a dry-run preview and does not call EWS to create the event.
Calendar Show As / 不在辦公室
The create and update preview/confirmed MCP tools accept optional show_as:
Omitting it during creation keeps the existing Busy default; omitting it during updates preserves the stored status. Personal appointments use attendees: [] and rooms: [], and are saved with SendToNone. Existing meetings with attendees or resources retain their invitation behavior. Weekly recurring creation also accepts show_as; recurrence editing capabilities are unchanged.
Call ews_create_meeting_preview with, for example:
Show the user the start/end, timezone offsets, show_as, and invitation behavior. After explicit confirmation, call ews_create_meeting_confirmed with the same arguments plus confirm: true and the returned confirmation_id. Changing the status after preview invalidates that confirmation. Query/verification tools return the stored show_as and raw legacy_free_busy_status; use ews_verify_meeting to read the server after saving.
See Calendar status usage, MCP update steps, and live verification for update examples and a manual verification checklist. This feature affects the calendar status only, not mail automatic replies.
Local Development
For detailed setup, smoke tests, CLI examples, and MCP client configuration, see the Usage Guide.
The short development loop is:
Run the MCP server from a checkout:
Companion Skill
The repo includes a companion skill for agents that support skills:
See the Agent Guide for the same workflow in plain Markdown.
Troubleshooting
Operational troubleshooting lives in the Usage Guide. For agent behavior, setup-check handling, and lifecycle safety, see the Agent Guide.
Release
See Publishing.
License
MIT
來源:README.md,提交 2d7e020
工具
0版本歷史
1- v0.1.17最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Meeting 整合
Meeting.ai
ai.meeting官方發布者
遠端 MCP 端點,讓 AI 助理錄製會議並處理筆記、逐字稿、聯絡人與 Drive 內容。
MeetingBurner
由 GitHub 帳號 phoneburner 發布
MeetingBurner MCP 讓助理以公開身分的代理加入進行中的 MeetingBurner 會議,即時讀取會議內容並參與其中。

City Council & Public Meeting Transcripts
由 GitHub 帳號 catalyst-labs-dev 發布
遠端 Apify MCP 伺服器,用來取得市議會與郡會議的文字紀錄,包含議程時間戳與官方表決結果。

Zovo Meeting Planner
由 GitHub 帳號 theluckystrike 發布
Zovo Meeting Planner 的託管 MCP 服務;無需登入;Streamable HTTP;2 個工具。

Referna Meeting Recaps
由 GitHub 帳號 referna-ai 發布
一個遠端 MCP 伺服器,讓 AI 助理讀取成員在 Referna 的個人化會議回顧,包含 mixer 的一對一清單。