New
Apps 6,256Makers 6,235This week 13
Promote your app−30%
Clay Seal Identity screenshot 1
5views in
the last 30 days

Clay Seal Identity

Each agent run gets its own short-lived attested credential. A stolen token is not enough

Built with Cursor

by clayseal · Unclaimed · added Nov 3, 2026
no ratings0 comments

Clay Seal Identity

Clay Seal logo

Most agents share an API key. Steal the key, you are the agent. Clay Seal Identity gives each run its own short-lived attested credential, bound to a holder key. A stolen token is not enough. You can check who acted without calling home.

PyPI: clayseal-identity. Import: clayseal.identity. Receipts live in clayseal-receipts. Identity is not a sandbox by itself.

Attestation, federation, and deployment notes: docs/THREAT_MODEL.md, docs/DEPLOYMENT.md.

Install

pip install clayseal-identity

Hosted FastAPI service:

pip install "clayseal-identity[server]"
pip install "clayseal-identity[server,kms]"

From source:

git clone https://github.com/clayseal/clayseal-identity.git
cd clayseal-identity
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest backend/tests sdk/python/tests -q
python examples/01_quickstart.py

Or scripts/bootstrap.sh.

Quickstart

python examples/01_quickstart.py
python examples/05_inspect_token.py
python examples/02_capabilities.py
python examples/04_mcp_server.py   # needs the [mcp] extra

Protect an MCP server

from mcp.server.fastmcp import FastMCP
from clayseal.identity.integrations.mcp_server import (
    ClaySealTokenVerifier, ToolGuard, build_auth_settings,
)

mcp = FastMCP("tools", token_verifier=verifier, auth=auth_settings)

@mcp.tool()
@guard.require()
def search_web(query: str) -> str: ...

Details in docs/INTEGRATIONS.md. Framework on-ramps: integrations/.

Inspect a token

Inspection is for humans. It decodes claims without trusting the token. Use verify_offline(...) or session.validate() before enforcement.

from clayseal.identity import inspect_token

inspection = inspect_token(session.token)
print("\n".join(inspection.summary_lines()))

Hosted service

uvicorn clayseal.backend.main:app --reload

Production: TLS, pin issuer and audience, Postgres, Alembic before deploy, signing material in a KMS.

Docs

Contributing

See CONTRIBUTING.md and CODE_OF_CONDUCT.md. Security issues: SECURITY.md. Do not open a public issue.

License

MIT. See LICENSE.

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#ai-agents · #identity · #security