Atlas / MCP servers / felipesauer / mnema

mnemaBLOCK

mcp/felipesauer/mnema

Signed, append-only decision records for AI coding agents: an MCP server and CLI that open Claude Code, Codex, Copilot CLI, Gemini CLI, OpenCode, VS Code and Cursor sessions with your team's decisions, hold the edits a rule governs, and let anyone verify the record offline. Tamper-evident, in git.

Verdict
BLOCK
Grade
F
Trust score
41 /100
Exposed tools
4 4r · 0w · 0d
Transport
stdio
License
Apache-2.0
Stars
4
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Your decisions, handed to your agents' sessions and held at the edits they govern — append-only and signed in the repository, and checkable by anyone.

mnema is a command line and an MCP server that keep the calls behind your AI coding agents' work — decisions, the rules they become, and notes — as signed, append-only facts in the repository. A session in Claude Code, Codex, GitHub Copilot CLI, Gemini CLI, OpenCode, VS Code or Cursor's command-line agent opens with the ones in force, a rule can refuse or pause the write it governs where the host allows, and mnema verify checks the record with no key and no network.

Read from source at commit 123a152a7695OBSERVED · 2026-10-10
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add vscode --env ACTIONS_ID_TOKEN_REQUEST_TOKEN=${ACTIONS_ID_TOKEN_REQUEST_TOKEN} --env ACTIONS_ID_TOKEN_REQUEST_URL=${ACTIONS_ID_TOKEN_REQUEST_URL} --env MNEMA_KEY_PASSPHRASE=${MNEMA_KEY_PASSPHRASE} -- npx -y @mnema/[email protected]
claude-desktop
{
  "mcpServers": {
    "vscode": {
      "command": "npx",
      "args": [
        "-y",
        "@mnema/[email protected]"
      ],
      "env": {
        "ACTIONS_ID_TOKEN_REQUEST_TOKEN": "${ACTIONS_ID_TOKEN_REQUEST_TOKEN}",
        "ACTIONS_ID_TOKEN_REQUEST_URL": "${ACTIONS_ID_TOKEN_REQUEST_URL}",
        "MNEMA_KEY_PASSPHRASE": "${MNEMA_KEY_PASSPHRASE}"
      }
    }
  }
}
03

Exposed tools (4)

4 read · 0 write · 0 destructive.

ToolRiskDescription
a-patternreadA pattern.
cutread${atTheEdge}x
handoffreadWhat to do.
okreadDoes a thing.
04

Trust audit

