Communication · Developer Tools

Matrix MCP Server logo

Matrix MCP Server

mjknowles/matrix-mcp-server

A comprehensive Model Context Protocol (MCP) server that provides secure access to Matrix homeserver functionality. Built with TypeScript, this server enables MCP clients to interact with Matrix rooms, messages, users, and more through a standardized interface.

Install

Environment variables

ENABLE_TOKEN_EXCHANGESSL_KEY_PATHSSL_CERT_PATHIDP_ISSUER_URLIDP_AUTHORIZATION_URLIDP_TOKEN_URLOAUTH_CALLBACK_URLMATRIX_HOMESERVER_URLMATRIX_CLIENT_IDMATRIX_CLIENT_SECRET
Category
Communication, Developer Tools
License
MIT
Updated
Oct 6, 2026

Features

  • OAuth 2.0 Authentication with token exchange support

  • 15 Matrix Tools organized by functionality tiers

  • Multi-homeserver Support with configurable endpoints

  • Real-time Operations with ephemeral client management

  • Production Ready with comprehensive error handling

  • Rich Responses with detailed Matrix data

Tools (17)

  • list-joined-rooms

    Get all rooms the user has joined

  • get-room-info

    Get detailed room information

  • get-room-messages

    Retrieve recent messages from a room

  • get-messages-by-date

    Filter messages by date range

  • identify-active-users

    Find most active users by message count

  • get-user-profile

    Get profile information for any user

  • get-my-profile

    Get your own profile information

  • search-public-rooms

    Discover public rooms to join

  • get-notification-counts

    Check unread messages and mentions

  • send-message

    Send messages to rooms

  • send-direct-message

    Send private messages to users

  • create-room

    Create new Matrix rooms

  • join-room

    Join rooms by ID or alias

  • leave-room

    Leave Matrix rooms

  • invite-user

    Invite users to rooms

  • set-room-name

    Update room display names

  • set-room-topic

    Update room topics/descriptions

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb

Related MCP servers

More servers
Inbox Zero AI MCP logo

Inbox Zero AI MCP

elie222/inbox-zero

7.1k

To help you spend less time in your inbox, so you can focus on what matters most.

Communication
whatsapp logo

whatsapp

lharries/whatsapp-mcp

3.6k

This is a Model Context Protocol (MCP) server for WhatsApp.

Communication
Apple MCP Server logo

Apple MCP Server

Dhravya/apple-mcp

1.5k

Apple MCP toolset is a collection of Apple native tools based on the MCP protocol, providing integration services for Messages, Notes, Contacts, Mail, Reminders, Calendar and other Apple ecosystem features.

Communication
supergateway logo

supergateway

supercorp-ai/supergateway

1.1k

Supergateway runs MCP stdio-based servers over SSE (Server-Sent Events) or WebSockets (WS) with one command. This is useful for remote access, debugging, or connecting to clients when your MCP server only supports stdio.

Communication
Line Bot MCP Server logo

Line Bot MCP Server

line/line-bot-mcp-server

338

Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

Communication
MCP Send Email logo

MCP Send Email

resend/mcp-send-email

325

Connect your AI agent to the Resend platform. Send and receive emails, manage contacts, broadcasts, domains, and more, directly from any MCP client like Claude, Cursor, or Claude Code.

Communication