Fournit un proxy sans code pour les MCP servers qui implémente l'application de politiques, le contrôle par intervention humaine et des registres de vérification infalsifiables.
Aussi connu sous dev-prathap/ATTEST, attest-proxy, attestlayer
- Étoiles
- 1
- Outils
- —
- Téléchargements, 30 jours
- 206
- Dernière version
- 0.1.0
- Dernier commit
- 24 sept. 2026
- Licence
- MIT
Qu'est-ce que Attest proxy MCP ?
Attest proxy est un serveur MCP. Fournit un proxy sans code pour les MCP servers qui implémente l'application de politiques, le contrôle par intervention humaine et des registres de vérification infalsifiables.
Résumé généré à partir du README du projet
À propos du MCP server Attest proxy
Le proxy Attest offre une solution sans code pour sécuriser les MCP servers grâce à l'application de politiques et au contrôle par intervention humaine. Il agit comme une couche intermédiaire qui décide si une action est autorisée, marque une pause pour une approbation humaine si nécessaire, et utilise la vérification par lecture pour s'assurer que le succès rapporté par un agent correspond à l'état réel du système de référence. Cette configuration permet aux développeurs d'ajouter une couche de responsabilité aux agents IA sans réécrire la logique de leurs outils existants.
Les utilisateurs peuvent implémenter cela via les SDK Python ou TypeScript ou en utilisant le proxy devant n'importe quel MCP server. Le système maintient un registre à chaînage de hashs infalsifiable qui enregistre chaque action avec des niveaux de vérification spécifiques, tels que verified, acknowledged ou unverified. Bien que le SDK soit open-source sous licence MIT, Attest Cloud propose une version managée avec des registres partagés, des politiques organisationnelles et des exports de conformité. Le proxy garantit que les tokens de fournisseurs sensibles restent au sein de votre processus, car seuls les hashs et les aperçus sont envoyés vers le cloud.
Ce que vous pouvez faire avec
- 1Imposer une approbation humaine pour les actions sensiblesUn développeur peut configurer le proxy pour mettre en pause l'exécution d'un agent et attendre qu'un humain approuve ou modifie les paramètres avant qu'une commande ne soit envoyée.
- 2Vérifier les actions de l'agent par rapport aux données réellesVous pouvez utiliser le système pour vérifier si un agent a réellement mis à jour un CRM correctement en relisant les données directement depuis la source.
- 3Auditer le comportement de l'agent avec un registre sécuriséMaintenez un enregistrement infalsifiable de toutes les activités de l'agent pour détecter les cas où un outil signale un succès alors que le système sous-jacent n'a pas été mis à jour.
Extrait du README du projet. Chaque cas d'utilisation est vérifié par rapport à une citation du document.
Comment installer Attest proxy MCP
Formats vérifiés le 10 nov. 2026Ajouter à CursorAjouter à GooseInstaller Attest proxy MCP dans Claude Code
$ claude mcp add --env 'SLACK_BOT_TOKEN=<YOUR_SLACK_BOT_TOKEN>' attest-proxy -- uvx attestlayerInstaller Attest proxy MCP dans Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"attest-proxy": {
"command": "uvx",
"args": [
"attestlayer"
],
"env": {
"SLACK_BOT_TOKEN": "<YOUR_SLACK_BOT_TOKEN>"
}
}
}
}Installer Attest proxy MCP dans VS Code
.vscode/mcp.json
{
"servers": {
"attest-proxy": {
"type": "stdio",
"command": "uvx",
"args": [
"attestlayer"
],
"env": {
"SLACK_BOT_TOKEN": "<YOUR_SLACK_BOT_TOKEN>"
}
}
}
}Installer Attest proxy MCP dans VS Code CLI
$ code --add-mcp '{"name":"attest-proxy","type":"stdio","command":"uvx","args":["attestlayer"],"env":{"SLACK_BOT_TOKEN":"<YOUR_SLACK_BOT_TOKEN>"}}'Installer Attest proxy MCP dans Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"attest-proxy": {
"command": "uvx",
"args": [
"attestlayer"
],
"env": {
"SLACK_BOT_TOKEN": "<YOUR_SLACK_BOT_TOKEN>"
}
}
}
}Installer Attest proxy MCP dans Codex
$ codex mcp add attest-proxy --env 'SLACK_BOT_TOKEN=<YOUR_SLACK_BOT_TOKEN>' -- uvx attestlayerInstaller Attest proxy MCP dans Codex config.toml
~/.codex/config.toml
[mcp_servers.attest-proxy] command = "uvx" args = ["attestlayer"] [mcp_servers.attest-proxy.env] SLACK_BOT_TOKEN = "<YOUR_SLACK_BOT_TOKEN>"
Installer Attest proxy MCP dans Gemini CLI
$ gemini mcp add -s user -e 'SLACK_BOT_TOKEN=<YOUR_SLACK_BOT_TOKEN>' attest-proxy uvx -- attestlayerInstaller Attest proxy MCP dans Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"attest-proxy": {
"command": "uvx",
"args": [
"attestlayer"
],
"env": {
"SLACK_BOT_TOKEN": "<YOUR_SLACK_BOT_TOKEN>"
}
}
}
}Configuration
SLACK_BOT_TOKENSecretSlack bot token for confirm cards
ATTEST_AUTO_APPROVEATTEST_INBOX_URLURL of the confirm inbox (attest serve) linked from Slack cards
ATTEST_LEDGERLedger SQLite path (default .attest/ledger.sqlite)
ATTEST_POLICYPath to a policy YAML
ATTEST_SLACK_CHANNELSlack channel for confirm cards
| Nom | Description | Type |
|---|---|---|
| SLACK_BOT_TOKEN | Slack bot token for confirm cards | Secret |
| ATTEST_AUTO_APPROVE | — | |
| ATTEST_INBOX_URL | URL of the confirm inbox (attest serve) linked from Slack cards | |
| ATTEST_LEDGER | Ledger SQLite path (default .attest/ledger.sqlite) | |
| ATTEST_POLICY | Path to a policy YAML | |
| ATTEST_SLACK_CHANNEL | Slack channel for confirm cards |
Vérifications automatisées
Exécuté le 14 nov. 2026Rapport complet →A passé nos vérifications automatisées. Il ne s'agit pas d'un audit de sécurité : lisez le code et donnez au serveur l'accès le plus restreint dont il a besoin. Fonctionnement des vérifications
- Dépôt source lié et accessibledev-prathap/attest is public and reachablegithub.com/dev-prathap/attest ↗Réussi
- Le nom du package correspond au dépôt sourceattestlayer names dev-prathap/attest as sourcepypi.org/project/attestlayer/ ↗Réussi
- Provenance du build (attestation Sigstore)No build attestation published for this releaseNon vérifié
- Licence open source (OSI)MITspdx.org/licenses/MIT.html ↗Réussi
- Commit ou version publiée au cours de l'année écouléeLast commit or release 2026-09-24github.com/dev-prathap/attest ↗Réussi
- OpenSSF ScorecardNon vérifié
- Nom du package non proche d'un package populaireNo popular package one edit away from attestlayerRéussi
- Aucun avis critique dans le package ou ses dépendances7 resolved dependencies checked; no critical advisoryosv.dev ↗Réussi
- Aucune instruction cachée destinée au modèle0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersRéussi
- Les outils destructifs sont étiquetésNon vérifié
- Le point de terminaison distant répond à la poignée de main MCPNon vérifié
README
Voir sur GitHubAttest — 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.
Questions sur Attest proxy MCP
Comment ajouter Attest proxy MCP à Claude Code ?
Exécutez claude mcp add --env 'SLACK_BOT_TOKEN=<YOUR_SLACK_BOT_TOKEN>' attest-proxy -- uvx attestlayer dans votre terminal. Ajoutez --scope user pour le rendre disponible dans tous les projets.
Comment ajouter Attest proxy MCP à Cursor ?
Ouvrez ~/.cursor/mcp.json et ajoutez le serveur sous mcpServers, avec la configuration Cursor indiquée dans la section d'installation ci-dessus.
Est-ce qu'Attest exécute des actions pour mon agent ?
Non, Attest n'exécute jamais l'action lui-même ; votre propre outil ou agent effectue l'exécution tandis qu'Attest gère la décision, le contrôle et la vérification.
Comment Attest vérifie-t-il qu'une action a réellement eu lieu ?
Il utilise un mécanisme de lecture (read-back) depuis le système de référence pour vérifier si les champs dans le système correspondent à l'action prévue.
Quels sont les différents niveaux de vérification ?
Les niveaux de vérification incluent verified (lu et correspond), verified-custom (contrôle personnalisé réussi), acknowledged (action acceptée mais lecture impossible), attested-only (enregistré sans vérificateur) et unverified (le contrôle contredit l'affirmation).