Skip to main content
Glama
karl4th

Sinores Open

by karl4th

Sinores MCP WhatsApp

A self-hosted WhatsApp gateway for AI agents

Connect a WhatsApp number to any MCP-compatible agent. Send messages, read history, and manage channels from one local application.

GitHub stars MIT License Node.js 22+ MCP

Get started ยท Connect an agent ยท How it works ยท Configuration


Sinores Open turns a WhatsApp number into tools that AI agents and applications can use. It combines a web dashboard, REST API, MCP server, WhatsApp connection, and local database in a single Node.js application.

One process. One port. No Docker, Postgres, or Redis required.

Features

Capability

What it gives you

๐Ÿค–

MCP server

Connect Codex, Claude, or any MCP-compatible agent

๐Ÿ’ฌ

Messaging

Send and receive WhatsApp text messages

๐Ÿ—‚๏ธ

Message history

Read locally stored conversations with filters

๐Ÿ“ฑ

Channel management

Link WhatsApp numbers using the familiar QR flow

๐Ÿ–ฅ๏ธ

Web dashboard

Manage channels, inspect status, and test messages

๐Ÿ”Œ

REST API

Integrate WhatsApp into backends and scripts

๐Ÿ’พ

Local persistence

Keep data and sessions on your own machine with SQLite

๐Ÿ”

Simple authentication

Protect the dashboard and APIs with one admin token

Related MCP server: WA MCP

Quick start

Requirements

  • Node.js 22 or newer

  • A WhatsApp account that can link a companion device

1. Install

git clone https://github.com/karl4th/sinores-wp-mcp.git
cd sinores-wp-mcp
npm install
cp .env.example .env.local

2. Create an admin token

openssl rand -hex 32

Add the generated value to .env.local:

ADMIN_TOKEN=your-generated-token

3. Start Sinores

npm run dev

Open http://localhost:3000, sign in with your admin token, and create a channel. Then scan its QR code from:

WhatsApp โ†’ Linked devices โ†’ Link a device

npm run build
npm start

Connect an AI agent

Sinores exposes a Streamable HTTP MCP endpoint at:

http://localhost:3000/api/mcp

Add the endpoint and admin token to your MCP client:

{
  "mcpServers": {
    "sinores": {
      "url": "http://localhost:3000/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_ADMIN_TOKEN"
      }
    }
  }
}

The agent receives four tools:

Tool

Description

list_channels

List connected channels and their current status

get_channel_status

Get the state of a specific channel

send_message

Send a text message to a phone number

list_messages

Read message history with direction and timestamp filters

Start with list_channels to get a channelId, then use that ID with the other tools.

How it works

flowchart LR
    Agent["AI agent"] -->|"MCP over HTTP"| Sinores["Sinores Open"]
    App["Your application"] -->|"REST API"| Sinores
    Dashboard["Web dashboard"] --> Sinores
    Sinores --> WhatsApp["WhatsApp via Baileys"]
    Sinores --> Database[("SQLite")]

Sinores keeps the entire stack deliberately small:

  • Next.js serves the dashboard, REST routes, and MCP endpoint.

  • Baileys manages WhatsApp companion-device sessions.

  • SQLite stores channels and message history in ./data.

  • The Model Context Protocol SDK exposes agent tools from the same application.

Configuration

Variable

Required

Default

Purpose

ADMIN_TOKEN

Yes

โ€”

Protects the dashboard, REST API, and MCP endpoint

CHANNEL_LIMIT

No

10

Maximum number of WhatsApp channels

DATA_DIR

No

./data

Location of the SQLite database and application data

BAILEYS_AUTH_DIR

No

./data/baileys-auth

Location of WhatsApp session credentials

COOKIE_SECURE

No

unset

Set to true when serving the application over HTTPS

See .env.example for a ready-to-copy configuration file.

Open source or hosted

Sinores Open

Sinores Cloud

Best for

Developers, prototypes, personal automation

Teams and production workloads

Hosting

Your machine or server

Managed for you

Database

Local SQLite

Managed infrastructure

Authentication

Single admin token

Multi-tenant access controls

Operations

You maintain it

Sinores maintains it

License

MIT

Commercial service

Security

  • Treat ADMIN_TOKEN as a password. Anyone who has it can access every connected channel.

  • Never commit .env.local, the data directory, or Baileys session credentials.

  • Use HTTPS and set COOKIE_SECURE=true when exposing an instance outside your local network.

  • Use a separate WhatsApp number for automation whenever possible.

WARNING

Sinores uses Baileys, an unofficial WhatsApp Web API. It is not affiliated with or endorsed by WhatsApp or Meta. Automated activity may lead to account restrictions. Review WhatsApp's terms and use the project responsibly.

Contributing

Issues and pull requests are welcome. If you found a bug, have an idea, or built something interesting with Sinores, open an issue.

If Sinores helps you build something useful, consider starring the repository. It helps other developers discover the project.

License

Distributed under the MIT License.


Built for developers connecting AI agents to the real world.

Website ยท Report a bug ยท Give it a star

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    -
    maintenance
    A self-hosted MCP server that connects AI clients to WhatsApp via the WAHA HTTP API. It enables users to manage sessions, search contacts, and send or receive messages and media directly through natural language interfaces.
    20
  • F
    license
    -
    quality
    C
    maintenance
    WhatsApp MCP server that exposes messaging, groups, contacts, and profile management as tools and resources for AI agents, supporting Baileys and Meta Cloud API.
    19
  • A
    license
    -
    quality
    A
    maintenance
    A self-hosted WhatsApp bridge that exposes a stdio MCP server with ~20 tools for reading conversations, sending messages, managing groups, contacts, and aliases, enabling AI agents to operate WhatsApp directly.
    2
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    MCP server that connects AI agents to WhatsApp using the multi-device API, enabling messaging, group management, and more as a regular user.
    8
    MIT

View all related MCP servers

Related MCP Connectors

  • Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors โ€” no code.

  • Phone, SMS & email for AI agents โ€” one remote MCP endpoint, OAuth login, zero install.

  • Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/karl4th/sinores-wp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server