MCP Server for a Matrix home server integration; chat, manage rooms, etc.
Matrix MCP server exists for a simple reason — assistants are far more useful when they can act on Matrix directly instead of describing what you should do. MCP Server for a Matrix home server integration; chat, manage rooms, etc.
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.
Once Matrix is connected, these are the calls the assistant has available:
Prerequisites — The Prerequisites tool exposed by this serverInstallation — The Installation tool exposed by this serverYou will need 8 environment variables: SSL_KEY_PATH, SSL_CERT_PATH, IDP_ISSUER_URL, IDP_AUTHORIZATION_URL, IDP_TOKEN_URL, OAUTH_CALLBACK_URL, MATRIX_HOMESERVER_URL, MATRIX_CLIENT_ID. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Matrix's toolset — Prerequisites, Installation — is a fair guide to whether it matches your workflow. It is maintained by mjknowles; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| Prerequisites | The Prerequisites tool exposed by this server. |
| Installation | The Installation tool exposed by this server. |
{
"mcpServers": {
"matrix": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/inspector"],
"env": {
"SSL_KEY_PATH": "your-value",
"SSL_CERT_PATH": "your-value",
"IDP_ISSUER_URL": "your-value",
"IDP_AUTHORIZATION_URL": "your-value",
"IDP_TOKEN_URL": "your-value",
"OAUTH_CALLBACK_URL": "your-value",
"MATRIX_HOMESERVER_URL": "your-value",
"MATRIX_CLIENT_ID": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| SSL_KEY_PATH | Credential the server authenticates with. | Yes |
| SSL_CERT_PATH | Filesystem location the server is allowed to use. | Optional |
| IDP_ISSUER_URL | Endpoint or connection string the server talks to. | Yes |
| IDP_AUTHORIZATION_URL | Endpoint or connection string the server talks to. | Yes |
| IDP_TOKEN_URL | Credential the server authenticates with. | Yes |
| OAUTH_CALLBACK_URL | Endpoint or connection string the server talks to. | Yes |
| MATRIX_HOMESERVER_URL | Endpoint or connection string the server talks to. | Yes |
| MATRIX_CLIENT_ID | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.