MCP gateway that checks each agent tool call against a signed grant and policy, and signs a receipt
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add agent-custody -- npx -y @agent-custody/receipts --config '<CONFIG>'~/.codex/config.toml
[mcp_servers.agent-custody]
command = "npx"
args = ["-y", "@agent-custody/receipts", "--config", "<CONFIG>"]
# codex mcp add agent-custody -- npx -y @agent-custody/receipts --config '<CONFIG>'~/.cursor/mcp.json
{
"mcpServers": {
"agent-custody": {
"command": "npx",
"args": [
"-y",
"@agent-custody/receipts",
"--config",
"<CONFIG>"
]
}
}
}.vscode/mcp.json
{
"servers": {
"agent-custody": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agent-custody/receipts",
"--config",
"<CONFIG>"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agent-custody": {
"command": "npx",
"args": [
"-y",
"@agent-custody/receipts",
"--config",
"<CONFIG>"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agent-custody": {
"command": "npx",
"args": [
"-y",
"@agent-custody/receipts",
"--config",
"<CONFIG>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"agent-custody": {
"command": "npx",
"args": [
"-y",
"@agent-custody/receipts",
"--config",
"<CONFIG>"
]
}
}
}