Keyturn docsKeyturn Ray
Keyturn Ray and Keyturn Connect
Keyturn Connect (the program keyturn-mcp) is an MCP server: every Keyturn command becomes a tool an AI assistant such as Claude Code can call. Keyturn Ray is the AI administrator built on it, a set of admin skills that work the way a careful admin does. You ask in plain words; Ray reads, shows you a plan, and asks before it changes anything. Your one-time codes go only into Keyturn's own prompt. Ray never sees them.
Set it up
- Install Keyturn on your machine (the archives include
keyturn-mcp) and runkeyturn connect you@yourdomain, or let Ray do it for you on first use. - Enroll in the second factor on each server:
keyturn auth enroll, at your own terminal. - Add Connect to your MCP client. Leave out
--allow-changesfor a read-only Ray (reads and previews only).claude mcp add keyturn -- keyturn-mcp --allow-changes - Copy the Ray skill folders from the release's
skills/into~/.claude/skills/.
Connect needs the Connect or Ray add-on on each server's Pro or Site license. Without it, only keyturn_license_show answers, and plain keyturn keeps working.
How Ray works on every job
- Plan with reads and previews (
--dry-run). Nothing changes and no code is asked. - Show you the plan in plain words: what changes, where, how many codes, and what can be undone. Then ask "Shall I go ahead?"
- Approve. Keyturn asks you for your code, one per server, in your client's own prompt. Decline and nothing changes; Ray does not retry.
- Apply, then verify by reading back.
- Offer undo for what can be reversed, and say plainly what can't.
Ray in action
"Ray, can you run compact on all my domain servers?" Ray connects, checks the license on three servers, runs a dry run, and shows the plan. After "Yes, go ahead", it compacts each server with one code each and reports what was freed.



"Find databases where -Default- has Editor or higher, and fix them." Ray audits every database on every server, explains the risk, fixes it as one plan with one code per server, reads every ACL back, and names the run you can undo.


"Ray, why is mail stuck?" Ray reads mail.box, held and dead mail, the Router and the SMTP configuration on every server, explains the cause, and proposes the fix. Nothing changes until you say so.

Without the add-on, Ray says so plainly and shows the license.

Ray's skills
| Skill | What it does | Changes? |
|---|---|---|
keyturn-plans | The plan, approve, apply, verify and undo loop every other skill uses | Through plans |
onboard-user | Internet person or Notes user, groups, mail file, policy; a CSV or HR feed | Yes |
offboard-user | Deny access, group removal, lockouts, AdminP delete, mail-file handling | Yes, some irreversible |
acl-audit | Audit every ACL in the domain, then fix what you pick | The fixes only |
cert-renewal-sweep | Expiring certificates, then renew or request | Yes |
mail-flow-triage | mail.box, held and dead mail, the Router, tracking | Yes |
server-health | Health check, then remediation | Yes |
bulk-changes | One change on every database, mail file, server, person or group, by intent | Through plans |
cluster-repair | Cluster and replication repair | Yes |
compliance-report | A domain-wide posture report | No, reads only |
Things to ask Ray
- "Who is signed on to mail1 right now?"
- "Give me a health report for every server and tell me what needs attention."
- "Which certificates expire in the next 60 days?"
- "Onboard the three people in new-hires.csv into Sales."
- "Elena Petrova left today. Lock her out and remove her."
- "Set a 2 GB quota with a 1.8 GB warning on every mail file."
- "Why is replication failing between mail1 and mail2?"
- "Write me a compliance report I can send to our auditor."
The guardrails
- Ray never asks for a code or password in the chat. No tool has a code parameter, and codes are scrubbed from all output and logs.
- A destructive tool needs
confirmset to the exact target, which Ray gives only after you agree. - Ray can't run
console exec,doc importordb replace-design, can't enroll or mint tokens, and can't change your profiles. A plan holding one of those is refused. - Ray can't confirm a new server's certificate for you: Keyturn asks you directly.
- Every change is audited three times: on the server, in your keyturn audit log (
"via": "mcp"), and in Connect's own log.
HCL, HCL Domino, Domino, Notes, HCL Traveler, HCL Verse and HCL Nomad are trademarks or registered trademarks of HCL Technologies Limited. Microsoft, Windows, Excel, Power Query and Power BI are trademarks of the Microsoft group of companies. macOS is a trademark of Apple Inc. Linux is the registered trademark of Linus Torvalds. Let's Encrypt is a trademark of the Internet Security Research Group. Claude and Claude Code are trademarks of Anthropic, PBC. Other names may be trademarks of their respective owners. KernalWorks is not affiliated with, sponsored by, or endorsed by any of them.