Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MATRIX_AUTOJOINNoSet to 'false' to ignore room invites (default: accept).
MATRIX_DM_USERSNoComma-separated MXID whitelist for DMs; others' DMs are dropped.
MATRIX_PEER_AGENTSNoComma-separated MXIDs of sibling agents; their messages are tagged chat:from-agent instead of chat:from-human.
MATRIX_ACCESS_TOKENYesAccess token for the bot account. Required.
MATRIX_STORAGE_FILENoJSON file persisting the /sync token. Strongly recommended — without it every restart is a cold start and offline messages are lost.
MATRIX_ACCEPT_NOTICESNoSet to 'true' to deliver m.notice messages (default: dropped).
MATRIX_HOMESERVER_URLYesBase URL of the homeserver (e.g., https://matrix.example.org). Required.
MATRIX_MCPL_DEBUG_LOGNoAbsolute path for a diagnostic file log.
MATRIX_BACKSCROLL_LIMITNoMessages fetched on first interaction with a room (default 50).
MATRIX_INVITE_ALLOWLISTNoComma-separated MXIDs whose invites are accepted; all others declined.
MATRIX_SUBSCRIPTIONS_FILENoJSON file persisting ambient subscriptions across restarts.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/almostmachines/matrix_mcpl'

If you have feedback or need assistance with the MCP directory API, please join our Discord server