agentleFS
mnemoversemnemoverse/mcp-memory-server/AGENTS.md

mcp-memory-server

AGENTS.md26 starsChanged 2 months agoMITView on GitHub

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. You do not need to change this repository. Use one of these: CI runs the tests in three time zones, so do not assume UTC in tests that touch timestamps. src/configs/source.json is the only file edited by hand for distribution metadata: descriptions, install snippets, env variables, registry fields. After changing it: Do not edit generated files…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Commit the source change together with every regenerated file.

    line 27
  2. Very specific:

    Do not hard-code distribution metadata in src/, and do not add a parallel config file next to source.json.

    line 31
  3. Very specific:

    Keep one concern per PR, run npm test and npm run verify:configs before pushing, and say in the description which of the checks above you …

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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:

  • 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. Ask the user for their key; never invent one and never 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 and MORE_CLIENTS 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.

Do not hard-code distribution metadata in src/, and do not add a parallel config file next to source.json.

Tool surface and changelog

Any change to what a tool does, returns or says about itself, including a description or parameter text, needs an entry under ## [Unreleased] in CHANGELOG.md in the same PR. That text is what a model reads, so even a wording change is a release-worthy patch. An internal refactor with identical behaviour gets [skip changelog] in the PR description instead. changelog-reminder.yml enforces this for changes under src/.

Versions and releases

The version lives only in package.json; src/index.ts reads it and server.json is generated from it. Releases are cut by pushing a vX.Y.Z tag, and .github/workflows/release.yml publishes to npm and the MCP Registry. Do not bump versions, tag or publish unless a maintainer asks you to.

Pull requests

Keep one concern per PR, run npm test and npm run verify:configs before pushing, and say in the description which of the checks above you ran.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.