Skip to main content
Glama
Jelly-FastMCP
by js-cohn

Jelly FastMCP

A FastMCP-based Model Context Protocol (MCP) server for the Jelly API. It exposes the API as MCP tools for creating, reading, updating, and managing conversations, labels, contacts, drafts, autoresponder settings, comments, and more.

Prerequisites

  • Python 3.12+

  • uv (recommended)

Related MCP server: FastMail MCP Server

Configuration

Configure the following environment variables to authenticate and set defaults:

Environment Variable

Description

JELLY_API_TOKEN

Jelly API token from Settings → API Tokens

JELLY_BASE_URL

Optional override for the API base URL. Defaults to https://app.letsjelly.com/api

Running

Direct execution

uv run server.py

Install editable

uv pip install -e .

This registers the jelly-mcp command.

Claude Desktop example

To use this with Claude Desktop (or other MCP hosts), add the following configuration.

Using sh -c allows the use of $HOME (or other environment variables) dynamically across different user machines/setups, since most MCP hosts do not perform shell expansion on paths:

{
  "mcpServers": {
    "LetsJelly": {
      "command": "sh",
      "args": [
        "-c",
        "uv --directory \"$HOME/.agents/Jelly-FastMCP\" run server.py"
      ],
      "env": {
        "JELLY_API_TOKEN": "your-api-token-here"
      }
    }
  }
}

Note: If you prefer not to use sh -c, replace "command" with "uv" and use the absolute path in the "--directory" argument.

Available tools

Conversations

  • list_conversations

  • search_conversations

  • get_conversation

  • list_conversation_messages

  • list_conversation_comments

  • add_comment

  • archive_conversation / unarchive_conversation

  • trash_conversation / restore_conversation_from_trash

  • spam_conversation / unspam_conversation

  • snooze_conversation / unsnooze_conversation

  • ignore_conversation

  • set_conversation_mailboxes

  • assign_conversation / unassign_conversation

  • add_conversation_label / remove_conversation_label

Messages and drafts

  • get_message

  • create_draft_conversation

  • create_draft_reply

  • update_draft

  • resolve_attachment_download_url

Labels, members, and mailboxes

  • list_labels

  • create_label

  • update_label

  • delete_label

  • list_members

  • list_mailboxes

  • list_mailbox_members

Contacts and settings

  • find_contact_by_email

  • upsert_contact

  • get_autoresponder

  • update_autoresponder

  • list_saved_replies

Resources

  • jelly://conversations/{conversation_id}/markdown — LLM-friendly markdown view of a conversation

Available Tools

38 tools
add_commentB

Add an internal comment to a conversation.

Inputs: body (required), conversation_id (required), api_token. Returns: object

add_conversation_labelC

Apply a label to a conversation.

Inputs: label_id (required), conversation_id (required), api_token. Returns: result

archive_conversationC

Archive a conversation.

Inputs: conversation_id (required), api_token. Returns: object

assign_conversationC

Assign a conversation to a team member.

Inputs: conversation_id (required), email, api_token, member_id. Returns: object

create_draft_conversationC

Create a brand-new draft conversation.

Inputs: body (required), cc, to, bcc, +5 more. Returns: object

create_draft_replyC

Create a draft reply in an existing conversation.

Inputs: body (required), conversation_id (required), cc, to, +4 more. Returns: object

create_labelC

Create a new label.

Inputs: name (required), color, api_token. Returns: object

delete_labelC

Delete a label.

Inputs: label_id (required), api_token. Returns: object

find_contact_by_emailB

Look up a contact by email address.

Inputs: email (required), api_token. Returns: object

get_autoresponderB

Read the team's autoresponder settings.

Inputs: api_token. Returns: object

get_conversationC

Load a conversation, with optional comment and timeline embeds.

Inputs: conversation_id (required), timeline, api_token, include_comments. Returns: object

get_messageC

Load a single message.

Inputs: message_id (required), api_token. Returns: object

ignore_conversationC

Ignore a conversation for one team member.

Inputs: conversation_id (required), email, api_token, member_id. Returns: object

list_commentsC

Alias for listing conversation comments.

Inputs: conversation_id (required), limit, cursor, api_token. Returns: object

list_conversation_commentsA

Page through a conversation's internal comments, oldest first.

Inputs: conversation_id (required), limit, cursor, api_token. Returns: object

list_conversation_messagesA

Page through a conversation's sent messages, oldest first.

Inputs: conversation_id (required), limit, cursor, api_token. Returns: object

