mcp-memory-server: Instructions file for Codex

AGENTS.md

mcp-memory-server AGENTS.md is an instructions file for Codex, OpenCode from mnemoverse/mcp-memory-server. It costs 909 tokens per session, scanned A, original, MIT.

Repository instructions for developers working on an MCP memory server. MCP is a standard for letting an AI tool connect to external services, and this server provides a memory connection.

In plain words
What is it for?
It helps maintain the server, choose a hosted or local setup, install dependencies, run tests and type checks, and verify generated tools and configuration files.
Why use it?
It explains how to connect the service, build the project, run tests, and check that generated configuration files match their sources. It also prevents keys from being invented or committed to the repository.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is mnemoverse/mcp-memory-server's own configuration. It tells Codex and OpenCode how to work on mcp-memory-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-memory-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mnemoverse/mcp-memory-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mnemoverse/mcp-memory-server/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/mnemoverse/mcp-memory-server

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-memory-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mnemoverse/mcp-memory-server/agents-md/github.svg)](https://agentmods.dev/instructions/mnemoverse/mcp-memory-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/mnemoverse/mcp-memory-server/agents-md"><img src="https://agentmods.dev/badge/instructions/mnemoverse/mcp-memory-server/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-memory-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mnemoverse/mcp-memory-server/agents-md"><img src="https://agentmods.dev/badge/instructions/mnemoverse/mcp-memory-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 909 This file is loaded in full into every session.
When invoked 909 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00909 $0.00909
Opus 5.5 $0.00364 $0.00364
Sonnet 5.5 $0.00182 $0.00182
Haiku 4.5 $0.00091 $0.00091

Measured 21d ago against content hash dab0ce4aef31, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-memory-server AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Instructions for AI coding agents working in this repository. The human-facing version of the same rules is CONTRIBUTING.md; where the two differ, CONTRIBUTING.md wins.

If you are here to connect memory for a user

You do not need to change this repository. Use one of these:

  • ChatGPT: install the published Mnemoverse Memory plugin and complete browser sign-in. Start with https://mnemoverse.com/docs/api/chatgpt; no local package or custom MCP setup is needed for this route.
  • Hosted endpoint, no key to paste: https://mcp.mnemoverse.com/mcp (Streamable HTTP, OAuth sign-in in the browser). Per-client setup: https://mnemoverse.com/docs/api/install-by-host
  • Local stdio server: follow llms-install.md, which is written for an agent installing on a user's behalf. Have the user enter their key in the client's protected settings or a private user-level configuration, not in chat. Never invent a key or write a literal mk_live_ key into a file that gets committed.

Setup and checks

  • Node.js 18 or newer. Install with npm ci.
  • Build: npm run build (the prebuild step runs the config generator, the postbuild step regenerates tools.json).
  • Tests: npm test (vitest). Test types: npm run typecheck:test.
  • Drift checks: npm run verify:configs (generated files match src/configs/source.json) and npm run verify:tools (committed tools.json matches the built server).

CI runs the tests in three time zones, so do not assume UTC in tests that touch timestamps.

The one rule: src/configs/source.json

src/configs/source.json is the only file edited by hand for distribution metadata: descriptions, install snippets, env variables, registry fields. After changing it:

  1. npm run generate:configs
  2. npm run verify:configs
  3. Commit the source change together with every regenerated file.

Do not edit generated files by hand. They are server.json, manifest.json, everything under docs/configs/ and docs/snippets/, and the README regions between the INSTALL_SNIPPETS, MORE_CLIENTS and LOCAL_KEY_SNIPPETS HTML comment markers. A hand edit is overwritten on the next run and fails verify-configs.yml in the meantime. If a diff appears in one of these files and source.json did not change, discard it unless it is a regenerated tool-description change in manifest.json: the generator reads those descriptions from tools.json, which is built from src/tools.ts. For tool-description changes, run npm run build and commit the source plus regenerated tools.json and manifest.json.

Read the full file on GitHub · 47 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · +3 lines · +119 tokens per session dab0ce4aef31
  2. 27d ago Changed · +64 tokens per session 8b935cc55765
  3. 1mo ago First seen · 44 lines · 726 tokens per session scan A a0ff5f90cc6f

Subscribe to this mod's changes

mcp-memory-server AGENTS.md is an instructions file published in the GitHub repository mnemoverse/mcp-memory-server (30 stars, last pushed 2d ago), licensed MIT. It adds 909 tokens to every session, about $0.0036 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.

Related

mcp-memory-server AGENTS.md compared with instructions from other repositories

mcp-memory-server AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-memory-server AGENTS.mdmnemoverse/mcp-memory-serverInstructions file302d agoMITA909Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,329GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA2,022GitHub Copilot