Element (Matrix)
by mjknowles
Interact with a Matrix homeserver (Element and other Matrix clients) — read + send messages, manage rooms, list joined spaces. 15 tools organized in tiers; OAuth 2.0 token exchange for multi-homeserver setups.
Matrix homeserver URL (e.g., https://matrix.org)
Server domain used in user IDs (e.g., matrix.org)
Static Matrix access token for development/direct mode
OAuth client ID for token exchange
OAuth client secret for token exchange
Enable OAuth authentication (true/false)
Exchange OAuth tokens for Matrix tokens (true/false)
Identity provider issuer URL for OAuth
Identity provider authorization endpoint URL
Identity provider token endpoint URL
OAuth callback URL for authentication flow
MCP token for HTTP mode only
Comma-separated list of allowed CORS origins (HTTP mode only)
Enable HTTPS for HTTP mode (true/false)
Path to SSL certificate file (HTTPS mode only)
Path to SSL private key file (HTTPS mode only)
Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.
Default template
# Optional extra environment variables, one KEY=VALUE per line. # Lines starting with # are ignored: uncomment and edit what you need. # Documented options: https://github.com/mjknowles/matrix-mcp-server # Route the connector through an HTTP proxy, if your network needs one. # HTTPS_PROXY=http://proxy.example:8080 # Turn up logging for troubleshooting (read by many servers; the name varies). # LOG_LEVEL=debug
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
npx -y github:mjknowles/matrix-mcp-server#88719f4da7d3