Skip to main content
Glama
JMAP MCP Server

JMAP MCP Server

by jahfer

JMAP-MCP

Lesen Sie E-Mails über MCP!

Einführung

JMAP-MCP ist ein Connector für die Interaktion mit einem JMAP-Server (JSON Mail Access Protocol). Er ermöglicht das Lesen von E-Mails über das Model Context Protocol (MCP). Dieses Projekt demonstriert insbesondere die Integration mit einem Fastmail JMAP-Server.

Related MCP server: email-mcp

Aufstellen

  1. Voraussetzungen : Stellen Sie sicher, dass Sie Node.js installiert haben.

  2. Repository klonen : Klonen Sie dieses Repository auf Ihrem lokalen Computer.

  3. Abhängigkeiten installieren : Navigieren Sie zum Projektverzeichnis und führen Sie Folgendes aus:

    npm install

API-Token-Konfiguration

Sie müssen Ihr JMAP-API-Token für die Authentifizierung bei Ihrem E-Mail-Server (z. B. Fastmail) einrichten. Ihr API-Token finden Sie in den Servereinstellungen.

Legen Sie beim Ausführen der Anwendung die Umgebungsvariablen JMAP_SESSION_URL und JMAP_TOKEN fest.

MCP-Konfiguration

Um JMAP-MCP zu verwenden, müssen Sie es in Ihrer MCP-Konfigurationsdatei als mcpServer konfigurieren. Hier ist eine Beispielkonfiguration:

{
  "mcpServers": {
    "emails": {
      "command": "npx",
      "args": ["-y", "@jahfer/jmap-mcp-server"],
      "env": {
        "JMAP_SESSION_URL": "https://api.fastmail.com/jmap/session", // for example
        "JMAP_TOKEN": "<your-jmap-token>"
      }
    }
  }
}

Verwendung

Nach der Konfiguration in MCP können Sie Befehle oder Funktionen innerhalb von MCP verwenden, die mit der Serverdefinition interagieren, um Ihre E-Mails über das JMAP-Protokoll zu lesen.

Available Tools

3 tools
get_email_contentD

Inputs: inputSchema (required).

get_mailboxesD

Inputs: inputSchema (required).

search_emailsD

Inputs: inputSchema (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    D1.8/5.0

    Scored across 3 tools

    Disambiguation5/5

    The three tools have clearly distinct purposes: get_email_content retrieves specific email content, get_mailboxes lists mailboxes, and search_emails searches across emails. There is no overlap in functionality, making it easy for an agent to select the right tool for each task.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case (get_email_content, get_mailboxes, search_emails). The naming is predictable and readable throughout the set.

    Tool Count3/5

    With only 3 tools, the set feels thin for an email server, as it lacks operations like creating, updating, or deleting emails or mailboxes. While the tools cover basic retrieval and search, the scope is limited and may not support full email workflows.

    Completeness2/5

    The tool surface is significantly incomplete for an email domain, missing essential CRUD operations such as send_email, delete_email, create_mailbox, or update_email. This will likely cause agent failures when attempting comprehensive email management tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      A
      maintenance
      Local MCP server for Hey.com email - read, search, send, reply, and manage the screener via stored session cookies. Runs over stdio, stores no credentials.
      37
      15
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Local MCP server for multi-account IMAP/SMTP email (iCloud + Gmail via app-specific passwords). Never marks mail read. Cross-folder search, idempotent sends, TLS verified.
      8
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A minimal MCP server for reading, searching, managing, and sending email over IMAP and SMTP.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A self-hostable Gmail MCP server that enables Gmail search/read, sending, replies, drafts, labels, and attachment downloads via MCP tools with OAuth authorization. Supports stdio and streamable HTTP transports.
      MIT