mcp-roster
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ROSTER_FILE | No | Path to the roster JSON file that stores people, tiers and permissions (e.g. /root/.dsh/roster.json or ~/.dsh/roster.json). |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| roster_listA | 列出名册里的人(分档、权限、最近一条备注)。用来知道「我认识谁、能对谁做什么」。 |
| roster_getA | 看某个人的完整定义:称呼、关系、说话语气、备注、权限。 |
| roster_upsertA | 加一个人或改他的定义。权限是覆盖式的:传了 perms 就整体替换,不传则保留原权限。 |
| roster_noteB | 给某个人追加一条备注(自动去重,最多留 50 条)。 |
| roster_removeB | 把人从名册里删掉。删掉后他立刻失去所有权限。 |
| roster_checkA | 判断某个人有没有某项权限(默认拒绝)。别的工具在动手前应该先问一句。 |
| roster_allowlistB | 导出某类权限下所有人的 QQ 号。可以直接当白名单喂给别的工具。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Most tools target a distinct action on the roster: list (summary) vs get (full definition) is a standard and understandable split, and remove/check/allowlist are clearly separate. The main friction is between roster_upsert and roster_note, since upsert's definition includes 备注 while note appends notes with dedup/cap semantics, so an agent may hesitate over which one to use when editing notes.
All seven tools share a clean roster_ prefix with short, predictable suffixes (list, get, upsert, remove, check), making the set easy to scan. roster_note and roster_allowlist are noun-style rather than verb-style, a minor deviation in an otherwise consistent scheme.
Seven tools is well within the sweet spot and each maps to a real operation (list, get, upsert, note, remove, check, allowlist) with no filler. The surface feels deliberately scoped rather than bloated or thin.
The core lifecycle is covered: create/update via upsert, read via list/get, delete via remove, plus permission checking and allowlist export. Gaps are minor but real: there is no way to delete or edit an individual note (only append, capped at 50), and no way to enumerate permission types beyond querying a single person or exporting a whitelist.