@bosonprotocol/chat-sdk
v2.0.0
Published
Extension of @xmtp/xmtp-js with support for chat threads and further message types.
Readme
🛠️ Tools for building on top of the Boson Protocol.
JS lib which extends @xmtp/xmtp-js, adding support for chat threads and further message types.
This package also ships a Model Context Protocol (MCP)
server and client (under src/mcp/) that expose Boson XMTP messaging as tools — initialise
an XMTP client, read threads, send messages, and revoke installations — so AI agents can use
them. It is published with the boson-xmtp-mcp-server binary and supports two transports:
⚠️ Security: the MCP server acts on behalf of a wallet and needs its private key. Anyone who can reach the server or read its logs/memory can sign as that wallet. Run it locally (stdio) or self-host it privately — never point a client at a shared/public server, and never expose it unauthenticated. Provide the key as a hosting secret, never in client requests or committed files.
Read
SECURITY.mdand the self-hosting guide before running or deploying the MCP server.

