gitnexus
Indexes a codebase into a knowledge graph of symbols, calls and dependencies, so your coding agent can answer how code works, what a change will break and why a bug happens. Ask in plain language instead of grepping through files.
matiasbattocchia/open-bsp-api is an open-source plugin for WhatsApp and Instagram Business messaging, shipping skills and MCP servers. Its configure skill checks plugin status, sets the org and account, and manages allowed contacts.
Claude Code
> /plugin marketplace add matiasbattocchia/open-bsp-api> /plugin install openbsp@openbsp
Codex
$ npx skills add matiasbattocchia/open-bsp-api -a codex
Cursor
$ npx skills add matiasbattocchia/open-bsp-api -a cursor
Gemini CLI
$ npx skills add matiasbattocchia/open-bsp-api -a gemini-cli
GitHub Copilot
$ copilot plugin marketplace add matiasbattocchia/open-bsp-api$ copilot plugin install openbsp@openbsp
OpenCode
$ npx skills add matiasbattocchia/open-bsp-api -a opencode
Windsurf
$ npx skills add matiasbattocchia/open-bsp-api -a windsurf

Open-source WhatsApp and Instagram Business Platform
Self-hostable, multi-tenant, AI-agent ready. Built with Deno 🦕 and Postgres 🐘, powered by Supabase ⚡
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.
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. For a runnable, read-only Supabase JS example with error handling, see examples/.
Media, templates, locations and the full message schema are covered in MIGRATING_FROM_TWILIO.md; third-party onboarding and credential capture in INTEGRATING.md.
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.
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.
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
The install asks whether Claude may send and change things (read only, ask
first, allow; later in /config). Then Claude offers to set OpenBSP up, and
asks you, one question at a time in the terminal, about Google or GitHub sign-in
(a first one creates your account), creating or joining an organization,
connecting accounts and how often it checks. No visit to the web app is needed.
See plugin/README.md for full documentation.
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.
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:
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.
Interpret and extract information from media and document files, including:
The mcp Edge Function exposes an MCP server
over Streamable HTTP: Claude, ChatGPT, Cursor or any other MCP client reads and
answers your WhatsApp, Instagram, TikTok and Slack messages, and reaches the
whole OpenBSP API. It reads messages the way the
Claude Code plugin does; the plugin adds what a local
server can, such as setup questions in Claude Code's own menus and a permission
mode.
For the hosted version at web.openbsp.dev, the MCP server URL is:
https://nheelwshzbgenpavwhcy.supabase.co/functions/v1/mcp
Two authentication methods:
api-key: <API_KEY> header
(Authorization: Bearer <API_KEY> also works). Get it from OpenBSP > Settings
API Keys. Optionally,
Allowed-ContactsandAllowed-Accountsheaders 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:
| Tool | Description |
|---|---|
status | What is set up: the organization, its accounts on every service and their state |
organizations | Your organizations and the invitations waiting for you (OAuth only) |
set_organization | Work in one of them, create one, or join one you were invited to (OAuth only) |
connect | A link that connects WhatsApp Business, Instagram or TikTok; a WhatsApp Web pairing code |
inbox | What arrived since the last check, every service; opens one conversation |
reply | Sends a text in a conversation, on its service |
query | Reads anything in the API (PostgREST, Edge Functions) |
change | Creates, updates or deletes through the API |
api_reference | Tables, PostgREST syntax and endpoints, for query and change |
The inbox shows every one-to-one conversation in full, and each group or channel where people wrote as one line — how many messages, who wrote — that Claude
Indexes a codebase into a knowledge graph of symbols, calls and dependencies, so your coding agent can answer how code works, what a change will break and why a bug happens. Ask in plain language instead of grepping through files.
Teaches Claude Code to query MCP servers with the fastmcp CLI, listing the tools a server offers and calling them. Useful for wiring MCP servers into workflows.
n8n-MCP is an open-source MCP server that lets Claude, ChatGPT, Cursor, and other AI assistants operate n8n: read failed executions, edit workflows in place, validate and test them, manage credentials, and build new workflows.
An MCP server and skill that lets an AI assistant publish to Xiaohongshu (小红书), either as an image-and-text post or as a long-form article, using content you supply or extracted from a web page URL.
Install it with the command on its page. It includes inbox. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it