E

Emet

by dreamforgestudiollc · io.github.dreamforgestudiollc/emet

EMET is an MCP memory server: persistent shared memory for AI agents, bot teams and chats. Six memory layers, verified writes (every write is read back before it is reported saved), and a separate word-for-word transcript tier. Runs locally over stdio or remotely over HTTP with OAuth, on MongoDB. One owner; optional Guest (read-only) and Member (read and write) access, both off by default.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-dreamforgestudiollc-emet": {
      "command": "npx",
      "args": [
        "-y",
        "@dreamforgestudiollc/emet"
      ],
      "env": {
        "MONGODB_URI": "<YOUR_VALUE>",
        "EMET_TAG_HANDOFFS": "<VALUE>",
        "EMET_HUB_TAG": "<VALUE>",
        "EMET_HANDOFF_AGING_DAYS": "<VALUE>",
        "EMET_STALE_OPEN_HOURS": "<VALUE>",
        "PORT": "<VALUE>",
        "MONGODB_DB": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "EMET_TIMEZONE": "America/New_York",
        "EMET_SOURCE_TAG": "<VALUE>",
        "EMET_SIGNING_KEY": "<VALUE>",
        "EMET_SOURCE_TAGS": "<VALUE>",
        "EMET_SESSION_GRAPH": "<VALUE>",
        "EMET_OAUTH_PASSPHRASE": "<VALUE>",
        "EMET_CLOSE_GRACE_MINUTES": "5"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-dreamforgestudiollc-emet": {
      "command": "npx",
      "args": [
        "-y",
        "@dreamforgestudiollc/emet"
      ],
      "env": {
        "MONGODB_URI": "<YOUR_VALUE>",
        "EMET_TAG_HANDOFFS": "<VALUE>",
        "EMET_HUB_TAG": "<VALUE>",
        "EMET_HANDOFF_AGING_DAYS": "<VALUE>",
        "EMET_STALE_OPEN_HOURS": "<VALUE>",
        "PORT": "<VALUE>",
        "MONGODB_DB": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "EMET_TIMEZONE": "America/New_York",
        "EMET_SOURCE_TAG": "<VALUE>",
        "EMET_SIGNING_KEY": "<VALUE>",
        "EMET_SOURCE_TAGS": "<VALUE>",
        "EMET_SESSION_GRAPH": "<VALUE>",
        "EMET_OAUTH_PASSPHRASE": "<VALUE>",
        "EMET_CLOSE_GRACE_MINUTES": "5"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-dreamforgestudiollc-emet": {
      "command": "npx",
      "args": [
        "-y",
        "@dreamforgestudiollc/emet"
      ],
      "env": {
        "MONGODB_URI": "<YOUR_VALUE>",
        "EMET_TAG_HANDOFFS": "<VALUE>",
        "EMET_HUB_TAG": "<VALUE>",
        "EMET_HANDOFF_AGING_DAYS": "<VALUE>",
        "EMET_STALE_OPEN_HOURS": "<VALUE>",
        "PORT": "<VALUE>",
        "MONGODB_DB": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "EMET_TIMEZONE": "America/New_York",
        "EMET_SOURCE_TAG": "<VALUE>",
        "EMET_SIGNING_KEY": "<VALUE>",
        "EMET_SOURCE_TAGS": "<VALUE>",
        "EMET_SESSION_GRAPH": "<VALUE>",
        "EMET_OAUTH_PASSPHRASE": "<VALUE>",
        "EMET_CLOSE_GRACE_MINUTES": "5"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-dreamforgestudiollc-emet": {
      "command": "npx",
      "args": [
        "-y",
        "@dreamforgestudiollc/emet"
      ],
      "env": {
        "MONGODB_URI": "<YOUR_VALUE>",
        "EMET_TAG_HANDOFFS": "<VALUE>",
        "EMET_HUB_TAG": "<VALUE>",
        "EMET_HANDOFF_AGING_DAYS": "<VALUE>",
        "EMET_STALE_OPEN_HOURS": "<VALUE>",
        "PORT": "<VALUE>",
        "MONGODB_DB": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "EMET_TIMEZONE": "America/New_York",
        "EMET_SOURCE_TAG": "<VALUE>",
        "EMET_SIGNING_KEY": "<VALUE>",
        "EMET_SOURCE_TAGS": "<VALUE>",
        "EMET_SESSION_GRAPH": "<VALUE>",
        "EMET_OAUTH_PASSPHRASE": "<VALUE>",
        "EMET_CLOSE_GRACE_MINUTES": "5"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-dreamforgestudiollc-emet": {
      "command": "npx",
      "args": [
        "-y",
        "@dreamforgestudiollc/emet"
      ],
      "env": {
        "MONGODB_URI": "<YOUR_VALUE>",
        "EMET_TAG_HANDOFFS": "<VALUE>",
        "EMET_HUB_TAG": "<VALUE>",
        "EMET_HANDOFF_AGING_DAYS": "<VALUE>",
        "EMET_STALE_OPEN_HOURS": "<VALUE>",
        "PORT": "<VALUE>",
        "MONGODB_DB": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "EMET_TIMEZONE": "America/New_York",
        "EMET_SOURCE_TAG": "<VALUE>",
        "EMET_SIGNING_KEY": "<VALUE>",
        "EMET_SOURCE_TAGS": "<VALUE>",
        "EMET_SESSION_GRAPH": "<VALUE>",
        "EMET_OAUTH_PASSPHRASE": "<VALUE>",
        "EMET_CLOSE_GRACE_MINUTES": "5"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-dreamforgestudiollc-emet": {
      "command": "npx",
      "args": [
        "-y",
        "@dreamforgestudiollc/emet"
      ],
      "env": {
        "MONGODB_URI": "<YOUR_VALUE>",
        "EMET_TAG_HANDOFFS": "<VALUE>",
        "EMET_HUB_TAG": "<VALUE>",
        "EMET_HANDOFF_AGING_DAYS": "<VALUE>",
        "EMET_STALE_OPEN_HOURS": "<VALUE>",
        "PORT": "<VALUE>",
        "MONGODB_DB": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "EMET_TIMEZONE": "America/New_York",
        "EMET_SOURCE_TAG": "<VALUE>",
        "EMET_SIGNING_KEY": "<VALUE>",
        "EMET_SOURCE_TAGS": "<VALUE>",
        "EMET_SESSION_GRAPH": "<VALUE>",
        "EMET_OAUTH_PASSPHRASE": "<VALUE>",
        "EMET_CLOSE_GRACE_MINUTES": "5"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
MONGODB_URI secret Yes MongoDB connection string (e.g., mongodb://localhost:27017 or an Atlas URI). Required for all modes.
EMET_TAG_HANDOFFS No Per-tag handoffs. Off unless set to warn or enforce.
EMET_HUB_TAG No Hub tag that writes HANDOFF.md when per-tag handoffs are on.
EMET_HANDOFF_AGING_DAYS No Days before a handoff line in the computed view is aging. Default 7.
EMET_STALE_OPEN_HOURS No Hours before an open session with material work is marked stale-open. Default 24.
PORT No Port for the HTTP server. Required for remote (HTTP) mode.
MONGODB_DB Yes MongoDB database name. Required for all modes.
PUBLIC_URL No The public URL of the server, used as the OAuth issuer. Must match the deployed URL exactly. Required for remote (HTTP) mode.
EMET_TIMEZONE No Time zone for session ids. Default: America/New_York. Default: America/New_York
EMET_SOURCE_TAG No A distinct source tag for this host. Every write records the host that produced it. Defaults to a tag marked as defaulted.
EMET_SIGNING_KEY No If set, an HMAC signature is stored over content and metadata digests. The key stays on the service.
EMET_SOURCE_TAGS No Comma-separated list of allowed source tags. The source-tag guards (unregistered tags refused on the main records and on another bot's bots/ folder) are off unless this is set.
EMET_SESSION_GRAPH No Controls session graph (monorail) mode. Report-only by default.
EMET_OAUTH_PASSPHRASE No Passphrase to authorize devices for the remote endpoint. Required for remote (HTTP) mode.
EMET_CLOSE_GRACE_MINUTES No Minutes after a complete session close during which one more append is allowed. Default: 5, maximum: 60. Default: 5

Similar servers