cozyvtt-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COZYVTT_URL | Yes | Your CozyVTT instance URL (e.g., http://localhost:8899) | |
| COZYVTT_EMAIL | Yes | DM account email (e.g., dm@example.local) | |
| COZYVTT_PASSWORD | Yes | DM account password | |
| COZYVTT_CAMPAIGN_ID | Yes | Target campaign UUID |
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
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| campaign_statusA | 实例健康 + 战役状态 + 当前地图。健康检查用 GET /health(200 即活)。 |
| chat_readA | 翻聊天记录(注意:DICE_ROLL 类不入聊天史,骰史看 events_poll)。 |
| events_pollA | 拉取 seq > since 的实时事件(玩家发言/骰子/移动),含骰史。 返回 {events, latest_seq};把 latest_seq 存下当下次的 since 即可增量拉。 |
| map_listC | 地图列表。 |
| initiative_stateA | 查先攻(最近一条 initiative.state 广播;无则提示尚未开战)。 |
| character_listC | 角色列表(战役 roster)。 |
| character_getB | 读角色卡全量(卡面结构随战役系统:5e/PF2e/SR6/CoC7e 各自 schema)。 |
| character_validateB | 用角色卡自身 gameSystem 的 Zod schema 重验 data(服务器侧校验)。 返回 {isValid, errors?}——校验不通过也是 200,看 isValid 字段。 |
| creature_searchA | Open5e SRD + 战役自定义怪库检索。source: srd|custom。 系统门:source=srd 仅 DND_5E 战役(Open5e 是 D&D 5e 数据源);custom 不限系统。 |
| chat_sendB | DM 叙事 / NPC 台词。type 仅接受 DM / PLAYER(上游校验,2026-09-04 实测)。 |
| dice_rollA | 公证骰,如 1d20+5 / 2d6 / 4d6kh3。is_secret=true 暗骰(仅 DM 可见)。 客户端侧最小间隔 2.1s(WS 限流 30/min),排队不报错。 |
| map_switchB | 切当前图(WS 会广播 map.changed)。 |
| token_addC | 放 token 到地图(DM only)。 |
| token_moveA | 移动 token(REST PUT position;WS 广播 map.changed 同步全桌)。 |
| token_hpA | 改 token HP(delta 正=治疗 负=伤害,播报全桌 character.hp.updated)。 |
| initiative_manageA | 先攻管理(全 DM-only)。 action: add / remove / roll / set / reorder / start / next / end。
|
| character_updateA | 局部更新角色卡(SAN/HP/Luck/MP/法术位等结算由调用方算好传入,桥不做规则计算)。 data 为要 PUT 的字段 dict。 |
| character_createA | 创建角色卡并直接加入当前战役。gameSystem 自动继承战役系统 (服务器会按该系统 Zod schema 校验 data,校验失败返回 400)。 data 为卡面字段 dict(结构随系统:5e 见上游 dnd5e.ts,CoC7e 见 callOfCthulhu7e.ts)。 建完可用 character_validate 复查。 |
| token_place_creatureC | 调怪上图:读怪库模板 → 以模板名/图放置 token。 |
| session_manageB | 场次管理(DM only)。action: start / pause / end。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/yanjingzhaisun/cozyvtt-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server