Skip to main content

A FastMCP-based server that integrates with ManyChat to send Instagram messages and call-button actions using async APIs and secure environment-based configuration.

Project description

📬 manychat-mcp-server

A lightweight FastMCP-based server to send Instagram messages using the ManyChat API, supporting both plain text messages and call buttons. Designed for seamless integration into custom automations or chatbot workflows.


🚀 Features

  • ✅ Send plain Instagram messages via ManyChat
  • 📞 Support for messages with call buttons
  • 🔐 Uses environment variables for secure API key management
  • ⚡ Built on httpx with async support
  • 🧩 Compatible with MCP agents for multi-protocol workflows

🛠️ Installation

pip install manychat-mcp-server

⚙️ Configuration Example

Here's how you can register the server in your MCP configuration:

{
  "servers": {
    "instagram_messenger": {
      "command": "uvx",
      "args": [
        "manychat-mcp-server"
      ],
      "env": {
        "MANYCHAT_API_KEY": "${input:manychat_api_key}"
      }
    }
  }
}

Note: Replace manychat_api_key with your actual API key or a secure input binding.


🧩 Available Tools

send_instagram_message

Send a plain text message to a ManyChat Instagram subscriber.

Args:

  • subscriber_id: Recipient's subscriber ID
  • message: Message text
  • message_tag: (Optional) Tag like ACCOUNT_UPDATE

send_call_button_message

Send a message with a call-to-action button (e.g., phone call).

Args:

  • subscriber_id: Recipient's subscriber ID
  • message: Message text
  • phone_number: The phone number for the call button
  • button_caption: (Optional) Button caption (default: "Call me")
  • message_tag: (Optional) Message tag (default: "ACCOUNT_UPDATE")

📁 Project Structure

manychat_mcp_server/
├── mcp_server.py         # Entry point MCP server
├── manychat.py           # All API request logic
└── __init__.py

📝 License

MIT License © 2025 [Your Name or Organization]

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

manychat_mcp_server-0.1.8.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

manychat_mcp_server-0.1.8-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file manychat_mcp_server-0.1.8.tar.gz.

File metadata

  • Download URL: manychat_mcp_server-0.1.8.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for manychat_mcp_server-0.1.8.tar.gz
Algorithm Hash digest
SHA256 a11e4a3baed1cd87d3d05061e24a9e470b4d3e0d265c23452c559c65e21aad2e
MD5 c04c13ba6d19da0c0bfca9a7d674f9bb
BLAKE2b-256 50b73e657223651a8897637787179a91824a3eb2215823fe6284d70994efed32

See more details on using hashes here.

File details

Details for the file manychat_mcp_server-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for manychat_mcp_server-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a68b8b45cc2d9e5bbbe0303adfbd6f462003f5b8f554025e0b2a9a52a4102636
MD5 d9fd5026499ae374932379e76f0f3105
BLAKE2b-256 fd6dbf3d1fbad4b16e3762f6ec9d776cf38a4c189e2c6751ec8c8e5307d4b28b

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