New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@nacre.work/api

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nacre.work/api

Nacre REST API and authorization service

Source
npmnpm
Version
0.26.1
Version published
Weekly downloads
19
-86.99%
Maintainers
1
Weekly downloads
 
Created
Source

@nacre.work/api

The REST API and authorization service of Nacre — a self-hosted knowledge index where search returns exactly what the caller is permitted to see.

You probably want the container, not this package. A running installation is the API, the MCP server, a worker, a parser sidecar, Postgres, Qdrant and Redis; docker compose --profile minimal up brings all of it up from a clean clone. This package is on the registry because the MCP server depends on it and because an installation that assembles its own processes has to be able to install it.

What it serves

Documents and ingest (JSON, a URL, or multipart/form-data including PDF), hybrid search with metadata filters, layers and workspaces, grants, users, groups and service accounts, OAuth consent and connection ceilings, embedding providers and layer reindexing gated on recall, the access log as JSON, JSONL or CSV, and /health, /ready and /metrics.

The contract is normative and comes first: docs/openapi.yaml.

Two behaviours to know before writing a client against it

404, never 403, for anything invisible — same status and same wording for "no such object" and "not yours", so nobody can map an installation by probing it.

write does not imply read. admin implies both.

Also here

/ready refuses while the database schema is behind the image, which is what keeps a rolling upgrade from replacing working pods with pods that answer every request with an error. It stays ready when the schema is ahead, which is the normal middle of that same upgrade.

Apache 2.0. Configuration, the permission model and the operator documentation: github.com/nacre-work/nacre.

Keywords

nacre

FAQs

Package last updated on 25 Sep 2026

Related posts