Compatible with every major AI agent and IDE
What is the Matrix/Element MCP Server?
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_roomandjoin_room. - Messaging & Events — Send messages or custom events to any room with transaction tracking via
send_message. - State Synchronization — Use
sync_clientto fetch the latest state from the homeserver and stay updated on all conversations. - User Discovery — Search the global user directory using
search_user_directoryto 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
- Subscribe to this server
- Provide your Matrix Homeserver URL and Access Token
- 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.
Built-in capabilities (19)
Change the account password
Claim E2EE keys from the homeserver
Create a new Matrix room
Deactivate the current Matrix account
Download media from the homeserver
Get state events for a room
Join a Matrix room by ID or alias
Knock on a Matrix room to request access
Leave a Matrix room
Log in to a Matrix account
Log out of the current Matrix account
Query E2EE keys from the homeserver
Register a new Matrix account
Search the user directory
Send a message or event to a Matrix room
Set state events for a room
Synchronize client state with the homeserver
Upload E2EE keys to the homeserver
Upload media to the homeserver
Why Google ADK?
Google ADK natively supports Matrix/Element as an MCP tool provider. declare Vinkius Edge URL and the framework handles discovery, validation, and execution automatically. Combine 19 tools with Gemini's long-context reasoning for complex multi-tool workflows, with production-ready session management and evaluation built in.
- —
Google ADK natively supports MCP tool servers. declare a tool provider and the framework handles discovery, validation, and execution
- —
Built on Gemini models, ADK provides long-context reasoning ideal for complex multi-tool workflows with Matrix/Element
- —
Production-ready features like session management, evaluation, and deployment come built-in. not bolted on
- —
Seamless integration with Google Cloud services means you can combine Matrix/Element tools with BigQuery, Vertex AI, and Cloud Functions
Matrix/Element in Google ADK
Matrix/Element and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Matrix/Element to Google ADK through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Matrix/Element in Google ADK
The Matrix/Element MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 19 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Google ADK only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Matrix/Element for Google ADK
Every tool call from Google ADK to the Matrix/Element MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How do I see the latest messages in my rooms?
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.
Can I search for people on other Matrix servers?
Yes, the search_user_directory tool allows you to search the directory available to your homeserver, helping you find users by their display name or Matrix ID.
Is it possible to manage room settings like the topic or name?
Absolutely. Use set_room_state to update room metadata. You can change the room name, topic, or other state events by providing the correct event_type and body.
How does Google ADK connect to MCP servers?
Import the MCP toolset class and pass the server URL. ADK discovers and registers all tools automatically, making them available to your agent's tool-use loop.
Can ADK agents use multiple MCP servers?
Yes. Declare multiple MCP tool providers in your agent configuration. ADK merges all tool schemas and the agent can call tools from any server in a single turn.
Which Gemini models work best with MCP tools?
Gemini 2.0 Flash and Pro models both support function calling required for MCP tools. Flash is recommended for latency-sensitive use cases, Pro for complex reasoning.
McpToolset not found
Update: pip install --upgrade google-adk
Explore More MCP Servers
View all →
Integrate.io (ETL & Data Integration)
6 toolsManage data pipelines via Integrate.io — list pipelines, monitor job runs, and audit data transformations.

IgnitePOST
10 toolsManage hand-written note orders and outreach campaigns via IgnitePOST API.

Mattermost (Secure Team Collaboration)
10 toolsManage team collaboration via Mattermost — send messages, search channels, and audit team activities.

Lacework (Cloud Security & CNAPP)
10 toolsSecure your cloud via Lacework — search security alerts, monitor vulnerabilities, and audit cloud asset inventory.
