Back to search
permix
MCP serverGitHub
🔒 Permix is a lightweight, framework-agnostic, type-safe permissions management library for TypeScript applications on the client and server sides.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Checked today
Badge for your README
Markdown
[](/listings/letstri--permix)HTML
<a href="/listings/letstri--permix"><img src="/api/listings/letstri--permix/badge.svg" alt="findsafeskills safety rating" /></a>Install
i
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 43 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- # Permix
- [](https://npmjs.com/package/permix) 
- Permix is a lightweight, framework-agnostic, type-safe permissions management library for JavaScript applications on the client and server sides.
- ## Documentation
- You can find the documentation [here](https://permix.letstri.dev).
- ## Example
- To quick start you only need to write the following code:
- ```ts
- import { createPermix } from 'permix'
- const permix = createPermix<{
- post: ['read']
- }>()
- permix.setup({
- post: {
- read: true,
- },
- })
- permix.check('post.read') // true
- ```
- Permix has other powerful features, so here's check out the [docs](https://permix.letstri.dev/docs) or the [examples](https://github.com/letstri/permix/tree/main/examples) directory.
- ## AI agents
- Your agents know every permission in place: the whole permission model lives in one typed `createPermix<...>` schema, and any permission an agent invents, misspells, or forgets is a TypeScript error.
- - [Agent skills](permix/skills/README.md) ship inside the npm package — `npx skills add letstri/permix`, or copy them from `node_modules/permix/skills/` so they match your installed version.
- - LLM-friendly docs: [`llms.txt`](https://permix.letstri.dev/llms.txt), [`llms-full.txt`](https://permix.letstri.dev/llms-full.txt), and any docs page as Markdown by appending `.md` to its URL.
- - Prompts, `AGENTS.md` conventions, and gating in-app AI tools: [AI Agents guide](https://permix.letstri.dev/docs/agents).
- ## License
- MIT License - see the [LICENSE](https://github.com/letstri/permix/blob/main/LICENSE) file for details
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.