olk
olk — ターミナルで使えるMicrosoft Outlook
olkは、Microsoft Graphを通じてOutlookのメール、カレンダー、連絡先、タスク、OneDriveを操作するためのスクリプト可能なCLIおよびMCPサーバーです。個人のOutlook.comアカウントとエンタープライズのMicrosoft 365アカウントの両方で動作します。
インストール
brew install rlrghb/tap/olk
# or
go install github.com/rlrghb/olkcli/cmd/olk@latestnpmパッケージはolkcli、インストールされるコマンドはolkです:
npm install -g olkcliアップグレード後にmacOSがKeychainへのアクセスを求めてきた場合は、macOSの注意事項を参照してください。
Related MCP server: Microsoft MCP
クイックスタート
olk auth login
olk auth status
olk mail list --json --results-only --select id,subject,from
olk mail search 'from:person@example.com subject:urgent'
olk calendar view --days 7
olk contacts search "Alex"
olk todo lists list
olk drive ls仕事/学校アカウントおよびエンタープライズ限定機能の場合:
olk auth login --enterpriseよく使うコマンド
目的 | コマンド |
サインイン中のアカウントを確認 |
|
メッセージIDと件名を検索 |
|
メールを検索 |
|
次の1週間を表示 |
|
連絡先を検索 |
|
タスクリストを一覧表示 |
|
OneDriveを閲覧 |
|
メールを送信 |
|
変更を同期 |
|
スクリプト用にJSONを使用 |
|
MCPサーバーとして使用 |
|
すべてのコマンドとフラグについては、コマンドリファレンスを参照してください。
出力とスクリプト
結果はstdoutに書き出され、診断情報とプロンプトはstderrに出力されます。
olk mail list --json --results-only | jq '.[].subject'
olk contacts list --plain出力モードはJSON(--json)、TSV(--plain)、およびデフォルトの整列テーブルです。--conciseを使用すると大きな本文/プレビューを省略でき、--selectを使用するとサポートされている場所でフィールドを制限できます。スクリプトと同期を参照してください。
安全のためのデフォルト設定
無人での読み取り専用実行には
--no-write --no-send --no-inputを使用します。MCPは厳選されたツールを公開し、変更操作には明示的なオプトインが必要です。
外部のメール、カレンダー、連絡先、ファイルのテキストは、エージェントが安全に利用できるよう
--wrap-untrustedでラップできます。リフレッシュトークンはOSのキーチェーンに保存され、アクセストークンはメモリ内にのみ保持されます。
エージェントを接続したりログを共有したりする前に、セキュリティとプライバシーのガイドをお読みください。
ドキュメント
コントリビューション
make build
make test
make lintリポジトリ構成、検証、CI、公開の詳細については、開発とリリースを参照してください。
ライセンス
LICENSEを参照してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseBqualityAmaintenanceA Model Context Protocol server that enables interaction with Microsoft 365 services (Excel, Calendar, Mail, OneDrive, Teams, etc.) through the Graph API, allowing AI assistants to manage Microsoft 365 resources via natural language.18847,489951MIT
- FlicenseCqualityFmaintenanceA powerful MCP server that enables AI assistants to interact with Microsoft Graph API for managing Outlook emails, Calendar events, OneDrive files, and Contacts through natural language commands.3556-
- AlicenseNot gradedqualityDmaintenanceLightweight MCP server that enables AI agents to manage Microsoft Outlook email, calendar, and files using PKCE authentication with only a Client ID.MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that gives AI assistants full access to Microsoft Outlook emails, calendar, and contacts via the Microsoft Graph API.1142MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rlrghb/olkcli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server