Skip to main content
Glama

mcp-axigen

MCP (Model Context Protocol) server for Axigen mail server integration.

Built by Julien Frère + AI · Silbox

Overview

This project provides a bridge between LLMs (Claude, ChatGPT, Gemini) and Axigen mail server, enabling AI-powered email, calendar, contacts, and tasks management via the MCP protocol.

Related MCP server: Email MCP Server

Features

  • Email (REST API + IMAP): List, search, send, reply, forward, move, delete, bulk operations

  • Calendar (CalDAV): List, create, update, delete events with timezone support

  • Contacts (REST + CardDAV): List, search, create, update, delete contacts

  • Tasks (CalDAV VTODO): List, create, update, complete, delete tasks

  • Notes (IMAP): List, search, create, update, delete notes

  • Labels, Folders, Vacation: Full mailbox management

  • OAuth2/OIDC: Multi-user support with any OIDC provider (Cloudron, Keycloak, Auth0, etc.)

47 MCP tools in total.

Quick Start

git clone https://github.com/silbox-ch/mcp-axigen.git
cd mcp-axigen
npm install
cp .env.example .env  # Configure your Axigen credentials
npm run build
npm start

Configuration

See .env.example for all available options. Minimal setup:

AXIGEN_HOST=mail.example.com
AXIGEN_PORT=443
AXIGEN_USERNAME=user@example.com
AXIGEN_PASSWORD=your-password
MCP_MODE=stdio

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "axigen": {
      "command": "node",
      "args": ["/path/to/mcp-axigen/dist/index.js"],
      "env": {
        "AXIGEN_HOST": "mail.example.com",
        "AXIGEN_USERNAME": "user@example.com",
        "AXIGEN_PASSWORD": "your-password"
      }
    }
  }
}

Usage with Claude.ai (Remote MCP)

Deploy the server with MCP_MODE=sse, then add the public URL in Claude.ai settings:

https://your-server.example.com/mcp

The server supports MCP OAuth 2.0 for secure multi-user authentication.

Architecture

Client (Claude/ChatGPT) --> https://your-server.com/mcp
                                    |
                                Reverse Proxy (Caddy/nginx)
                                    |
                              Node.js:3000
                                    |
                    +---------------+---------------+
                    |               |               |
               REST API          IMAP          CalDAV
               (emails,        (search,       (calendar,
               contacts,        notes)         tasks)
               folders)

Documentation

  • AXIGEN-API.md - Axigen REST API reference

  • CHANGELOG.md - Version history

  • .env.example - All configuration options

License

AGPL-3.0 - See LICENSE for details.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to read and send email, handle attachments and manage calendar invitations through their own IMAP/SMTP mailboxes, with per-mailbox sender and recipient allow lists and automatic HTML-to-Markdown conversion. It runs as a single self-hosted Docker container, exposing the same tools over MCP and REST.
      15
      15
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to read, search, send, reply, forward, organize, schedule, and analyze email across multiple IMAP/SMTP accounts, with drafts, provider-aware labels, calendar extraction, verification-code catching, and a real-time inbox watcher. It runs over stdio or Streamable HTTP, with TLS, OAuth2, provider auto-detection, and a guided setup wizard.
      31 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to read, search, send, reply, forward, schedule, and analyze email across multiple IMAP/SMTP accounts, with drafts and templates, provider-aware labels and bulk operations, calendar extraction, real-time inbox watching with AI triage, and verification-code capture. Exposes 52 tools, 7 prompts, and 6 resources over stdio or Streamable HTTP, with OAuth2 support for Gmail and Microsoft 365.
      31 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to read, search, send, schedule, manage, and analyze mail across multiple IMAP/SMTP accounts, with provider-aware labels, real-time IDLE watching, verification-code capture, and OAuth2 support. Connects over stdio or Streamable HTTP, exposing 52 tools, 7 prompts, and 6 resources with a guided setup wizard.
      31 npm
      ISC