Matrix MCP Server
by mjknowles
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the HTTP server | 3000 |
| ENABLE_HTTPS | No | Enable HTTPS | false |
| ENABLE_OAUTH | No | Enable OAuth authentication mode | true |
| SSL_KEY_PATH | No | Path to SSL private key (required if ENABLE_HTTPS=true) | |
| IDP_TOKEN_URL | No | Identity provider token URL (required for OAuth mode) | |
| MATRIX_DOMAIN | No | Matrix domain | |
| SSL_CERT_PATH | No | Path to SSL certificate (required if ENABLE_HTTPS=true) | |
| IDP_ISSUER_URL | No | Identity provider issuer URL (required for OAuth mode) | |
| MATRIX_CLIENT_ID | No | Matrix client ID (required for OAuth mode) | |
| OAUTH_CALLBACK_URL | No | OAuth callback URL (required for OAuth mode) | |
| CORS_ALLOWED_ORIGINS | No | Comma-separated allowed origins (empty = allow all) | |
| MATRIX_CLIENT_SECRET | No | Matrix client secret (required for OAuth mode) | |
| ENABLE_TOKEN_EXCHANGE | No | Exchange OAuth tokens for Matrix tokens | true |
| IDP_AUTHORIZATION_URL | No | Identity provider authorization URL (required for OAuth mode) | |
| MATRIX_HOMESERVER_URL | No | Matrix homeserver URL |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mjknowles/matrix-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server