How to Use the Matrix/Element MCP in Claude
Manage secure rooms and dispatch messages directly from Claude Desktop without switching to a standalone chat app.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Matrix/Element MCP to Claude Desktop
Create your Vinkius account to connect Matrix/Element to Claude Desktop and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Send messages and upload files through Claude Desktop
The `send_message` tool transmits text, alerts, or custom events straight to your specified Matrix channels. Your agent on Claude Desktop formats the raw payload and writes it directly to the active room timeline, bypassing manual copy-pasting. For media sharing, `upload_media` pushes images or files to the homeserver, returning an MXC URI that your agent attaches to messages. Claude Desktop coordinates this transfer locally via stdio, letting you pass local files to Matrix rooms in one step.
Control room states and manage memberships
The `create_room` tool provisions new rooms with custom aliases, visibility settings, and initial invite lists directly from your chat. When you need to adjust permissions, `set_room_state` updates room configurations like join rules or moderator levels. Your agent on Claude Desktop handles membership flows by executing `join_room`, `leave_room`, or `knock_room` based on your instructions. It queries current configurations using `get_room_state` to verify settings before making changes.
Manage E2EE keys using this Matrix MCP Server
The `upload_keys` tool publishes cryptographic identity keys to the homeserver to maintain secure end-to-end encryption. The Matrix MCP Server handles the raw cryptographic transport, letting Claude Desktop manage secure sessions. When decrypting historical messages, `query_keys` and `claim_keys` fetch the necessary session keys from other devices on the network. This keeps your secure communications intact without requiring manual key exports.
Set up Matrix/Element MCP in Claude Web or Desktop
- 1
Open Claude Settings
Go to claude.ai, click your profile icon, then navigate to Customize → Connectors.
- 2
Add Custom Connector
Click the "+" button and select Add custom connector. Paste your Vinkius endpoint URL:
https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcpReplace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. For OAuth-protected servers, expand Advanced settings to add credentials. - 3
Start a conversation
Open a new chat. The Matrix/Element MCP tools are available immediately — no restart needed.
Endpoint URL
https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp No configuration file needed — paste the URL directly in the Claude web interface.
Available on Free (1 connector), Pro, Max, Team, and Enterprise plans.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Matrix/Element MCP in Claude Desktop
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Matrix/Element MCP today
We host it, we monitor it, we maintain it. You just paste one token.