Menci/Minfilia

★ 0Forks 0C#GitHub ↗Compare

README

Minfilia

Minfilia

Single-file Outlook MCP + CLI for Windows via COM interface
The name is from the FFXIV character [Minfilia](https://ffxiv.consolegameswiki.com/wiki/Minfilia_Warde).


Tools

Tool Description
list_stores List Outlook stores; email may be missing if Outlook does not expose SMTP or account-to-store binding
list_folders List folder hierarchy with item counts, which may be missing when Outlook refuses them
search_emails Keyword substring search (subject + body) with date/sender filters, stateless pagination, and mayHaveMissedMatches
get_email Read full email content by EntryID
get_conversation Get a conversation thread by topic, with explicit truncated
list_calendars List calendar folders; the default calendar is flagged with isDefault and listed first; itemCount may be missing when Outlook refuses it
get_calendar_events Query events by exact local-date overlap, with structured isCancelled, optional body via includeBody, local-time timestamps with UTC offset, and explicit truncated
search_contacts Search contacts by name, email, company, or job title, with explicit truncated, skippedFolders, and mayHaveMissedMatches

Usage

Download Minfilia.exe from Releases. Windows and desktop Outlook are required, and Outlook must already be running.

Minfilia.exe mcp [--port 3027]

All 8 MCP tools are also available as one-shot CLI subcommands with the same tool names and parameter names. CLI output is JSON.

Minfilia.exe list_stores
Minfilia.exe list_folders --storeName "Mailbox - Alice" --maxDepth 1
Minfilia.exe search_emails --query invoice --dateFrom 2026-04-01 --dateTo 2026-04-30 --maxResults 10
Minfilia.exe get_email --id "00000000A1B2C3D4..."
Minfilia.exe list_calendars
Minfilia.exe get_calendar_events --dateFrom 2026-04-16 --dateTo 2026-04-16 --includeBody
Minfilia.exe search_contacts --query Alice

Default MCP port is 3027 and the endpoint is http://localhost:3027/ (Streamable HTTP, stateless).

You can also build the project with .NET SDK 8.0+ (target .NET Framework 4.8):

dotnet build src/Minfilia/Minfilia.csproj -c Release

For more detailed instructions, just ask your AI coding agent (Codex / Claude Code).

License

MIT

Contributors

Menci

Issues