Skip to main content

Production-ready MCP server for Listmonk newsletter and mailing list management

Project description

Listmonk MCP Bridge

PyPI version Python versions License CI Docs Container Ruff mypy GitHub release Downloads

MCP server for Listmonk newsletter operations.

Documentation: https://mnbro.github.io/listmonk-mcp-bridge/

What it does

listmonk-mcp-bridge lets MCP clients work with the Listmonk API through typed tools for subscribers, lists, campaigns, templates, media, analytics, imports, bounces and transactional messages.

It includes runtime confirmations for destructive actions, real email sends and sensitive reads.

License

This project is licensed under the PolyForm Internal Use License 1.0.0.

You may use and modify it for your own internal business operations, including commercial internal use. You may not redistribute it, resell it, sublicense it, or offer it as a productized service to third parties.

Install

Run directly with uvx:

uvx listmonk-mcp-bridge

Or install with pip:

pip install listmonk-mcp-bridge
listmonk-mcp-bridge

Configure

Required environment variables:

export LISTMONK_MCP_URL=https://listmonk.example.com
export LISTMONK_MCP_USERNAME=api-user
export LISTMONK_MCP_PASSWORD=your-api-token

Use a dedicated Listmonk API user and token. Do not use the default admin account in production.

MCP client config

{
  "mcpServers": {
    "listmonk-mcp-bridge": {
      "command": "uvx",
      "args": ["listmonk-mcp-bridge"],
      "env": {
        "LISTMONK_MCP_URL": "https://listmonk.example.com",
        "LISTMONK_MCP_USERNAME": "api-user",
        "LISTMONK_MCP_PASSWORD": "your-api-token"
      }
    }
  }
}

Docker

The Debian slim based container image is published to GitHub Container Registry:

docker run --rm -i \
  --env LISTMONK_MCP_URL=https://listmonk.example.com \
  --env LISTMONK_MCP_USERNAME \
  --env LISTMONK_MCP_PASSWORD \
  ghcr.io/mnbro/listmonk-mcp-bridge:latest

See the container documentation for MCP client configuration.

Development

uv sync --all-extras
uv run ruff check .
uv run pytest
uv run python -m mypy src tests
uv run mkdocs build --strict

Full setup, tool behavior, client-specific configuration and security notes are in the documentation site.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

listmonk_mcp_bridge-0.3.0.tar.gz (104.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

listmonk_mcp_bridge-0.3.0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file listmonk_mcp_bridge-0.3.0.tar.gz.

File metadata

  • Download URL: listmonk_mcp_bridge-0.3.0.tar.gz
  • Upload date:
  • Size: 104.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for listmonk_mcp_bridge-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cafb8d971b573fae72f203f5d79918b360da1fc9709090210d74e12c556ff6fd
MD5 5cc9f64ba8f23212dbf544221ae54f8e
BLAKE2b-256 3d45fbefad3d6f8f72df872460740021bf9fcf5dc29d7694ca1f08c2d8c9aff0

See more details on using hashes here.

File details

Details for the file listmonk_mcp_bridge-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for listmonk_mcp_bridge-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65566e88769cc89dd7bf61a09b18f0648d5d2681e1bd17b67670edb3a8827af6
MD5 006220e98a42865a09ea26dc6d6fadf8
BLAKE2b-256 fc1ba040addb139cce497f0666b8297ceae5a1de3c11542d719b622e69f9a022

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page