Skip to main content
Glama
astrbot
by t0saki

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
tokenYesRequired. Bearer token clients must present; recommended to be a random string of 32+ chars (e.g. `openssl rand -hex 32`). The service does not start when this is empty.
self_idNoBot QQ number; only needed when the same aiocqhttp platform connects multiple accounts.
listen_hostNoListening address.127.0.0.1
listen_portNoPort. The MCP endpoint is `http://<host>:<port>/mcp`.6210
platform_idNoWhich aiocqhttp platform instance to use; empty = the first aiocqhttp platform.
deny_commandsNoDeny list, checked before the allow list; a match is rejected. Prefix matching ignores case, full-width/half-width differences, and all whitespace; a trailing `*` is optional.
allow_commandsNoAllow list. Empty = all commands executable; non-empty = only matching entries are allowed. Literal, case-sensitive matching; a trailing `*` allows arguments immediately following the prefix.
extra_commandsNoCommand descriptions outside AstrBot's command table, format `command | description`, e.g. `gs体力 | 查询原神体力`. Used only by `list_commands`.
rate_limit_per_minuteNo`run_command` per-minute limit (0 = unlimited).20
max_message_age_secondsNoReject referenced messages older than this many seconds.600

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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