SagaSmith CoC MCP
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SagaSmith CoC MCPUsing d100, resolve a Listen check for my investigator at the library."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SagaSmith CoC MCP
SagaSmithAI 的 Call of Cthulhu 7e 本地 MCP 服务。 它把 sagasmith-core 的战役、分支记忆、角色知识、Snapshot 与模组能力,以及 sagasmith-coc 的 d100、SAN、战斗和追逐判定,收敛到一个可被任何 MCP Agent 使用的服务端边界。
为什么是独立 MCP
状态归 MCP 所有:SQLite 与导入产物都位于
.sagasmith-coc-mcp/,不依赖某个 Agent 的工作目录。Exposure 在服务端:每个原生 MCP session 独立维护已加载工具组、TTL 与 Lobby/Play/Combat 阶段,不要求 Agent 复制工具分类。
角色知识真正隔离:PC、NPC、怪物的 belief/rumor/false belief 分别按 actor 与 branch 保存;玩家只能读取或修改被授权角色。
判定与写状态分离:
coc_resolve返回规则结算;角色卡、SAN、HP 或战役状态必须通过显式写工具提交,避免“调用检查就偷偷改卡”。Keeper 信息不外泄:玩家的模组索引与搜索只返回
visibility=player的 handout 场景。
flowchart LR
A[Agent / CoC Skills] --> E[Session Exposure]
E --> M[SagaSmith CoC MCP]
M --> C[sagasmith-core]
M --> R[sagasmith-coc]
C --> D[(SQLite · branches · actor knowledge)]Related MCP server: DM20 Protocol
工具阶段
阶段 | 能力组 | 用途 |
Lobby |
| 建战役、成员与角色授权 |
Lobby |
| 车卡、NPC/怪物、角色卡维护 |
Lobby |
| 导入模组、检查 scene index |
Lobby |
| 记忆、角色知识、Snapshot、Skills |
Play |
| 场景推进、调查判定、SAN、追逐与连续性 |
Combat |
| 近战/远程判定与 Keeper 显式状态写入 |
Agent 首次只会看到目录级核心工具。标准流程是:
exposure_open → exposure_search → exposure_inspect → exposure_load → domain tool不支持动态刷新工具列表的 Host 可以使用 exposure_call,权限与 TTL 仍由 MCP 服务端校验。
快速开始
pip install -e "../sagasmith-core[documents]"
pip install -e ../sagasmith-coc
pip install -e .
sagasmith-coc-mcp默认状态目录:./.sagasmith-coc-mcp/。可用 SAGASMITH_COC_MCP_HOME 指定路径,并用 SAGASMITH_COC_SKILLS_DIR、SAGASMITH_MODULEGEN_SKILLS_DIR 接入 Skills 生态。
安全边界
创建战役时创建 owner membership;新增玩家需 Keeper 显式 grant campaign 与 actor。
owner/DM 可管理全部角色;玩家只能访问明确授权的 actor private state。
Exposure 同时绑定 MCP session、principal、campaign 与阶段,不能跨会话或跨战役复用。
combat.active=true时进入 Combat;非 Keeper 不能直接写角色卡,以免绕过判定与行动边界。商业规则书和模组不随仓库发布;仅导入你有权使用的内容。
开发
pip install -e ".[dev]"
pytest
ruff check .代码使用 MIT License。Call of Cthulhu 及相关商业内容归其权利人所有。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/SagaSmithAI/SagaSmith-coc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server