# Attestix [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/VibeTensor/attestix  
**GitHub Stars:** 622  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/attestix

## Description
AI agent identity, W3C credentials, EU AI Act compliance. 47 MCP tools.

## Tools
Capabilities this server exposes over MCP:

- **create_agent_identity** — Create a UAIT from any identity source
- **resolve_identity** — Auto-detect token type and register
- **verify_identity** — Check existence, revocation, expiry, signature
- **translate_identity** — Convert to A2A, DID Document, OAuth, or summary
- **list_identities** — List UAITs with protocol/revocation filters
- **get_identity** — Get full UAIT details
- **revoke_identity** — Mark a UAIT as revoked
- **purge_agent_data** — Remove locally managed records and parseable local backups; external copies need separate handling
- **parse_agent_card** — Parse an A2A Agent Card JSON
- **generate_agent_card** — Generate agent.json for hosting
- **discover_agent** — Fetch `/.well-known/agent.json` from a URL
- **create_did_key** — Generate ephemeral `did:key` with Ed25519 keypair
- **create_did_web** — Generate `did:web` DID Document for self-hosting
- **resolve_did** — Resolve any DID to its DID Document
- **create_delegation** — UCAN-style capability delegation token
- **verify_delegation** — Verify JWT signature, expiry, structure
- **list_delegations** — List delegations by agent and role
- **revoke_delegation** — Revoke a delegation token
- **record_interaction** — Record outcome and update trust score
- **get_reputation** — Get score with category breakdown
- **query_reputation** — Search agents by reputation criteria
- **create_compliance_profile** — Create EU AI Act profile with risk categorization
- **get_compliance_profile** — Retrieve full compliance profile
- **update_compliance_profile** — Update an existing compliance profile
- **get_compliance_status** — Gap analysis: completed vs missing requirements
- **record_conformity_assessment** — Record self or third-party assessment (Article 43)
- **generate_declaration_of_conformity** — Generate Annex V declaration + auto-issue VC
- **list_compliance_profiles** — Filter by risk category and compliance status
- **issue_credential** — Issue W3C VC with Ed25519Signature2020 proof
- **verify_credential** — Check signature, expiry, revocation
- **verify_credential_external** — Verify any VC JSON from an external source
- **revoke_credential** — Revoke a Verifiable Credential
- **get_credential** — Get full VC details
- **list_credentials** — Filter by agent, type, validity
- **create_verifiable_presentation** — Bundle VCs into a signed VP for a verifier
- **verify_presentation** — Verify a VP with embedded credentials
- **record_training_data** — Record training data source (Article 10)
- **record_model_lineage** — Record model chain and metrics (Article 11)
- **log_action** — Log agent action with hash-chained audit trail (Article 12)
- **get_provenance** — Get full provenance record
- **get_audit_trail** — Query audit log with filters
- **anchor_identity** — Anchor identity hash to Base L2 via EAS
- **anchor_credential** — Anchor credential hash to Base L2 via EAS
- **anchor_audit_batch** — Merkle batch anchor of audit log entries
- **verify_anchor** — Verify an on-chain anchor against local data
- **get_anchor_status** — Get anchoring status for an artifact
- **estimate_anchor_cost** — Estimate gas cost for anchoring

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "attestix": {
    "command": "uvx",
    "args": ["attestix"],
    "env": {
      "ATTESTIX_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `ATTESTIX_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Attestix does

Attestix provides MCP-accessible workflows for establishing and checking AI-agent identity. It can create UAIT records from identity sources, detect and register supported token types, retrieve or filter identities, and translate identity data into A2A, DID Document, OAuth, or summary forms. Identity records can also be revoked or purged from locally managed storage.

The identity layer covers both `did:key` and `did:web`. Attestix can generate an ephemeral Ed25519-backed `did:key`, prepare a `did:web` document for self-hosting, and resolve DIDs to their DID Documents. A2A interoperability is supported through Agent Card parsing, generation, and discovery from `/.well-known/agent.json`.

Signed evidence is handled through W3C Verifiable Credentials using an Ed25519Signature2020 proof. The tool set includes credential issuance and checks for signature, expiration, and revocation. Delegation workflows create and verify UCAN-style capability tokens, list them by agent and role, and support revocation.

## How it works

MCP calls operate on locally managed identity, delegation, reputation, credential, and compliance records. Identity verification checks existence, revocation, expiry, and signature-related properties. Credential verification binds the stated issuer to the supported proof controller; ambiguous NFC-normalized keys fail before signing or verification.

Reputation data is updated from recorded interaction outcomes. Developers can retrieve category breakdowns or search for agents that meet reputation criteria. Compliance profiles represent EU AI Act risk categorization and recorded documentation. Status tools report completed and missing workflow requirements, while conformity assessments and generated declarations provide records for review.

Generated declarations are drafts for provider review. A recorded workflow completion state is not the same as a legal conformity assessment, and cryptographic validity does not by itself establish issuer trust, authorization, revocation policy, replay protection, or legal compliance.

## Setup and configuration

The Python package requires Python 3.11 or later. Install the package from PyPI, then configure the MCP server according to the host client’s MCP configuration. The project also exposes a CLI, REST API, and web dashboard, but those are separate access paths from the MCP tools.

The REST API requires `ATTESTIX_API_KEY` by default and can be started with Uvicorn. Its default server is single-tenant and rejects non-default tenant headers; a shared API key is not cross-tenant authorization. Local deployments should keep the Attestix data directory and signing key private, use the shared storage lock for JSON updates, and test backup restoration and signer or backend isolation before production use.

## Tools and capabilities

- Create, resolve, inspect, list, translate, verify, revoke, and purge agent identities.
- Parse, generate, and discover A2A Agent Cards.
- Create and resolve `did:key` and `did:web` identifiers.
- Issue and verify W3C Verifiable Credentials with Ed25519Signature2020 proofs.
- Create, verify, list, and revoke UCAN-style delegations.
- Record interactions, calculate reputation details, and query agents by reputation criteria.
- Create, update, inspect, and filter EU AI Act compliance profiles.
- Record conformity assessments and generate Annex V declaration drafts with an automatically issued credential.

## Limitations and notes

Attestix is a pre-1.0 open-source cryptographic toolkit and has not received an independent third-party security audit. Treat it accordingly when choosing deployment controls. Local purge cannot remove external replicas, remote logs, previously shared credentials, or third-party backups.

Presentation verification requires the caller’s expected challenge and domain; a valid signature alone does not prevent replay. Generated declarations and compliance status support evidence organization but do not replace the applicable assessment process or establish legal conformity. The canonical-JSON verification profile differs from strict RFC 8785, and language-specific verifiers can differ in trust-input and delegation-chain checks.

The supported Python namespace is `attestix.*`; older flat imports remain available through deprecation shims and may be removed later. Review the selected package release and verifier implementation before deployment, particularly when using another language implementation.

_Full upstream README: https://allmcps.com/mcp/attestix/readme_

