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.3.tar.gz (2.5 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.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: manychat_mcp_server-0.1.3.tar.gz
  • Upload date:
  • Size: 2.5 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.3.tar.gz
Algorithm Hash digest
SHA256 08b31f948a59ad219f292b644e8a3b44b0d17ad15d4c6bcdfd664dcc03bebd54
MD5 954f70fc7c3496b695f825b9a8b4a010
BLAKE2b-256 4e7f1e0112d4cc9b03c6296a359e0d8becf943146f87636ff908ebc199376b63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for manychat_mcp_server-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 77d1fb8d957c1f10f45c5f7e031664da7cc3447b4ab1c57e7cfc8b4af40609b9
MD5 ee6432d722b87594ab7a8d0ff6bb1a6b
BLAKE2b-256 c415e280a5d842c091553c725c3b49b54b723a42859a150f6da0c7bc380b8160

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