← Back to DAGDA | Support | Source: https://github.com/unkeyed/keyring
Skip to content
unkeyedPublic

About

Everyone you deal with, kept in one place

Topics

Resources

Contributing

Stars

19 stars

Watchers

0 watching

Forks

Repository files navigation

Keyring: everyone you deal with, kept in one place. A feed of new sign-ups, each enriched with a job title.

Keyring

Everyone you deal with, kept in one place.
Website · Docs · Deploy on Unkey

Keyring is an open source CRM you run yourself. Every person who signs up through your auth provider becomes a contact with a job title and a company, ready for your team in the web UI and for your agents over MCP and REST.

Why Keyring

  • Sign-ups arrive on their own. Connect Clerk, WorkOS AuthKit, Better Auth, Supabase Auth, Auth0 or Stytch once, or post sign-ups from any backend. Retries and duplicates land once.
  • Every contact comes with context. Keyring looks up job titles, locations, company logos, sizes and industries on context.dev. Nothing a person edits is ever overwritten.
  • Built for agents. Claude Code, Cursor and other MCP clients sign in as you in the browser. Backends use scoped API keys that can be read-only and expire.
  • MIT licensed. Yours to run, change and keep. One container and a Postgres database, on Unkey or any host.
  • Secure by default. Passkey sign-in, no default password, secrets encrypted at rest.

Get started

Deploy on Unkey with one prompt

The fastest way to a running Keyring. Add Unkey's MCP server to your coding agent:

claude mcp add --transport http unkey https://mcp.unkey.com

Then copy the prompt from kyring.dev into the agent. It asks for your Postgres URL, deploys Keyring to Unkey, and gives you the link to create your account. To do it by hand, follow Deploy on Unkey.

Run it locally with Docker

You need Docker with Compose v2.

git clone https://github.com/unkeyed/keyring.git
cd keyring
echo "ENCRYPTION_KEY=$(openssl rand -base64 32)" >> .env
docker compose up -d --build --wait
docker compose logs app | grep -A2 'Open this link'

Open the link Keyring prints and register a passkey. Keep .env: the ENCRYPTION_KEY in it protects the secrets Keyring stores. To run it on your own server, see Self-host Keyring.

Connect your auth provider

Open Settings > Providers in Keyring, pick your provider, and paste the webhook URL it shows into your provider. Sign up a test user and they appear under Contacts within seconds.

Clerk · WorkOS AuthKit · Better Auth · Supabase Auth · Auth0 · Stytch

Using something else? Post each sign-up from your backend with an API key:

curl -X POST https://<your-keyring>/v1/signups \
  -H "Authorization: Bearer $KEYRING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "ada@example.com", "name": "Ada Lovelace"}'

A provider cannot reach localhost. When running Keyring on your laptop, put a tunnel such as cloudflared tunnel --url http://localhost:8080 in front of it and use the tunnel's URL.

Connect your agents

claude mcp add --transport http keyring https://<your-keyring>/mcp

There is no key to copy: the first time, your browser opens, you approve the agent, and it acts as you. It can search, update, tag and merge contacts, add notes, read the timeline and queue enrichment. Agents covers Cursor, Claude Desktop and the REST API.

Documentation

Guide What it covers
Self-host Run Keyring with Docker Compose or on any container host
Deploy on Unkey Every step of an Unkey deployment
Configuration Every environment variable
Sign-in Passkeys, Google, GitHub, OIDC, two-factor and recovery
Agents MCP clients, the REST API and API keys

Contributing

CONTRIBUTING.md explains how to run Keyring from source, run the tests, and add an auth provider.

License

MIT. Provided by Unkey.

About

Everyone you deal with, kept in one place

Topics

Resources

Contributing

Stars

19 stars

Watchers

0 watching

Forks

Contributors

Languages