list_conversationsC

List conversations, newest activity first.

Inputs: limit, cursor, status, label_id, +2 more. Returns: object

list_labelsC

List team labels.

Inputs: api_token. Returns: result

list_mailboxesC

List mailboxes.

Inputs: api_token. Returns: result

list_mailbox_membersC

List the members who can see a mailbox.

Inputs: mailbox_id (required), api_token. Returns: result

list_membersC

List active team members.

Inputs: api_token. Returns: result

list_saved_repliesB

List saved replies.

Inputs: api_token. Returns: result

remove_conversation_labelC

Remove a label from a conversation.

Inputs: label_id (required), conversation_id (required), api_token. Returns: result

resolve_attachment_download_urlB

Resolve an attachment to its short-lived storage URL.

Inputs: attachment_id (required), api_token. Returns: object

restore_conversation_from_trashB

Restore a conversation from trash.

Inputs: conversation_id (required), api_token. Returns: object

search_conversationsC

Search conversations using Jelly's search syntax.

Inputs: q (required), limit, cursor, status, +4 more. Returns: object

set_conversation_mailboxesB

Replace the set of mailboxes a conversation belongs to.

Inputs: mailbox_ids (required), conversation_id (required), api_token. Returns: object

snooze_conversationC

Snooze a conversation until a future datetime.

Inputs: snooze_until (required), conversation_id (required), email, api_token, +1 more. Returns: object

spam_conversationC

Mark a conversation as spam.

Inputs: conversation_id (required), api_token. Returns: object

trash_conversationC

Move a conversation to trash.

Inputs: conversation_id (required), api_token. Returns: object

unarchive_conversationC

Unarchive a conversation.

Inputs: conversation_id (required), api_token. Returns: object

unassign_conversationB

Remove a member assignment from a conversation.

Inputs: member_id (required), conversation_id (required), api_token. Returns: object

unsnooze_conversationC

Remove a conversation's snooze.

Inputs: conversation_id (required), api_token. Returns: object

unspam_conversationB

Mark a conversation as not spam.

Inputs: conversation_id (required), api_token. Returns: object

update_autoresponderC

Update the team's autoresponder settings.

Inputs: enabled, message, api_token. Returns: object

update_draftC

Update an existing draft message.

Inputs: message_id (required), cc, to, bcc, +3 more. Returns: object

update_labelC

Rename or recolor a label.

Inputs: label_id (required), name, color, api_token. Returns: object

upsert_contactC

Create or update a contact.

Inputs: email (required), name, note, links, +2 more. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 38 tools

    Disambiguation4/5

    Most tools target distinct conversation actions or resources, but 'list_comments' is a duplicate alias of 'list_conversation_comments', creating ambiguity. Additionally, 'create_draft_conversation' and 'create_draft_reply' could be confused without careful reading, though descriptions mostly clarify.

    Naming Consistency4/5

    Tool names follow a consistent verb_noun snake_case pattern, with clear use of prefixes like list_, get_, create_, update_, and un- for reversible actions. The alias 'list_comments' deviates from the standard 'list_conversation_comments' and 'upsert_contact' uses a less conventional verb, but overall the pattern is predictable.

    Tool Count2/5

    With 38 tools, the server is heavily over-scoped for its purpose. Many tools are narrowly defined state changes (e.g., unarchive, unspam, unsnooze) that inflate the count beyond what is typically manageable, making the toolset feel bloated.

    Completeness3/5

    The conversation lifecycle is well covered, but there are notable gaps: no send-message operation, no ability to list or retrieve drafts, no CRUD for saved replies or mailboxes, and minimal attachment handling. These missing operations would require agents to work around incomplete functionality.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An unofficial MCP server that enables users to manage their Fastmail accounts through natural language interactions. It provides tools to query mailboxes, retrieve email content with advanced filtering, and send messages directly through the Fastmail API.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that integrates with FastMail's JMAP API to manage mailboxes, search for emails, and send messages. It enables users to interact with their FastMail account for tasks like reading email content and managing folders through natural language.
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that provides AI assistants with full access to Fastmail accounts for managing email, contacts, calendars, and file storage. It implements 42 tools across JMAP, CardDAV, CalDAV, and WebDAV protocols to enable comprehensive account interaction through natural language.
      48
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for Fastmail that provides access to email, contacts, and calendars via the JMAP protocol. It enables users to search, send, and bulk-manage emails while also interacting with calendar events and address books through natural language.
      MIT