Attest MCP란?
Attest은(는) MCP server입니다. AI agent의 동작을 제어하는 정책 기반 검증 레이어를 제공하며, 시스템 read-back을 통해 동작을 검증하고 해시 체인 기반의 원장에 증거를 기록합니다.
프로젝트 README에서 생성된 요약
Attest MCP server 정보
Attest는 AI agent가 수행하는 동작을 모니터링하고 제어하도록 설계된 검증 레이어를 제공합니다. 직접 명령을 실행하는 대신, 동작 허용 여부를 결정하는 정책 엔진 역할을 수행하며, 필요한 경우 사람의 승인을 위해 일시 중지합니다. 또한 기록 시스템으로부터 read-back을 수행하여 의도한 변경 사항이 실제로 발생했는지 검증합니다. 이를 통해 agent가 수행했다고 주장하는 내용이 대상 애플리케이션의 실제 상태와 일치하도록 보장합니다.
개발자는 Python 또는 TypeScript SDK를 사용하여 데코레이터나 래퍼(wrapper) 방식으로 이를 통합할 수 있습니다. LangGraph, OpenAI Agents, Claude Agent SDK를 포함한 다양한 환경을 지원합니다. Model Context Protocol을 사용하는 경우, 코드 수정이 필요 없는 proxy와 verify server를 제공합니다. 시스템은 SQLite에 로컬로 저장하거나 Postgres를 사용하여 클라우드에 저장되는, 변조 방지 기능이 있는 해시 체인 기반 원장을 유지합니다. 모든 동작은 verified, acknowledged, unverified와 같은 특정 레벨로 분류되어 작업 성공 여부에 대한 정직한 보고를 제공합니다.
활용 사례
- 1민감한 agent 동작 제어이메일 전송과 같은 중요한 작업을 agent가 수행하기 전에 사람의 개입을 요구합니다.
- 2원장을 통한 agent 활동 감사모든 agent 동작과 검증 상태에 대해 변조가 불가능한 영구적인 기록을 유지합니다.
- 3Zero-code MCP proxy 배포기존 MCP server의 도구 코드를 다시 작성하지 않고도 검증 레이어를 추가합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Attest MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Attest MCP 설치
$ claude mcp add --env 'GMAIL_TOKEN=<YOUR_GMAIL_TOKEN>' --env 'GOOGLE_TOKEN=<YOUR_GOOGLE_TOKEN>' --env 'GRAPH_TOKEN=<YOUR_GRAPH_TOKEN>' --env 'HUBSPOT_TOKEN=<YOUR_HUBSPOT_TOKEN>' --env 'LINEAR_API_KEY=<YOUR_LINEAR_API_KEY>' --env 'NOTION_TOKEN=<YOUR_NOTION_TOKEN>' --env 'SLACK_BOT_TOKEN=<YOUR_SLACK_BOT_TOKEN>' attest -- uvx attestlayerCursor에 Attest MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"attest": {
"command": "uvx",
"args": [
"attestlayer"
],
"env": {
"GMAIL_TOKEN": "<YOUR_GMAIL_TOKEN>",
"GOOGLE_TOKEN": "<YOUR_GOOGLE_TOKEN>",
"GRAPH_TOKEN": "<YOUR_GRAPH_TOKEN>",
"HUBSPOT_TOKEN": "<YOUR_HUBSPOT_TOKEN>",
"LINEAR_API_KEY": "<YOUR_LINEAR_API_KEY>",
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>",
"SLACK_BOT_TOKEN": "<YOUR_SLACK_BOT_TOKEN>"
}
}
}
}VS Code에 Attest MCP 설치
.vscode/mcp.json
{
"servers": {
"attest": {
"type": "stdio",
"command": "uvx",
"args": [
"attestlayer"
],
"env": {
"GMAIL_TOKEN": "<YOUR_GMAIL_TOKEN>",
"GOOGLE_TOKEN": "<YOUR_GOOGLE_TOKEN>",
"GRAPH_TOKEN": "<YOUR_GRAPH_TOKEN>",
"HUBSPOT_TOKEN": "<YOUR_HUBSPOT_TOKEN>",
"LINEAR_API_KEY": "<YOUR_LINEAR_API_KEY>",
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>",
"SLACK_BOT_TOKEN": "<YOUR_SLACK_BOT_TOKEN>"
}
}
}
}VS Code CLI에 Attest MCP 설치
$ code --add-mcp '{"name":"attest","type":"stdio","command":"uvx","args":["attestlayer"],"env":{"GMAIL_TOKEN":"<YOUR_GMAIL_TOKEN>","GOOGLE_TOKEN":"<YOUR_GOOGLE_TOKEN>","GRAPH_TOKEN":"<YOUR_GRAPH_TOKEN>","HUBSPOT_TOKEN":"<YOUR_HUBSPOT_TOKEN>","LINEAR_API_KEY":"<YOUR_LINEAR_API_KEY>","NOTION_TOKEN":"<YOUR_NOTION_TOKEN>","SLACK_BOT_TOKEN":"<YOUR_SLACK_BOT_TOKEN>"}}'Claude Desktop에 Attest MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"attest": {
"command": "uvx",
"args": [
"attestlayer"
],
"env": {
"GMAIL_TOKEN": "<YOUR_GMAIL_TOKEN>",
"GOOGLE_TOKEN": "<YOUR_GOOGLE_TOKEN>",
"GRAPH_TOKEN": "<YOUR_GRAPH_TOKEN>",
"HUBSPOT_TOKEN": "<YOUR_HUBSPOT_TOKEN>",
"LINEAR_API_KEY": "<YOUR_LINEAR_API_KEY>",
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>",
"SLACK_BOT_TOKEN": "<YOUR_SLACK_BOT_TOKEN>"
}
}
}
}Codex에 Attest MCP 설치
$ codex mcp add attest --env 'GMAIL_TOKEN=<YOUR_GMAIL_TOKEN>' --env 'GOOGLE_TOKEN=<YOUR_GOOGLE_TOKEN>' --env 'GRAPH_TOKEN=<YOUR_GRAPH_TOKEN>' --env 'HUBSPOT_TOKEN=<YOUR_HUBSPOT_TOKEN>' --env 'LINEAR_API_KEY=<YOUR_LINEAR_API_KEY>' --env 'NOTION_TOKEN=<YOUR_NOTION_TOKEN>' --env 'SLACK_BOT_TOKEN=<YOUR_SLACK_BOT_TOKEN>' -- uvx attestlayerCodex config.toml에 Attest MCP 설치
~/.codex/config.toml
[mcp_servers.attest] command = "uvx" args = ["attestlayer"] [mcp_servers.attest.env] GMAIL_TOKEN = "<YOUR_GMAIL_TOKEN>" GOOGLE_TOKEN = "<YOUR_GOOGLE_TOKEN>" GRAPH_TOKEN = "<YOUR_GRAPH_TOKEN>" HUBSPOT_TOKEN = "<YOUR_HUBSPOT_TOKEN>" LINEAR_API_KEY = "<YOUR_LINEAR_API_KEY>" NOTION_TOKEN = "<YOUR_NOTION_TOKEN>" SLACK_BOT_TOKEN = "<YOUR_SLACK_BOT_TOKEN>"
Gemini CLI에 Attest MCP 설치
$ gemini mcp add -s user -e 'GMAIL_TOKEN=<YOUR_GMAIL_TOKEN>' -e 'GOOGLE_TOKEN=<YOUR_GOOGLE_TOKEN>' -e 'GRAPH_TOKEN=<YOUR_GRAPH_TOKEN>' -e 'HUBSPOT_TOKEN=<YOUR_HUBSPOT_TOKEN>' -e 'LINEAR_API_KEY=<YOUR_LINEAR_API_KEY>' -e 'NOTION_TOKEN=<YOUR_NOTION_TOKEN>' -e 'SLACK_BOT_TOKEN=<YOUR_SLACK_BOT_TOKEN>' attest uvx -- attestlayerGemini settings.json에 Attest MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"attest": {
"command": "uvx",
"args": [
"attestlayer"
],
"env": {
"GMAIL_TOKEN": "<YOUR_GMAIL_TOKEN>",
"GOOGLE_TOKEN": "<YOUR_GOOGLE_TOKEN>",
"GRAPH_TOKEN": "<YOUR_GRAPH_TOKEN>",
"HUBSPOT_TOKEN": "<YOUR_HUBSPOT_TOKEN>",
"LINEAR_API_KEY": "<YOUR_LINEAR_API_KEY>",
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>",
"SLACK_BOT_TOKEN": "<YOUR_SLACK_BOT_TOKEN>"
}
}
}
}구성
GMAIL_TOKEN비밀Google OAuth access token with gmail.readonly — enables Gmail read-back
GOOGLE_TOKEN비밀Google OAuth access token — enables Calendar / Drive / Docs / Sheets read-back
GRAPH_TOKEN비밀Microsoft Graph token — enables Outlook / Teams read-back
HUBSPOT_TOKEN비밀HubSpot private-app token — enables HubSpot read-back
LINEAR_API_KEY비밀Linear API key — enables Linear read-back
NOTION_TOKEN비밀Notion integration token — enables Notion read-back
SLACK_BOT_TOKEN비밀Slack bot token (xoxb-…) with channels:history, channels:read — enables Slack read-back
ATTEST_AUTO_APPROVESet to 1 to approve every confirm request (development only)
ATTEST_CONFIRM_TIMEOUTSeconds attest_confirm waits for a human (default 900)
ATTEST_LEDGERLedger SQLite path (default .attest/ledger.sqlite)
ATTEST_POLICYPath to a policy YAML (defaults to ./attest.yaml or the built-in default)
| 이름 | 설명 | 유형 |
|---|---|---|
| GMAIL_TOKEN | Google OAuth access token with gmail.readonly — enables Gmail read-back | 비밀 |
| GOOGLE_TOKEN | Google OAuth access token — enables Calendar / Drive / Docs / Sheets read-back | 비밀 |
| GRAPH_TOKEN | Microsoft Graph token — enables Outlook / Teams read-back | 비밀 |
| HUBSPOT_TOKEN | HubSpot private-app token — enables HubSpot read-back | 비밀 |
| LINEAR_API_KEY | Linear API key — enables Linear read-back | 비밀 |
| NOTION_TOKEN | Notion integration token — enables Notion read-back | 비밀 |
| SLACK_BOT_TOKEN | Slack bot token (xoxb-…) with channels:history, channels:read — enables Slack read-back | 비밀 |
| ATTEST_AUTO_APPROVE | Set to 1 to approve every confirm request (development only) | |
| ATTEST_CONFIRM_TIMEOUT | Seconds attest_confirm waits for a human (default 900) | |
| ATTEST_LEDGER | Ledger SQLite path (default .attest/ledger.sqlite) | |
| ATTEST_POLICY | Path to a policy YAML (defaults to ./attest.yaml or the built-in default) |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능dev-prathap/attest is public and reachablegithub.com/dev-prathap/attest ↗통과
- 패키지가 이 저장소를 소스로 명시attestlayer names dev-prathap/attest as sourcepypi.org/project/attestlayer/ ↗통과
- 빌드 출처(Sigstore 증명)No build attestation published for this release검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-09-24github.com/dev-prathap/attest ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from attestlayer통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음7 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기Attest — prove what your AI agent actually did
Decide → Gate → Verify → Attest. Your agent sends the email, updates the CRM, moves the money. Attest decides whether it may, gates it behind a human when it matters, reads back from the system of record to check it actually happened, and records tamper-evident evidence either way.
Attest never executes your action. Your tool does. That is why it works with any app and any framework on day one.
Your agent says it worked. Did it?
Two identical CRM writes, both reported success by the tool, both approved by a human:
$ attest ledger
#2 2026-09-19 10:16:46 someweirdcrm.create → leads ask approved unverified a09e7641db12
#1 2026-09-19 10:16:46 someweirdcrm.create → leads ask approved verified 77a6d99a60f6
The second one read back clean. The first did not, and the ledger says which field disagreed:
{ "level": "unverified", "matched": false,
"evidence": { "compared": 4, "exists": true, "failed": ["stage"],
"fields": { "stage": { "want": "qualified", "got": "new", "ok": false } } } }
A trace would have shown two green steps. That gap is the entire product.
Install
pip install attestlayer # Python
npm install attestlayer # TypeScript — byte-identical ledger format
import attest
@attest.action(system="gmail", verb="send", target="to")
def send_email(to, subject, body): ...
import { Attest } from "attestlayer";
const at = new Attest({ agent: "followup-agent@v3", readers: { gmail: process.env.GMAIL_TOKEN! } });
const sendEmail = at.wrap({ system: "gmail", verb: "send", target: "to" },
async ({ to, subject, body }) => gmail.send({ to, subject, body }));
That is the whole change. The first external send now pauses for a human, and the ledger row says
acknowledged, or verified once Attest can read back with the agent's own credentials
(Attest(readers={"gmail": service})). Nothing else in your code moves.
Verification is layered, and it never overstates
Every row states exactly how much was checked. A check that could not run is never dressed up as a pass.
| level | what it means |
|---|---|
verified |
read back from the system of record, and the fields matched |
verified-custom |
your own check ran and passed |
acknowledged |
the action was accepted, but no read-back could run here |
attested-only |
recorded with no verifier available for this action |
unverified |
a check ran and contradicted the claim |
Only a contradiction earns unverified. Missing credentials, a read-only scope or an unsupported verb
degrade to acknowledged, because "we could not check" and "it did not happen" are different facts.
Where it plugs in
| surface | how |
|---|---|
| Decorator / wrapper | @attest.action(...) · at.wrap(...) |
| LangGraph | tool node wrapper, gate as a graph interrupt |
| OpenAI Agents · Claude Agent SDK · CrewAI · DeerFlow | adapters in attest/ |
| MCP | zero-code proxy in front of any server, plus a verify server |
| HTTP gateway | point outbound traffic at it, no SDK at all |
| API only | POST the descriptor yourself |
Human confirmation lands where the team already works: Slack, the web inbox, a webhook, a LangGraph interrupt, or the console. Approvers can edit the parameters before approving, and the edit is recorded.
The record itself
Hash-chained ledger, SQLite locally and Postgres per organisation in the cloud. Signed checkpoints let
you prune old rows and still verify the chain. Optional Ed25519 signing, and external anchoring to a
file, a git repo or an HTTP endpoint. Exports: JSON, CSV, the IETF draft-sharif-agent-audit-trail
JSONL format, and an EU AI Act event-log pack.
Overhead is roughly a sixth of a millisecond per action, measured in benchmarks/ (published numbers).
Try it locally
python examples/unknown_app.py # an app Attest has never seen, L1 → L3
ATTEST_AUTO_APPROVE=1 python examples/langgraph_agent.py
cd deploy && cp .env.example .env && docker compose up # cloud API :8400 + dashboard :3400
Attest Cloud
The SDK is MIT and works standalone with a local ledger. Attest Cloud adds the shared ledger, the
confirm inbox, versioned org policy, agent keys and compliance exports. Your vendor tokens never reach
it: read-back happens in your process with your own credentials, and only hashes and previews are sent.
Self-host it from deploy/, or read DEPLOY.md.
Install channels
| where | how |
|---|---|
| PyPI | pip install attestlayer → attest, attest-mcp, attest-mcp-server, attest-gateway |
| npm | npm install attestlayer |
| MCP Registry | io.github.dev-prathap/attest (verify server) · io.github.dev-prathap/attest-proxy (zero-code proxy) |
| Smithery | attestlayer/attest |
| Claude Desktop | attest-<version>.mcpb on the latest release |
| Docker | ghcr.io/dev-prathap/attest-api · ghcr.io/dev-prathap/attest-dashboard |
Documentation
Full docs at dev-prathap.github.io/ATTEST — quickstart · verification levels · policy · read-back recipes · ledger & exports · hardening
Repository
| path | what |
|---|---|
| attest/ | Python SDK — descriptor, policy, ledger, verification ladder, gates, adapters, MCP proxy, CLI |
| packages/attest-ts/ | TypeScript SDK — same canonical hashes, fixture-tested against Python |
| cloud/ | Attest Cloud — FastAPI + Postgres: orgs, keys, policy versions, ledger, confirm inbox, exports |
| dashboard/ | Next.js dashboard — ledger drill-down, confirm inbox, policy and keys |
| examples/ | unknown app, LangGraph, OpenAI Agents, MCP config, API-only, cloud |
| deploy/ | Dockerfiles and compose |
| benchmarks/ | what the layer costs per action |
| docs/ | documentation site source, plus design notes |
pytest -q && (cd cloud && pytest -q) # 355 + 37 offline tests
pytest tests/live # 8 live suites; need real credentials, skipped without them
Contributing
Read-back recipes are the easiest place to start: each one teaches Attest how to confirm a write in one more app, and needs nothing but that app's read API. See CONTRIBUTING.md, and SECURITY.md for reporting a vulnerability.
Principles
- We never execute your action. Your tool executes; we decide, gate, verify and record.
- Coverage is universal. Verification depth is layered and stated honestly on every row.
- Open-source SDK under MIT. Paid cloud for the shared ledger, inbox, policy and exports.
Design notes
The thinking behind the product, kept in the open: vision · product · universal adapter · architecture · market · build plan · decisions · phase plan
Lineage
Attest's core mechanisms are extracted from two working codebases: DO (policy engine, read-back
verification pairs, evidence ledger) and DeerFlow (tool receipts, verification patterns, MCP and
chat-channel adapters), which run against real Gmail, Slack, HubSpot, Notion, Linear and Google
Workspace. Attest ships its own live suites for those systems in tests/live/; they
need real credentials and are skipped without them.
Attest MCP 질문
Attest MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --env 'GMAIL_TOKEN=<YOUR_GMAIL_TOKEN>' --env 'GOOGLE_TOKEN=<YOUR_GOOGLE_TOKEN>' --env 'GRAPH_TOKEN=<YOUR_GRAPH_TOKEN>' --env 'HUBSPOT_TOKEN=<YOUR_HUBSPOT_TOKEN>' --env 'LINEAR_API_KEY=<YOUR_LINEAR_API_KEY>' --env 'NOTION_TOKEN=<YOUR_NOTION_TOKEN>' --env 'SLACK_BOT_TOKEN=<YOUR_SLACK_BOT_TOKEN>' attest -- uvx attestlayer를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Attest MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
Attest가 제 agent의 동작을 실행하나요?
아니요, Attest는 사용자의 동작을 절대 실행하지 않습니다. 사용자의 도구가 직접 실행하므로 모든 앱과 프레임워크에서 작동할 수 있습니다.
Attest는 동작이 실제로 발생했음을 어떻게 검증하나요?
기록 시스템(system of record)으로부터 read-back을 수행하여 agent의 주장과 실제 결과를 대조합니다.
검증 레벨에는 어떤 것들이 있나요?
verified(read-back 및 일치), verified-custom(커스텀 체크 통과), acknowledged(수락되었으나 read-back 불가), attested-only(검증기 없이 기록됨), unverified(체크 결과가 주장과 상충됨) 레벨이 있습니다.