Skip to content
MCP server

Attest

Decide by policy, gate behind a human, verify by read-back, record a hash-chained ledger.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
4 days ago

About Attest

Attest is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add attest --env GMAIL_TOKEN='<GMAIL_TOKEN>' --env GOOGLE_TOKEN='<GOOGLE_TOKEN>' --env SLACK_BOT_TOKEN='<SLACK_BOT_TOKEN>' --env HUBSPOT_TOKEN='<HUBSPOT_TOKEN>' --env NOTION_TOKEN='<NOTION_TOKEN>' --env LINEAR_API_KEY='<LINEAR_API_KEY>' --env GRAPH_TOKEN='<GRAPH_TOKEN>' -- uvx attestlayer

Add to claude_desktop_config.json

{
  "mcpServers": {
    "attest": {
      "command": "uvx",
      "args": [
        "attestlayer"
      ],
      "env": {
        "GMAIL_TOKEN": "<GMAIL_TOKEN>",
        "GOOGLE_TOKEN": "<GOOGLE_TOKEN>",
        "SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
        "HUBSPOT_TOKEN": "<HUBSPOT_TOKEN>",
        "NOTION_TOKEN": "<NOTION_TOKEN>",
        "LINEAR_API_KEY": "<LINEAR_API_KEY>",
        "GRAPH_TOKEN": "<GRAPH_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "attest": {
      "command": "uvx",
      "args": [
        "attestlayer"
      ],
      "env": {
        "GMAIL_TOKEN": "<GMAIL_TOKEN>",
        "GOOGLE_TOKEN": "<GOOGLE_TOKEN>",
        "SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
        "HUBSPOT_TOKEN": "<HUBSPOT_TOKEN>",
        "NOTION_TOKEN": "<NOTION_TOKEN>",
        "LINEAR_API_KEY": "<LINEAR_API_KEY>",
        "GRAPH_TOKEN": "<GRAPH_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "attest": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "attestlayer"
      ],
      "env": {
        "GMAIL_TOKEN": "<GMAIL_TOKEN>",
        "GOOGLE_TOKEN": "<GOOGLE_TOKEN>",
        "SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
        "HUBSPOT_TOKEN": "<HUBSPOT_TOKEN>",
        "NOTION_TOKEN": "<NOTION_TOKEN>",
        "LINEAR_API_KEY": "<LINEAR_API_KEY>",
        "GRAPH_TOKEN": "<GRAPH_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "attest": {
      "command": "uvx",
      "args": [
        "attestlayer"
      ],
      "env": {
        "GMAIL_TOKEN": "<GMAIL_TOKEN>",
        "GOOGLE_TOKEN": "<GOOGLE_TOKEN>",
        "SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
        "HUBSPOT_TOKEN": "<HUBSPOT_TOKEN>",
        "NOTION_TOKEN": "<NOTION_TOKEN>",
        "LINEAR_API_KEY": "<LINEAR_API_KEY>",
        "GRAPH_TOKEN": "<GRAPH_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "attest": {
      "command": "uvx",
      "args": [
        "attestlayer"
      ],
      "env": {
        "GMAIL_TOKEN": "<GMAIL_TOKEN>",
        "GOOGLE_TOKEN": "<GOOGLE_TOKEN>",
        "SLACK_BOT_TOKEN": "<SLACK_BOT_TOKEN>",
        "HUBSPOT_TOKEN": "<HUBSPOT_TOKEN>",
        "NOTION_TOKEN": "<NOTION_TOKEN>",
        "LINEAR_API_KEY": "<LINEAR_API_KEY>",
        "GRAPH_TOKEN": "<GRAPH_TOKEN>"
      }
    }
  }
}

Configuration

  • ATTEST_POLICYPath to a policy YAML (defaults to ./attest.yaml or the built-in default)
  • ATTEST_LEDGERLedger SQLite path (default .attest/ledger.sqlite)
  • ATTEST_AUTO_APPROVESet to 1 to approve every confirm request (development only)
  • ATTEST_CONFIRM_TIMEOUTSeconds attest_confirm waits for a human (default 900)
  • GMAIL_TOKENGoogle OAuth access token with gmail.readonly — enables Gmail read-back
  • GOOGLE_TOKENGoogle OAuth access token — enables Calendar / Drive / Docs / Sheets read-back
  • SLACK_BOT_TOKENSlack bot token (xoxb-…) with channels:history, channels:read — enables Slack read-back
  • HUBSPOT_TOKENHubSpot private-app token — enables HubSpot read-back
  • NOTION_TOKENNotion integration token — enables Notion read-back
  • LINEAR_API_KEYLinear API key — enables Linear read-back
  • GRAPH_TOKENMicrosoft Graph token — enables Outlook / Teams read-back

Pricing

Open source

Prices change. Check dev-prathap.github.io before you buy.

Attest FAQ

Is Attest free?

Yes. Attest is open source, so you can use and self-host it for free.

How do I add Attest to Claude Code?

Run this command in your terminal: claude mcp add attest --env GMAIL_TOKEN='<GMAIL_TOKEN>' --env GOOGLE_TOKEN='<GOOGLE_TOKEN>' --env SLACK_BOT_TOKEN='<SLACK_BOT_TOKEN>' --env HUBSPOT_TOKEN='<HUBSPOT_TOKEN>' --env NOTION_TOKEN='<NOTION_TOKEN>' --env LINEAR_API_KEY='<LINEAR_API_KEY>' --env GRAPH_TOKEN='<GRAPH_TOKEN>' -- uvx attestlayer