Get Started

Configuration Files

Fix configuration file issues including JSON syntax errors, wrong file locations, and invalid settings for Memoria.

The Problem

Memoria cannot read your configuration file or reports invalid configuration.

Common Causes

  • Invalid JSON syntax (missing commas, brackets)
  • Configuration file in wrong location
  • Wrong property names or values
  • File encoding issues

Solutions

Validate JSON Syntax

Use a JSON validator or editor with JSON support to check syntax.

# Use jq to validate
cat config.json | jq .

# Or use Node.js
node -e "console.log(JSON.parse(require('fs').readFileSync('config.json')))"

Check File Location

Ensure your config file is in the correct location.

# Claude Desktop
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json

# Cursor
# Project: .cursor/mcp.json
# Global: ~/.cursor/mcp.json

Use Valid Configuration

Start with a minimal working configuration.

{
  "mcpServers": {
    "memoria": {
      "command": "npx",
      "args": ["@byronwade/memoria"]
    }
  }
}
Configuration Files | Memoria Troubleshooting | Memoria