WAHA MCP Server logo

WAHA MCP Server

by verissimomanoel

WAHA MCP Server interacts with a WAHA instance to send WhatsApp messages and read a contact list from a local file. It uses FastMCP framework to expose tools and resources.

View on GitHub

Last updated: N/A

What is WAHA MCP Server?

This is an MCP (Message Control Protocol) server designed to interact with a WAHA (WhatsApp HTTP API) instance. It allows sending WhatsApp messages and reading contact lists from a local JSON file.

How to use WAHA MCP Server?

To use this server, you need to have Python installed, along with the necessary dependencies (installable via pip). You also need a running instance of WAHA (WhatsApp HTTP API) accessible at http://localhost:3000. Configure the server to point to your WAHA instance and then use the provided tools (send_message, read_resource) to interact with WhatsApp.

Key features of WAHA MCP Server

  • Send messages via WAHA

  • Read contacts from a local JSON file

  • Built on FastMCP framework

  • Uses Python 3

Use cases of WAHA MCP Server

  • Automated WhatsApp messaging

  • Contact list management

  • Integration with other systems via API

  • Building WhatsApp bots

FAQ from WAHA MCP Server

What is WAHA?

WAHA (WhatsApp HTTP API) is an external dependency that needs to be running separately. It provides an HTTP API to interact with WhatsApp.

What is FastMCP?

FastMCP is a framework used to build the MCP server, providing tools and resources for message control.

How do I install the dependencies?

You can install the dependencies using pip install -r requirements.txt if a requirements file is provided, or manually install the required packages.

Where is the contact list stored?

The contact list is read from a local JSON file named data/contacts.json.

What version of Python is recommended?

Python 3.7 or higher is recommended.