🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@insightsentry/email-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@insightsentry/email-mcp

MCP server for Microsoft Outlook, To Do, and Calendar via Graph API - provides AI-accessible tools for email, task management, and calendar events

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@insightsentry/email-mcp

MCP (Model Context Protocol) server for Microsoft Outlook, To Do, and Calendar via the Microsoft Graph API.

Gives AI assistants direct access to your Outlook mailbox — read, send, draft, and reply to emails, manage To Do tasks, and manage calendar events. Uses OAuth2 client credentials flow so no interactive login is needed.

Setup

Prerequisites

You need a Microsoft Entra (Azure AD) app registration with the following application permissions:

  • Mail.ReadWrite
  • Mail.Send
  • Tasks.ReadWrite
  • Calendars.ReadWrite

Gather these values from your app registration:

VariableDescription
GRAPH_API_CLIENT_IDApplication (client) ID
GRAPH_API_CLIENT_SECRETClient secret value
GRAPH_API_TENANT_IDDirectory (tenant) ID
GRAPH_API_USER_IDObject ID or UPN of the mailbox user

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "outlook": {
      "command": "npx",
      "args": ["@insightsentry/email-mcp"],
      "env": {
        "GRAPH_API_CLIENT_ID": "your-client-id",
        "GRAPH_API_CLIENT_SECRET": "your-client-secret",
        "GRAPH_API_TENANT_ID": "your-tenant-id",
        "GRAPH_API_USER_ID": "your-user-id"
      }
    }
  }
}

Claude Code

Add to .mcp.json in your project root:

{
  "mcpServers": {
    "outlook": {
      "command": "npx",
      "args": ["@insightsentry/email-mcp"],
      "env": {
        "GRAPH_API_CLIENT_ID": "your-client-id",
        "GRAPH_API_CLIENT_SECRET": "your-client-secret",
        "GRAPH_API_TENANT_ID": "your-tenant-id",
        "GRAPH_API_USER_ID": "your-user-id"
      }
    }
  }
}

Available Tools (15)

Email

ToolDescription
list_emailsList emails with pagination, filtering, and search
read_emailRead full email content by ID
create_draftCreate a draft email
send_emailSend a new email directly
reply_emailReply or reply-all to an email

To Do

ToolDescription
list_task_listsList all To Do task lists
list_tasksList tasks in a task list with filtering
create_taskCreate a task with title, body, due date, importance
update_taskUpdate task title, body, due date, importance, or status
delete_taskDelete a task

Calendar

ToolDescription
list_eventsList upcoming calendar events in a time range
get_eventGet full details of a calendar event
create_eventCreate an event with attendees, location, Teams meeting
update_eventUpdate event details
delete_eventDelete a calendar event

Token Caching

Access tokens are cached to ~/.outlook-mcp/token.json and reused across invocations until they expire. No interactive login is required.

Development

npm install
npm run build     # Compile TypeScript
npm run dev       # Run with tsx (no build needed)

License

MIT

Keywords

mcp

FAQs

Package last updated on 24 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts