Skip to content
MCP Servers
MCP

openbsp

Ships with open-bsp-api: Open-source WhatsApp + Instagram + TikTok Business platform

From plugin
open-bsp-api
6593 skills1 MCP

Claude Code

> /plugin marketplace add matiasbattocchia/open-bsp-api
> /plugin install openbsp@openbsp

From the README

What can you do with openbsp?

  • 🀝 Meta Business Partner ready

    Built to facilitate the transition to an

  • πŸ”— WhatsApp account Coexistence

    Connect existing WhatsApp Business

  • 🏒 Multi-tenant architecture

    Native support for multiple organizations

  • πŸ”Œ External integration

    Seamlessly connect with external services using

Security report

Info

Not enough data

  • Known flaws

    Not published

  • Signed build

    Not published

  • Maintained

    Nov 3, 2026

    Last push

  • Licence

    Unlicense

  • Runs as

    Local process

    On your machine

  • Deprecated

    Not published

Signals from public registries, not an audit. Checked Nov 25, 2026.

open-bsp-api README

Open-source WhatsApp and Instagram Business Platform

Self-hostable, multi-tenant, AI-agent ready. Built with Deno πŸ¦• and Postgres 🐘, powered by Supabase ⚑

Try itΒ  License: UnlicenseΒ  GitHub StarsΒ  Last CommitΒ 

Community

OpenBSP is designed for both individual businesses and service providers. You can use it to manage your own WhatsApp and Instagram messaging, or leverage its features to become a Meta Business Partner and offer messaging services to other organizations.

Table of contents

  • Quickstart
  • User interface
  • n8n
  • Claude Code plugin
  • Description
Platforms
  • Hosted version
  • Migrating from another platform
  • Self-host deployment
Channels
  • WhatsApp integration
  • Instagram integration
  • App review
  • TikTok integration
  • WhatsApp Web integration (unofficial API)
  • Slack integration
Development
  • Architecture
  • Local development
Community
  • Related open-source projects
  • Acknowledgments
  • Community

Quickstart

Receive and send WhatsApp messages in two steps. Before you start (once): sign up at web.openbsp.dev, connect your WhatsApp number (Integrations β†’ WhatsApp), and create an API key (Settings β†’ API Keys). Every call below sends two headers: apikey (the public Supabase key) and api-key (your secret key).

The API is PostgREST over the database, every table is an endpoint, so you can use plain REST or any Supabase SDK (JS, Python, Dart, …).

1. Receive messages β€” register a webhook; OpenBSP POSTs every new message to your URL:

curl -X POST 'https://nheelwshzbgenpavwhcy.supabase.co/rest/v1/webhooks' \
  -H 'apikey: <PUBLISHABLE_KEY>' -H 'api-key: <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "organization_id": "<ORG_ID>",
    "table_name": "messages",
    "operations": ["insert"],
    "url": "https://your-app.com/webhook"
  }'

Your endpoint receives the messages table row as is, wrapped in a thin envelope:

{
  "entity": "messages",
  "action": "insert",
  "data": {
    // the row, exactly as stored
    "id": "9b2d…",
    "organization_id": "…",
    "conversation_id": "…",
    "external_id": "wamid.…",
    "service": "whatsapp",
    "organization_address": "<PHONE_NUMBER_ID>",
    "conversation_address": "5491155551234",
    "sender_address": "5491155551234",
    "content": {
      "version": "1",
      "type": "text",
      "kind": "text",
      "text": "Hi!"
    },
    "status": { "delivered": "2026-07-17T12:00:00Z" },
    "timestamp": "2026-07-17T12:00:00Z"
  }
}

Reply when data.sender_address is set β€” the contact authored it; it is null on your own outgoing rows, which the webhook also fires for (and, with "update", for status changes).

2. Send a message β€” insert a row; OpenBSP dispatches it to WhatsApp:

curl -X POST 'https://nheelwshzbgenpavwhcy.supabase.co/rest/v1/messages' \
  -H 'apikey: <PUBLISHABLE_KEY>' -H 'api-key: <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "organization_id": "<ORG_ID>",
    "organization_address": "<PHONE_NUMBER_ID>",
    "conversation_address": "5491155551234",
    "service": "whatsapp",
    "content": {
      "version": "1",
      "type": "text",
      "kind": "text",
      "text": "Hello from OpenBSP!"
    }
  }'

The same insert through the Supabase JS SDK:

import { createClient } from "@supabase/supabase-js";

const supabase = createClient(
  "https://nheelwshzbgenpavwhcy.supabase.co",
  "<PUBLISHABLE_KEY>",
  { global: { headers: { "api-key": "<API_KEY>" } } },
);

await supabase.from("messages").insert({
  organization_id: "<ORG_ID>",
  organization_address: "<PHONE_NUMBER_ID>",
  conversation_address: "5491155551234",
  service: "whatsapp",
  content: {
    version: "1",
    type: "text",
    kind: "text",
    text: "Hello from OpenBSP!",
  },
});

That's it. Media, templates, locations and the full message schema are covered in MIGRATING_FROM_TWILIO.md; third-party onboarding and credential capture in INTEGRATING.md.

User interface

For a complete web-based interface to manage conversations check out the companion project:

πŸ–₯️ OpenBSP UI β€” A modern, responsive web interface built with React and Tailwind.

https://github.com/user-attachments/assets/1ef30dde-9de1-4f5a-856a-db34ca2e3063

n8n

Trigger on incoming messages and delivery-status changes. Every event can carry the full conversation context, so your AI node replies with history.

Send text, media, templates, locations, and contacts; read conversations, contacts, and templates.

