4,000+ servers built on vurb.ts
Vinkius

Matrix/Element MCP Server for CursorGive Cursor instant access to 19 tools to Change Password, Claim Keys, Create Room, and more

MCP Inspector GDPR Free for Subscribers

Cursor is an AI-first code editor built on VS Code that integrates LLM-powered coding assistance directly into the development workflow. Its Agent mode enables autonomous multi-step coding tasks, and MCP support lets agents access external data sources and APIs during code generation.

Ask AI about this MCP Server for Cursor

The Matrix/Element MCP Server for Cursor is a standout in the Communication Messaging category — giving your AI agent 19 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Classic Setup·json
{
  "mcpServers": {
    "matrixelement": {
      "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    }
  }
}
RecommendedModern Approach — Zero Configuration

Vinkius Desktop App

The modern way to manage MCP Servers — no config files, no terminal commands. Install Matrix/Element and 4,000+ MCP Servers from a single visual interface.

Vinkius Desktop InterfaceVinkius Desktop InterfaceVinkius Desktop InterfaceVinkius Desktop Interface
Download Free Open SourceNo signup required
Matrix/Element
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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

About Matrix/Element MCP Server

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

Cursor's Agent mode turns Matrix/Element into an in-editor superpower. Ask Cursor to generate code using live data from Matrix/Element and it fetches, processes, and writes. all in a single agentic loop. 19 tools appear alongside file editing and terminal access, creating a unified development environment grounded in real-time information.

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.

The Matrix/Element MCP Server exposes 19 tools through the Vinkius. Connect it to Cursor in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 19 Matrix/Element tools available for Cursor

When Cursor connects to Matrix/Element through Vinkius, your AI agent gets direct access to every tool listed below — spanning matrix, element, chat, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.

change

Change password on Matrix/Element

Change the account password

claim

Claim keys on Matrix/Element

Claim E2EE keys from the homeserver

create

Create room on Matrix/Element

Create a new Matrix room

deactivate

Deactivate account on Matrix/Element

Deactivate the current Matrix account

download

Download media on Matrix/Element

Download media from the homeserver

get

Get room state on Matrix/Element

Get state events for a room

join

Join room on Matrix/Element

Join a Matrix room by ID or alias

knock

Knock room on Matrix/Element

Knock on a Matrix room to request access

leave

Leave room on Matrix/Element

Leave a Matrix room

login

Login account on Matrix/Element

Log in to a Matrix account

logout

Logout account on Matrix/Element

Log out of the current Matrix account

query

Query keys on Matrix/Element

Query E2EE keys from the homeserver

register

Register account on Matrix/Element

Register a new Matrix account

search

Search user directory on Matrix/Element

Search the user directory

send

Send message on Matrix/Element

Send a message or event to a Matrix room

set

Set room state on Matrix/Element

Set state events for a room

sync

Sync client on Matrix/Element

Synchronize client state with the homeserver

upload

Upload keys on Matrix/Element

Upload E2EE keys to the homeserver

upload

Upload media on Matrix/Element

Upload media to the homeserver

Connect Matrix/Element to Cursor via MCP

Follow these steps to wire Matrix/Element into Cursor. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Open MCP Settings

Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
02

Add the server config

Paste the JSON configuration above into the mcp.json file that opens
03

Save the file

Cursor will automatically detect the new MCP server
04

Start using Matrix/Element

Open Agent mode in chat and ask: "Using Matrix/Element, help me...". 19 tools available

Why Use Cursor with the Matrix/Element MCP Server

Cursor AI Code Editor provides unique advantages when paired with Matrix/Element through the Model Context Protocol.

01

Agent mode turns Cursor into an autonomous coding assistant that can read files, run commands, and call MCP tools without switching context

02

Cursor's Composer feature can generate entire files using real-time data fetched through MCP. no copy-pasting from external dashboards

03

MCP tools appear alongside built-in tools like file reading and terminal access, creating a unified agentic environment

04

VS Code extension compatibility means your existing workflow, keybindings, and extensions all work alongside MCP tools

Matrix/Element + Cursor Use Cases

Practical scenarios where Cursor combined with the Matrix/Element MCP Server delivers measurable value.

01

Code generation with live data: ask Cursor to generate a security report module using live DNS and subdomain data fetched through MCP

02

Automated documentation: have Cursor query your API's tool schemas and generate TypeScript interfaces or OpenAPI specs automatically

03

Infrastructure-as-code: Cursor can fetch domain configurations and generate corresponding Terraform or CloudFormation templates

04

Test scaffolding: ask Cursor to pull real API responses via MCP and generate unit test fixtures from actual data

Example Prompts for Matrix/Element in Cursor

Ready-to-use prompts you can give your Cursor agent to start working with Matrix/Element immediately.

01

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

02

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

03

"Search the user directory for 'bob'."

Troubleshooting Matrix/Element MCP Server with Cursor

Common issues when connecting Matrix/Element to Cursor through Vinkius, and how to resolve them.

01

Tools not appearing in Cursor

Ensure you are in Agent mode (not Ask mode). MCP tools only work in Agent mode.
02

Server shows as disconnected

Check Settings → Features → MCP and verify the server status. Try clicking the refresh button.

Matrix/Element + Cursor FAQ

Common questions about integrating Matrix/Element MCP Server with Cursor.

01

What is Agent mode and why does it matter for MCP?

Agent mode is Cursor's autonomous execution mode where the AI can perform multi-step tasks: reading files, editing code, running terminal commands, and calling MCP tools. Without Agent mode, Cursor operates in a simpler ask-and-answer mode that doesn't support tool calling. Always ensure you're in Agent mode when working with MCP servers.
02

Where does Cursor store MCP configuration?

Cursor looks for MCP server configurations in a mcp.json file. You can configure servers at the project level (.cursor/mcp.json in your project root) or globally (~/.cursor/mcp.json). Project-level configs take precedence.
03

Can Cursor use MCP tools in inline edits?

No. MCP tools are only available in Agent mode through the chat panel. Inline completions and Tab suggestions do not trigger MCP tool calls. This is by design. tool calls require user visibility and approval.
04

How do I verify MCP tools are loaded?

Open Settings → Features → MCP and look for your server name. A green indicator means the server is connected. You can also check Agent mode's available tools by clicking the tools dropdown in the chat panel.

Explore More MCP Servers

View all →