Matrix/Element

Matrix/Element MCP Connector for Claude

F

Automate your Matrix communications — manage rooms, send secure messages, and sync account state directly from your AI agent.

19 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Matrix account to any AI agent and take full control of your decentralized communications through natural conversation.

What you can do

  • Room Management — Create, join, knock, or leave rooms using simple commands like create_room and join_room.
  • Messaging & Events — Send messages or custom events to any room with transaction tracking via send_message.
  • State Synchronization — Use sync_client to fetch the latest state from the homeserver and stay updated on all conversations.
  • User Discovery — Search the global user directory using search_user_directory to find and connect with others.
  • Account Control — Manage your profile, change passwords, or handle account registration and deactivation.
  • Encryption & Keys — Handle cryptographic keys (upload_keys, query_keys) for secure, end-to-end encrypted communication.

How it works

  1. Subscribe to this server
  2. Provide your Matrix Homeserver URL and Access Token
  3. Start orchestrating your chats from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • DevOps Engineers — automate alert rooms and incident response directly from the terminal.
  • Privacy Advocates — maintain secure, decentralized communication without leaving your AI workflow.
  • Community Managers — manage room states and user interactions across large Matrix networks.
matrixelementchatdecentralizede2ee

19 tools expose this connector's capabilities to your AI agent.

change_password

Change the account password

claim_keys

Claim E2EE keys from the homeserver

create_room

Create a new Matrix room

deactivate_account

Deactivate the current Matrix account

download_media

Download media from the homeserver

get_room_state

Get state events for a room

join_room

Join a Matrix room by ID or alias

knock_room

Knock on a Matrix room to request access

leave_room

Leave a Matrix room

login_account

Log in to a Matrix account

logout_account

Log out of the current Matrix account

query_keys

Query E2EE keys from the homeserver

register_account

Register a new Matrix account

search_user_directory

Search the user directory

send_message

Send a message or event to a Matrix room

set_room_state

Set state events for a room

sync_client

Synchronize client state with the homeserver

upload_keys

Upload E2EE keys to the homeserver

upload_media

Upload media to the homeserver

See how to talk to your AI agent using Matrix/Element.

Sync my Matrix client to see if I have any new notifications.

I've triggered a sync. You have 3 new messages in '!engineering:matrix.org' and a new invitation to join the 'Project X' room.

Send a message to room !abc:matrix.org saying 'The deployment is complete'.

Message sent successfully to room !abc:matrix.org with transaction ID 'txn_12345'.

Search the user directory for 'bob'.

I found 2 users matching 'bob': Bob Smith (@bob_s:matrix.org) and Bob Builder (@builder:matrix.org).

Use the `sync_client` tool. It synchronizes your local state with the homeserver, retrieving all new events, messages, and room state changes since your last sync.

Related Connectors