Skip to main content
Glama
niels-emmer

dendrite-admin-mcp

by niels-emmer

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_HOSTNoHost for HTTP transport (default 0.0.0.0)0.0.0.0
MCP_HTTP_PORTNoPort for HTTP transport (default 3939)3939
MCP_TRANSPORTNoTransport mode: stdio (default) or httpstdio
MCP_AUTH_TOKENNoBearer token required for HTTP transport; generate with openssl rand -hex 32
DENDRITE_BASE_URLYesBase URL of the homeserver's client-facing port, e.g. https://matrix.example.com
DENDRITE_ADMIN_TOKENYesAccess token of a Dendrite server admin user; sent as a Bearer token to all /_dendrite/admin and most /_synapse/admin endpoints
DENDRITE_REGISTRATION_SHARED_SECRETNoregistration_shared_secret from dendrite.yaml; only needed for the register_user tool

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
evacuate_roomA

Part all local users from a room. Useful when a room is stuck and needs every local member removed at once.

purge_roomA

Remove a room and all its events from Dendrite's database. Does not delete associated media. Irreversible.

download_room_stateA

Fetch and return the room state for a given room as seen by a specific federated server. Useful for debugging state resolution and federation issues.

evacuate_userA

Part a local user from every room they are currently joined to.

reset_passwordA

Set a new password for a local user, optionally invalidating all of their existing access tokens.

refresh_devicesA

Immediately query a federated user's /devices endpoint, refreshing Dendrite's cached device/cross-signing keys. Useful for resolving encryption issues with remote users.

whoisA

Retrieve connection/session information Dendrite holds about a given user.

register_userA

Create a new local account using Dendrite's shared-secret registration flow (registration_shared_secret in dendrite.yaml). Requires DENDRITE_REGISTRATION_SHARED_SECRET to be configured; does not use the admin bearer token.

list_registration_tokensA

List registration tokens, optionally filtered by whether they are still valid.

get_registration_tokenB

Fetch details of a single registration token.

create_registration_tokenA

Create a new registration token that can be used to gate new-account registration. Omit 'token' to have Dendrite generate a random one.

update_registration_tokenB

Modify the usage limit, expiry time, or validity of an existing registration token.

delete_registration_tokenB

Permanently delete a registration token.

send_server_noticeA

Send a server notice (an m.text message from the server) to a specific local user. Requires server notices to be configured in dendrite.yaml.

fulltext_reindexA

Trigger a reindex of all searchable events (m.room.message, m.room.topic, m.room.name). Can be expensive on large homeservers.

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/niels-emmer/dendrite-admin-mcp'

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