Nacre
v0.41.0Self-hosted permission-aware context layer.
Values you need
| Variable | What it is | |
|---|---|---|
NACRE_SERVICE_KEY | required secret | Service-account key for STDIO mode. The server also needs the deployment's full environment (database and backend configuration) - see docs/mcp.md; the key alone is not enough to start it. |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add nacre -e 'NACRE_SERVICE_KEY=<NACRE_SERVICE_KEY>' -- npx -y --package=@nacre.work/mcp@0.41.0 nacre-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"nacre": {
"args": [
"-y",
"--package=@nacre.work/mcp@0.41.0",
"nacre-mcp"
],
"command": "npx",
"env": {
"NACRE_SERVICE_KEY": "<NACRE_SERVICE_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"nacre": {
"args": [
"-y",
"--package=@nacre.work/mcp@0.41.0",
"nacre-mcp"
],
"command": "npx",
"env": {
"NACRE_SERVICE_KEY": "<NACRE_SERVICE_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "NACRE_SERVICE_KEY",
"id": "nacre-service-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"nacre": {
"args": [
"-y",
"--package=@nacre.work/mcp@0.41.0",
"nacre-mcp"
],
"command": "npx",
"env": {
"NACRE_SERVICE_KEY": "${input:nacre-service-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.nacre]
command = "npx"
args = ["-y", "--package=@nacre.work/mcp@0.41.0", "nacre-mcp"]
env = { "NACRE_SERVICE_KEY" = "<NACRE_SERVICE_KEY>" }For AI agents
- Ask the user for: NACRE_SERVICE_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json