
KeyZen: an SDK and MCP for AI agents
2026-12-02 · KeyZen
Since the post in August KeyZen got a lot more: Stripe subscription licences with renewals and plan changes, a portal where buyers manage their own machines through an email login link, docs with real screenshots, and KeyZen is now open for other developers to sign up, not only for our own apps.
At the end of November we spent a few days on security. Each product has its own ES256 signing key, OTPs and tokens are only stored as hashes, API keys have scopes, expiry dates and IP limits, and everything goes into an audit log. The final check ran 332 unit tests, 41 outside checks on production and 21 end-to-end flows, all passing, with no Critical or High issue left. After that the whole API moved into 1 v1 contract that generates the router, the OpenAPI file and the API docs, so the docs always match the code.
The newest part is for AI agents. We wrote a TypeScript SDK, @keyzen/sdk, for apps to activate and check licences and verify tokens offline, plus /llms.txt and a skill so an agent can read how to add KeyZen to an app. KeyZen also has an MCP server at keyzen.dev/mcp with 18 tools. Connect it to Claude Code, Cursor or Codex and the agent can look up licences, create them and reset machines.
Agents work on real data here, so there are a few locks. An agent only sees the tools its API key allows, licence keys are always masked, seeing a full key needs its own scope and is written to the audit log, and delete commands only run if the agent sends back the exact id of what it's deleting.
Right now the SDK is not on npm yet, and Lemon Squeezy and Polar payments aren't done. The Mac version of CleanZen will be the next app on KeyZen.
#keyzen#mcp#security#ai-agents
Comments
Loading…