关于 agent-gate
本地授权门控和证明记录,适用于执行重大操作的 AI Agent。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
mcp.json · 通用配置
启动命令
npx -y forge-agent-gate需要配置的环境变量
FORGE_API_KEY密钥Forge decision-API key (starts with fi_). Set this or FORGE_BEARER_TOKEN.FORGE_BEARER_TOKEN密钥Alternative to FORGE_API_KEY: a Forge bearer token for the decision API.FORGE_API_BASE_URLBase URL of the Forge decision API. Defaults to the hosted Forge cloud.FORGE_TENANT_IDTenant id stamped into every proof-trail record.FORGE_RECORD_MODErequired = fail-closed (block if Forge cannot record); best_effort = execute anyway.AGENT_GATE_MANDATE_PATHAbsolute path to the signed mandate (policy) JSON. Create it with `forge-agent-gate init`.AGENT_GATE_KILL_FILEIf this file exists, every gated write is hard-blocked (master kill switch).KALSHI_API_KEY_ID密钥Kalshi API key id. Only for the live Kalshi venue adapter; stays on your machine.KALSHI_PRIVATE_KEY_PATH密钥Path to your Kalshi RSA private key. Only for the Kalshi venue adapter.KALSHI_ENVKalshi environment: demo or prod. Only for the Kalshi venue adapter.本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。
工具
还没有获取到工具列表
本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。
详细介绍
维护者还没有提供详细介绍,可以先查看代码仓库中的 README。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。