The Matrix MCP server integrates with a Matrix homeserver, allowing AI agents to send and receive messages, manage rooms, and handle user presence. It connects to the Matrix API for real-time communication. Developers use it to build chatbots, automate messaging, and manage group communications within Matrix.
The Matrix MCP server integrates with a Matrix homeserver, allowing AI agents to send and receive messages, manage rooms, and handle user presence. It connects to the Matrix API for real-time communication. Developers use it to build chatbots, automate messaging, and manage group communications within Matrix.
npx -y matrix-mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"mjknowles-matrix-mcp-server-github": {
"command": "npx",
"args": [
"-y",
"npx -y matrix-mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from matrix?"
API Key Required
This server requires an API key from matrix. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| MATRIX_API_KEY | Yes | Your matrix API key |
"What resources are available in matrix?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in matrix"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in matrix with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.