xmpp-mcp
Provides tools for interacting with XMPP, allowing an agent to send messages to a fixed allowlisted recipient, set XEP-0085 chat states, poll and wait for messages using cursor-based history, and handle XEP-0333 displayed markers.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@xmpp-mcpSend a notification to my XMPP that the report is ready and wait for my reply."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
xmpp-mcp
A deliberately small XMPP MCP server for human-in-the-loop notifications. It connects as a dedicated bot account and communicates with exactly one allowlisted bare JID.
Security model
The recipient is fixed by
MCP_XMPP_ALLOWED_JID; MCP calls cannot override it.Messages from every other JID are discarded before persistence.
Host, login, and password are supplied through the MCP process environment.
TLS certificate verification is enabled with the system trust store.
XEP-0198 stream management is requested when supported by the server.
Accepted messages are deduplicated and persisted in a mode-
0600SQLite database.No shell, file-transfer, roster-management, MUC, or arbitrary-recipient tools are exposed.
This protects the messaging boundary, but a reply in XMPP is still an agent instruction, not a substitute for a Codex approval required by the client.
Related MCP server: mcp-whatsapp
Tools
xmpp_statusxmpp_send_messagexmpp_set_chat_statexmpp_poll_messagesxmpp_wait_for_message
xmpp_set_chat_state publishes XEP-0085 states (active, composing,
paused, inactive, or gone) to the fixed allowlisted recipient. A typical
agent sends composing before longer work and active after its reply.
While xmpp_wait_for_message is waiting, the account publishes a directed
chat presence with the status Ожидаю указания to the allowlisted JID.
Receiving a command changes it to dnd / Работаю; sending the next message
or leaving the wait without a message clears the text and returns to plain
online presence.
Incoming messages that request XEP-0333 Displayed Markers with markable are
automatically marked as displayed. Markers are sent only to the fixed
allowlisted JID and are never generated in response to another marker.
Polling and waiting use durable integer cursors. Save next_cursor and pass it
as after_cursor on the next call. request_id maps to the XMPP thread field;
not every mobile client preserves threads, so cursor order remains the fallback.
Setup
cd ~/Developer/xmpp-mcp
python3 -m venv .venv
.venv/bin/pip install -e '.[dev]'Export configuration before launching the MCP server:
export MCP_XMPP_HOST='xmpp.example.org'
export MCP_XMPP_LOGIN='codex-bot@example.org/codex'
export MCP_XMPP_PASSWORD='BOT_ACCOUNT_PASSWORD'
export MCP_XMPP_ALLOWED_JID='you@example.org'Optional variables such as MCP_XMPP_PORT, MCP_XMPP_CONNECT_TIMEOUT, and
MCP_XMPP_STATE_DIR are documented in .env.example.
Run directly:
.venv/bin/xmpp-mcpCodex configuration
Add a stdio MCP server to ~/.codex/config.toml:
[mcp_servers.xmpp]
command = "/home/user/Developer/xmpp-mcp/.venv/bin/xmpp-mcp"
[mcp_servers.xmpp.env]
MCP_XMPP_HOST = "xmpp.example.org"
MCP_XMPP_LOGIN = "codex-bot@example.org/codex"
MCP_XMPP_PASSWORD = "BOT_ACCOUNT_PASSWORD"
MCP_XMPP_ALLOWED_JID = "you@example.org"Restart the Codex session after changing MCP configuration.
Checks
.venv/bin/ruff check .
.venv/bin/pytestMaintenance
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
- AlicenseBqualityCmaintenanceAn MCP server that enables interaction with WhatsApp using the Baileys library and Streamable HTTP transport. It supports managing contacts, chats, and messages, while providing a web admin UI for QR code authentication and media handling.285MIT
- AlicenseAqualityBmaintenanceSingle-binary Go MCP server that wraps whatsmeow to expose a personal WhatsApp account as 41 MCP tools (messaging, groups, polls, media, privacy).427MIT
- Alicense-qualityAmaintenanceMinimal MCP server for inter-session coordination between parallel Claude Code instances, providing presence registry, advisory resource locks, and a broadcast inbox.1812MIT
- Alicense-qualityAmaintenanceMCP server for a local-first messaging workspace that integrates Google Messages, WhatsApp, and Signal. It enables reading, sending, searching messages, and managing conversations through MCP tools.47The Unlicense
Related MCP Connectors
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native
Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/jfk9w/xmpp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server