BLOCKgrade F · trust 41/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (3 observation(s))
Shell
declared (2 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHPrompt injection · prompt.zero_width · CWE-94, CWE-1427
packages/chain/conformance/vectors/rfc8785/rfc8785.txt:1
Why it matters. invisible characters in instruction text
Fix. strip non-printing characters
MEDIUMInventory / provenance · inv.binary · CWE-1104
packages/chain/conformance/vectors/jsontestsuite/test_parsing/i_string_UTF-16LE_with_BOM.json
i_string_UTF-16LE_with_BOM.json
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
packages/chain/conformance/vectors/jsontestsuite/test_parsing/i_string_utf16BE_no_BOM.json
i_string_utf16BE_no_BOM.json
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
packages/chain/conformance/vectors/jsontestsuite/test_parsing/i_string_utf16LE_no_BOM.json
i_string_utf16LE_no_BOM.json
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
packages/chain/conformance/vectors/jsontestsuite/test_parsing/n_multidigit_number_then_00.json
n_multidigit_number_then_00.json
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
packages/chain/conformance/vectors/jsontestsuite/test_parsing/n_string_backslash_00.json
n_string_backslash_00.json
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
packages/chain/src/chain/witness-vectors.ts:27
'AE9wZW5UaW1lc3RhbXBzAABQcm9vZgC/ieLohOiSlAEI+EOWRicTpf0f79OgQ83bLu2BwA9f6thvBHS/qlUcQuL/8BBe16oQG8Z0zlfaq0z+pgzWCPAIVAI3dmnxCOYI8BBNI+IG57DaDO6Dp2o0vlrUCPAgOcbOL9i6G6KwKZ20NPaB7xC34ZB/6xA5fRxHxrxvcAc
MEDIUMObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
packages/code/src/sigstore/trusted-root.ts:55
'MIIB+DCCAX6gAwIBAgITNVkDZoCiofPDsy7dfm6geLbuhzAKBggqhkjOPQQDAzAqMRUwEwYDVQQKEwxzaWdzdG9yZS5kZXYxETAPBgNVBAMTCHNpZ3N0b3JlMB4XDTIxMDMwNzAzMjAyOVoXDTMxMDIyMzAzMjAyOVowKjEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MRE
MEDIUMObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
packages/code/src/sigstore/trusted-root.ts:74
'MIICGjCCAaGgAwIBAgIUALnViVfnU0brJasmRkHrn/UnfaQwCgYIKoZIzj0EAwMwKjEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MREwDwYDVQQDEwhzaWdzdG9yZTAeFw0yMjA0MTMyMDA2MTVaFw0zMTEwMDUxMzU2NThaMDcxFTATBgNVBAoTDHNpZ3N0b3JlLmRldjE
MEDIUMObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
packages/code/src/sigstore/trusted-root.ts:78
'MIIB9zCCAXygAwIBAgIUALZNAPFdxHPwjeDloDwyYChAO/4wCgYIKoZIzj0EAwMwKjEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MREwDwYDVQQDEwhzaWdzdG9yZTAeFw0yMTEwMDcxMzU2NTlaFw0zMTEwMDUxMzU2NThaMCoxFTATBgNVBAoTDHNpZ3N0b3JlLmRldjE
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
packages/chain/conformance/vectors/jsontestsuite/test_parsing/i_structure_UTF-8_BOM_empty_object.json:1
{}
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
packages/chain/conformance/vectors/jsontestsuite/test_parsing/n_structure_U+2060_word_joined.json:1
[]
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
packages/chain/conformance/vectors/jsontestsuite/test_parsing/n_structure_UTF8_BOM_no_data.json:1
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
packages/chain/conformance/vectors/jsontestsuite/test_parsing/n_structure_whitespace_U+2060_word_joiner.json:1
[]
MEDIUMHard-coded secrets · secret.anthropic · CWE-798, CWE-321
packages/code/tests/host-contract/support/the-copilot.ts:37
const KEY = 'sk-ant-api03-stand-in-0000000000000000000000000000';
MEDIUMHard-coded secrets · secret.anthropic · CWE-798, CWE-321
packages/code/tests/host-contract/support/the-host.ts:50
const KEY = 'sk-ant-api03-stand-in-0000000000000000000000000000';
MEDIUMHard-coded secrets · secret.anthropic · CWE-798, CWE-321
packages/code/tests/host-contract/support/the-opencode.ts:37
const KEY = 'sk-ant-api03-stand-in-0000000000000000000000000000';
MEDIUMHard-coded secrets · secret.anthropic · CWE-798, CWE-321
packages/core/src/adr/scan.test.ts:114
'\n## Considered Options\n\nwe tried sk-ant-api03-ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-abcdefgh\n',
MEDIUMHard-coded secrets · secret.anthropic · CWE-798, CWE-321
packages/core/src/content/secrets.test.ts:403
text: 'sk-ant-eater-does-not-eat-any-ants',
MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
packages/code/tests/a-refusal-leaves-nothing.test.ts:324
const SECRET = 'AKIAABCDEFGHIJKLMNOP';
MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
packages/code/tests/what-a-session-records-on-its-own-it-reports.test.ts:38
const SECRET = 'AKIAABCDEFGHIJKLMNOP';
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
packages/context/src/intelligence/exposure.test.ts:103
rationale: 'because postgres://u:s3cretpass@h/d',
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
packages/core/src/content/every-door.test.ts:74
const PASSWORD_URL = 'postgres://svc:[email protected]/app';
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
packages/core/src/content/every-field.test.ts:120
const PASSWORD_URL = 'postgres://svc:[email protected]/app';
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
packages/core/src/content/personal.test.ts:30
'a URL with a user and a password': 'at postgres://svc:[email protected]:5432/app',

Gates applied: no_behavioural_pass.

Audited 2026-10-10 · audit v0.4.1 · source sha 123a152a7695full audit observations/trust-audit/mcp-server/felipesauer__mnema.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-10123a152a7695BLOCKF41first audit
06

Questions

What is the mnema MCP server?

Signed, append-only decision records for AI coding agents: an MCP server and CLI that open Claude Code, Codex, Copilot CLI, Gemini CLI, OpenCode, VS Code and Cursor sessions with your team's decisions, hold the edits a rule governs, and let anyone verify the record offline. Tamper-evident, in git.

What tools does mnema expose?

4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is mnema safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (41/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does mnema need?

It reads ACTIONS_ID_TOKEN_REQUEST_TOKEN, ACTIONS_ID_TOKEN_REQUEST_URL and MNEMA_KEY_PASSPHRASE from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does mnema run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @mnema/vscode at 0.1.0-beta.

How current is this page?

The grade is for one exact copy of the source (123a152a7695), read on 2026-10-10. The repository is watched and re-audited when it changes.

Advertisement