Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for HTTP mode | 3000 |
| TRANSPORT | No | Transport type: 'stdio' or 'http' | stdio |
| MATRIX_HOMESERVER | No | Your Matrix homeserver URL | https://matrix.org |
| MATRIX_ACCESS_TOKEN | Yes | Your Matrix access token (REQUIRED). Get it from Element Settings > Help & About > Access Token |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| matrix_list_rooms | List all Matrix rooms that the user has joined. Returns room IDs, names, and basic information about each room. Use this to discover which rooms are available before fetching messages. Returns:
|
| matrix_get_messages | Retrieve messages from a specific Matrix room. Use matrix_list_rooms first to get available room IDs. Args:
Returns:
|
| matrix_search_messages | Search for messages across Matrix rooms. Search for specific content within messages. Can search all rooms or a specific room. Args:
Returns:
|
| matrix_get_room_info | Get detailed information about a specific Matrix room. Returns room name, topic, members, and other state information. Args:
Returns:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |