jsonl_filename_mismatchTier 1 · 70% confidence

mcp-jsonl-filename-misma-a-file-named-memory-json-contains-lines-of-json-ob-8250715c

agent: mcp

When does this happen?

IF A file named memory.json contains lines of JSON objects instead of a valid JSON document, causing IDE lint errors and confusion.

How others solved it

THEN Rename the file extension to .jsonl (or wrap the content in a top-level array/object with proper commas) to match the JSON Lines format. In the memory MCP server, update the default MEMORY_FILE_PATH from memory.json to memory.jsonl and update documentation.

// Update default filename in index.ts:
const MEMORY_FILE_PATH = process.env.MEMORY_FILE_PATH || 'memory.jsonl';

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics