mpak
CLAUDE.md14 starsChanged 4 months agoApache-2.0Archived repositoryView on GitHub
mpak is an open-source MCP bundle registry: search, download, publish, and scan MCPB bundles. It does one thing — package MCP servers as portable, security-scanned MCPB bundles. Always run before considering a task done: It must pass with zero errors. Warnings are acceptable. For a single package, use turbo filters: The scanner lives in apps/scanner/ and has its own CLAUDE.md. It uses Python with uv for dependency management and ruff for linting.
In this repositoryOne other file it gives its agents.
- verify-cliSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Scoped packages: All package names are scoped (@scope/name)
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
mpak
mpak is an open-source MCP bundle registry: search, download, publish, and scan MCPB bundles. It does one thing — package MCP servers as portable, security-scanned MCPB bundles.
Monorepo Structure
apps/
registry/ # Fastify API (Node, Prisma, S3, Clerk auth)
web/ # React SPA (Vite, Tailwind, React Router)
scanner/ # Security scanner (Python, runs as K8s Jobs)
docs/ # Documentation site (Astro/Starlight)
packages/
cli/ # mpak CLI
schemas/ # Shared Zod schemas
sdk-typescript/ # TypeScript SDK
sdk-python/ # Python SDK (OpenAPI-generated types)Verification
Always run before considering a task done:
pnpm verify # CI-equivalent gate: typecheck, lint, format check, and testsIt must pass with zero errors. Warnings are acceptable.
For a single package, use turbo filters:
pnpm --filter @nimblebrain/mpak-web typecheck
pnpm --filter @nimblebrain/mpak-registry testKey Conventions
- API URL: In the browser the web app calls the API same-origin, so the address is empty. Server-side loaders have no origin to be relative to and read
MPAK_API_URLat request time (seeapps/web/src/lib/siteConfig.ts). It is deliberately not aVITE_variable: those are inlined at build time, so a value set on a running container would never be seen. - Scoped packages: All package names are scoped (
@scope/name) - Prisma: Registry uses Prisma ORM. Run
npm run db:generateinapps/registry/after schema changes. - Rendering: Routes are server-rendered (
ssr: trueinapps/web/react-router.config.ts), so crawlers get real HTML on first byte.
Scanner (Python)
The scanner lives in apps/scanner/ and has its own CLAUDE.md. It uses Python with uv for dependency management and ruff for linting.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

