
wallisking1991/outlook-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
wallisking1991/outlook-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/wallisking1991/outlook-mcp-server.
Обзор
wallisking1991/outlook-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/wallisking1991/outlook-mcp-server.
Обзор (машинный перевод)
Сервер Model Context Protocol (MCP), который обеспечивает доступ к функциям электронной почты Microsoft Outlook, позволяя LLM и другим клиентам MCP читать, искать и управлять электронной почтой через стандартизированный интерфейс.
Особенности
- ** Управление складом**: Список доступных почтовых папок в вашем клиенте Outlook ** Перечень адресов электронной почты**: Восстановление электронной почты за указанные периоды времени Поиск по электронной почте: Поиск электронных писем по имени контакта, ключевым словам или фразам с операторами ИЛИ ** Подробности электронной почты**: просмотр полного содержимого электронной почты, включая вложения Электронная почта: Создавать и отправлять новые электронные письма ** Ответы на электронную почту**: ответ на существующие электронные письма
Предпосылки
- Операционная система Windows Python 3.10 или более поздний Microsoft Outlook установлен и настроен с активной учетной записью Claude Desktop или другой MCP-совместимый клиент
##Установка
- Клонировать или загружать это хранилище 2.Установить необходимые зависимости:
3.Настройте Claude Desktop (или ваш предпочтительный клиент MCP) для использования этого сервера
Конфигурация
###Клод Конфигурация рабочего стола
Добавьте в свой файл MCP_client_config.json следующее:
Использование
Запуск сервера
Вы можете запустить сервер напрямую:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Outlook MCP Server
A Model Context Protocol (MCP) server that provides access to Microsoft Outlook email functionality, allowing LLMs and other MCP clients to read, search, and manage emails through a standardized interface.
Features
- Folder Management: List available mail folders in your Outlook client
- Email Listing: Retrieve emails from specified time periods
- Email Search: Search emails by contact name, keywords, or phrases with OR operators
- Email Details: View complete email content, including attachments
- Email Composition: Create and send new emails
- Email Replies: Reply to existing emails
Prerequisites
- Windows operating system
- Python 3.10 or later
- Microsoft Outlook installed and configured with an active account
- Claude Desktop or another MCP-compatible client
Installation
- Clone or download this repository
- Install required dependencies:
pip install mcp>=1.2.0 pywin32>=305
- Configure Claude Desktop (or your preferred MCP client) to use this server
Configuration
Claude Desktop Configuration
Add the following to your MCP_client_config.json file:
{
"mcpServers": {
"outlook": {
"command": "python",
"args": ["Your path\\outlook_mcp_server.py"],
"env": {}
}
}
}
Usage
Starting the Server
You can start the server directly:
python outlook_mcp_server.py
Or allow an MCP client like Claude Desktop to start it via the configuration.
Available Tools
The server provides the following tools:
list_folders: Lists all available mail folders in Outlooklist_recent_emails: Lists email titles from the specified number of dayssearch_emails: Searches emails by contact name or keywordget_email_by_number: Retrieves detailed content of a specific emailreply_to_email_by_number: Replies to a specific emailcompose_email: Creates and sends a new email
Example Workflow
- Use
list_foldersto see all available mail folders - Use
list_recent_emailsto view recent emails (e.g., from last 7 days) - Use
search_emailsto find specific emails by keywords - Use
get_email_by_numberto view a complete email - Use
reply_to_email_by_numberto respond to an email
Examples
Listing Recent Emails
Could you show me my unread emails from the last 3 days?
Searching for Emails
Search for emails about "project update OR meeting notes" in the last week
Reading Email Details
Show me the details of email #2 from the list
Replying to an Email
Reply to email #3 with: "Thanks for the information. I'll review this and get back to you tomorrow."
Composing a New Email
Send an email to [email protected] with subject "Meeting Agenda" and body "Here's the agenda for our upcoming meeting..."
Troubleshooting
- Connection Issues: Ensure Outlook is running and properly configured
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"outlook": {
"command": "python",
"args": ["Your path\\outlook_mcp_server.py"],
"env": {}
}
}
}