πŸ”Œ OpenBSP n8n nodes β€” The official n8n community node package for OpenBSP.

Claude Code plugin

With the OpenBSP plugin, Claude Code reads and answers your WhatsApp, Instagram, TikTok and Slack messages β€” asking you before each answer goes out, or answering on its own β€” and reaches the whole API through its query tool.

claude plugin install openbsp --marketplace matiasbattocchia/open-bsp-api

Then, in Claude Code, /openbsp:setup walks you through menus in the terminal: Google or GitHub sign-in (a first one creates your account), creating or joining an organization, connecting accounts, whether Claude may send (read only, ask first, allow) and how often it checks. No visit to the web app is needed. See plugin/README.md for full documentation.

Description

OpenBSP API is a multi-tenant platform that connects to the official WhatsApp and Instagram APIs to receive and send messages, storing them in a Supabase-backed database.

Core features

  • 🀝 Meta Business Partner ready: Built to facilitate the transition to an official solution provider.
  • πŸ”— WhatsApp account Coexistence: Connect existing WhatsApp Business accounts via Embedded Signup.
  • 🏒 Multi-tenant architecture: Native support for multiple organizations with isolated environments.
  • πŸ”Œ External integration: Seamlessly connect with external services using webhooks and the API.

AI agents

Create lightweight agents or connect to external, more advanced agents using different protocols like chat-completions and responses. Lightweight agents can use built-in tools:

  • MCP client
  • SQL client
  • HTTP client
  • Calculator

Important This project prioritizes a decoupled architecture between communication and agent logic. Advanced agents built with frameworks like the OpenAI SDK or Google ADK should be deployed as external services.

Media processing

Interpret and extract information from media and document files, including:

  • Audio
  • Images
  • Video
  • PDF
  • Other text-based documents (CSV, HTML, TXT, etc.)

MCP server

The mcp Edge Function exposes an MCP server over Streamable HTTP, giving agentic access to the WhatsApp API from clients like Claude Code, Claude Desktop, ChatGPT, or other agent platforms.

For the hosted version at web.openbsp.dev, the MCP server URL is:

https://nheelwshzbgenpavwhcy.supabase.co/functions/v1/mcp

Two authentication methods:

  • OAuth (humans, recommended) β€” just add the server URL; the MCP client discovers Supabase Auth's OAuth 2.1 server (dynamic client registration), opens the browser, and you sign in with your OpenBSP account and approve on the consent page. Access is scoped to your user via RLS.
  • API key (servers and bots) β€” send an api-key: <API_KEY> header (Authorization: Bearer <API_KEY> also works). Get it from OpenBSP > Settings

    API Keys. Optionally, Allowed-Contacts and Allowed-Accounts headers restrict which phone numbers the key can access.

Claude Code (then authenticate from the /mcp panel):

claude mcp add --transport http openbsp https://nheelwshzbgenpavwhcy.supabase.co/functions/v1/mcp

In Claude Desktop or ChatGPT, add it as a custom connector with the same URL β€” OAuth kicks in automatically. For headless clients, use an API key instead (claude_desktop_config.json shown as an example):

{
  "mcpServers": {
    "openbsp": {
      "url": "https://nheelwshzbgenpavwhcy.supabase.co/functions/v1/mcp",
      "headers": {
        "api-key": "<API_KEY>"
      }
    }
  }
}

Available tools:

ToolDescription
list_accountsList connected WhatsApp accounts
list_conversationsGet recent active conversations
fetch_conversationFetch messages and service window status for a contact
search_contactsFind contacts by name or phone number
send_messageSend a text or template message (enforces 24h service window)
list_templatesList available WhatsApp templates
fetch_templateFetch details of a specific template

Hosted version

A managed instance is available at web.openbsp.dev β€” same codebase as this repo, running on Supabase. Sign up with a Google or GitHub account.

Meta Business Partner

The hosted instance is operated by MatΓ­as Battocchia, a registered Meta Tech Partner.

Plans

FreeStarterProBusiness
Price$0$5 / month$20 / month$99 / month
Messages5k / month15k / month100k / month750k / month
Extra messagesβ€”$0.001 each$0.0006 each$0.0004 each
Messages, up to5k / month50k / month300k / month2M / month
Storage1 GB10 GB50 GB250 GB
Extra storageβ€”$0.10 / GB$0.06 / GB$0.04 / GB
@matiasbattocchia
Ships withopen-bsp-api
6593 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
659
Star history of matiasbattocchia/open-bsp-api on GitHub, a chart by star-history.com

More MCP servers from other plugins.

gitnexus

gitnexus

MCP

Ships with gitnexus: GitNexus indexes a codebase into a knowledge graph of symbols, calls, dependencies and execution flows. Use…

@abhigyanpatwari@abhigyanpatwariInstall MCP
mcp-use-docs

mcp-use-docs

MCP

Ships with mcp-use: The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents.

mcp-use5d11k
@mcp-use@mcp-useInstall MCP
cloudwatch

cloudwatch

MCP

Amazon's monitoring service that collects metrics, logs and alarms across AWS infrastructure and apps.

mcp7d9.9k
@awslabs@awslabsInstall MCP
treg

treg

MCP

Ships with treg: OpenRouter, but for agent tools instead of models. Point an agent at one base URL with one token and it can do…

treg7d8.4k
@superdesigndev@superdesigndevInstall MCP

Questions about openbsp.

Which coding agents can use openbsp?
openbsp works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
How do I add openbsp to Claude Code?
Run these in order, one at a time. 1. In Claude Code: /plugin marketplace add matiasbattocchia/open-bsp-api 2. In Claude Code: /plugin install openbsp@openbsp