Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Chat Export

by svergioversion 1.0.4i★ 1iRuns on your computerRepository ↗
Registry nameio.github.svergio/chat-export-server

How to install

What it does

Local MCP for eight logged-in LLM UIs via the Chat Export Chrome extension on 127.0.0.1.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Chat & email

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score16/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Chat Export. Follow https://mcp.popnx.com/i/svergio-chat-export-server.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Chat Export for Claude on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "chat-export": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/svergio/chat-export-server:1.0.4" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Chat Export tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "chat-export": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/svergio/chat-export-server:1.0.4"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Chat Export and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Chat Export or shows a Chat Export tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • CHAT_EXPORT_HOME Data directory for SQLite cache, keys and exports
  • CHAT_EXPORT_MCP_TOKEN Optional pre-set MCP Bearer token (cem_…); otherwise generated on first start
  • CHAT_EXPORT_HOST HTTP bind host (default 127.0.0.1; use 0.0.0.0 in containers)
  • CHAT_EXPORT_PORT HTTP port for /mcp, /ws and /health (default 8765)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Chat Export yet

Chat Export runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Chat Export

  • Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Docker on your computer first (one time)
  • Install Docker on your computer first (one time)
  • Install Docker on your computer first (one time)

B · Others in Chat & email that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Docker on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Chat Export for Claude Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user chat-export -- docker run -i --rm ghcr.io/svergio/chat-export-server:1.0.4 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Chat Export tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user chat-export -- docker run -i --rm ghcr.io/svergio/chat-export-server:1.0.4
  4. Type /mcp in Claude Code

    You should see Chat Export listed as connected

  5. Try it

    Use Chat Export and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Chat Export or shows a Chat Export tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • CHAT_EXPORT_HOME Data directory for SQLite cache, keys and exports
  • CHAT_EXPORT_MCP_TOKEN Optional pre-set MCP Bearer token (cem_…); otherwise generated on first start
  • CHAT_EXPORT_HOST HTTP bind host (default 127.0.0.1; use 0.0.0.0 in containers)
  • CHAT_EXPORT_PORT HTTP port for /mcp, /ws and /health (default 8765)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Docker on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Chat Export for Cursor on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "chat-export": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/svergio/chat-export-server:1.0.4" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Chat Export tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Chat Export and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Chat Export or shows a Chat Export tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • CHAT_EXPORT_HOME Data directory for SQLite cache, keys and exports
  • CHAT_EXPORT_MCP_TOKEN Optional pre-set MCP Bearer token (cem_…); otherwise generated on first start
  • CHAT_EXPORT_HOST HTTP bind host (default 127.0.0.1; use 0.0.0.0 in containers)
  • CHAT_EXPORT_PORT HTTP port for /mcp, /ws and /health (default 8765)

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Docker on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Chat Export for VS Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "chat-export": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/svergio/chat-export-server:1.0.4" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Chat Export tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Chat Export and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Chat Export or shows a Chat Export tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • CHAT_EXPORT_HOME Data directory for SQLite cache, keys and exports
  • CHAT_EXPORT_MCP_TOKEN Optional pre-set MCP Bearer token (cem_…); otherwise generated on first start
  • CHAT_EXPORT_HOST HTTP bind host (default 127.0.0.1; use 0.0.0.0 in containers)
  • CHAT_EXPORT_PORT HTTP port for /mcp, /ws and /health (default 8765)

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Chat Export💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user chat-export -- docker run -i --rm ghcr.io/svergio/chat-export-server:1.0.4

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "chat-export": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/svergio/chat-export-server:1.0.4"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "chat-export": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/svergio/chat-export-server:1.0.4"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "chat-export": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/svergio/chat-export-server:1.0.4"
      ]
    }
  }
}

Values you fill in

  • CHAT_EXPORT_HOME env
    Data directory for SQLite cache, keys and exports
  • CHAT_EXPORT_MCP_TOKEN secret env
    Optional pre-set MCP Bearer token (cem_…); otherwise generated on first start
  • CHAT_EXPORT_HOST env
    HTTP bind host (default 127.0.0.1; use 0.0.0.0 in containers)
  • CHAT_EXPORT_PORT env
    HTTP port for /mcp, /ws and /health (default 8765)

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
1.0.4
Published to registryi
Nov 11, 2026
Code last changedi
Nov 15, 2026
Maker
svergio
Packages
oci: ghcr.io/svergio/chat-export-server:1.0.4
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account svergio, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 4 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked: only npm and PyPI packages with a version can be checked

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/svergio-chat-export-server.svg)](https://mcp.popnx.com/en/servers/svergio-chat-export-server)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Chat & emaili

  • More stars than 83% of the other 2027 servers in this category
  • Published to the registry more recently than 79% of the other 2027 servers in this category
  • Basic checks equal to or better than 99% of the other 2027 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Chat Export safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 4 days ago, and the latest version (1.0.4) reached the registry 8 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.

What can I use instead?

In the same category: emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

by anypostWidely used↓ 5.4K/wk★ 1.4KUpdated 5 days ago

Computer or cloud✓ service owner · emailmd.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

by infobipEarly★ 36Updated 13 months ago

Runs in the cloud✓ service owner · infobip.com

kernelCAD

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

by w1neEarly★ 35Updated 23 days ago

Runs in the cloud✓ service owner · kernelcad.com
Compared with similar ones
This one
Chat Export
emailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCPkernelCAD
Runs whereInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoYesNo
Basic checks3/35/54/44/44/44/4
LicenseMITMITAGPL-3.0Apache-2.0MITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

English | Русский · · · ·

chat-export-server

Local MCP server for the Chat Export Chrome extension. List, read, export, create, delete, and ask in your own chats on eleven web providers (ChatGPT, Grok, X Grok, Claude, GitHub Copilot, Qwen, DeepSeek, Perplexity, Kimi, Z.ai, MiniMax) — through the extension in your browser. (JanitorAI is extension export-bar only and is not in the MCP protocol.) Everything stays on 127.0.0.1: job queues, SQLite chat cache, audit log, optional dashboard UI.

Listed on Glama (v1.1.1, library FTS + Kimi / Z.ai / MiniMax MCP). Listed on Mcprush.

Standalone

chat-export-server plus the Chrome extension is a complete local stack. Browser chat ops run through the extension WebSocket bridge — no Chrome DevTools MCP, Playwright, or vendored agent code. Ship with native install, Docker / Colima, or Kubernetes (deploy/k8s). Any MCP client (Cursor, Claude Desktop, Open WebUI, local LLMs such as Bonsai-27B) is optional.

Why this MCP (for awesome-list reviewers)

Most LLM MCP servers wrap a vendor HTTP API (keys, quotas, cloud data path). Chat Export is different: the agent talks MCP to a local process; that process drives the web UIs you are already logged into via the Chrome extension bridge. No OpenAI/Anthropic/xAI API keys for chat ops, no chat bodies leaving 127.0.0.1, and delete/create stay off until you opt in (allowDestructive + confirm). Pair with the extension zip; point Cursor (or any MCP client) at http://127.0.0.1:8765/mcp.

The problem

IDE agents need structured access to web LLM sessions without pasting cookies or paying per-token cloud APIs. You want MCP tools, retries, and queues — but data must not leave your machine.

What you get

PlatformAutomation
ChatGPTlist / get / export / create / delete / ask
Grok (grok.com)same
X Groksame
Claudesame
GitHub Copilot websame
Qwen (chat.qwen.ai)same
DeepSeek (chat.deepseek.com)same
Perplexity (perplexity.ai)same
Kimi (kimi.com)same
Z.ai (chat.z.ai)same
MiniMax (agent.minimax.io)same

Architecture

chat-export-server binds on loopback (by default), hosts the extension browser hub over WebSocket (/ws, ceb_ tokens), exposes Streamable HTTP MCP at /mcp for IDE agents (cem_/cek_), runs per-browser job lanes with a SQLite chat cache and WAL, and optionally serves the embedded dashboard at /dashboard/ plus /dashboard/api. Long operations (chat_ask, bulk export, delete with gates) go through the job queue instead of blocking MCP.

Install paths: native Node 22 CLI (npm run build, chat-export-server start), Docker / Colima (Dockerfile + Compose on 127.0.0.1:8765), or Kubernetes (kubectl apply -k deploy/k8s, port-forward for the Chrome bridge). Full Mermaid diagrams and endpoint map: [Wiki — Architecture](https://github.com/svergio/chat-export-extension/wiki/Architecture). Operators: Native and Kubernetes deployment · Use cases · MCP tools and profiles.

Quick start (3 steps)

  1. Extension — load chat-export-extension unpacked; enable bridge in popup; open provider tabs logged in.
  2. Server — npm install && npm run build, chat-export-server key new, chat-export-server start → http://127.0.0.1:8765.
  3. MCP client — point to http://127.0.0.1:8765/mcp with Authorization: Bearer ; run browsers_bind then chats_list / chats_export / chat_ask.

Wiki: MCP tools and profiles.

Install and build

npm install

npm run build # tsc -> dist/ npm link # optional: chat-export-server on PATH

Requires Node 22.13+ (node:sqlite).

ScriptPurpose
npm run buildcompile to dist/
npm run typechecktsc --noEmit
npm startnode dist/cli/index.js start
npm run devtsx watch src/cli/index.ts start
npm run mcpstdio MCP attached
First run
chat-export-server key new    # print once; hash stored

chat-export-server start

WS /ws, /ext — extension bridge

MCP /mcp — Bearer key

GET /health

Data under ~/.chat-export (override CHAT_EXPORT_HOME):

~/.chat-export/

config.json # host, port, exportDir, settings (incl. advancedMcpTosAcceptedAt) chat-export.db # SQLite: mcp_tokens, browsers, browser_revoked_tokens, jobs, chat cache audit.log # MCP/RPC audit exports/ # chats_export output

MCP and browser bearer tokens are stored as hashes in SQLite (mcp_tokens / browsers / browser_revoked_tokens). Plaintext is printed once by chat-export-server key new (and browser enroll); it is not kept in keys.json.

Before create/send/delete MCP mutates, accept Advanced MCP ToS once: chat-export-server tos accept or POST /legal/accept (loopback). Check with GET /legal or tos status.

chat-export-server key rotate

chat-export-server key list chat-export-server status

Configuration

Environment variables

Copy .env.example to .env in the server directory (or set CHAT_EXPORT_ENV_FILE), then chmod 600 .env. Never commit .env (gitignored); keep secrets out of .env.example. Container and process env override config.json where noted.

VariablePurpose
CHAT_EXPORT_HOMEData directory (default ~/.chat-export; /data in Docker)
CHAT_EXPORT_HOSTBind address (127.0.0.1 locally; use 0.0.0.0 in containers)
CHAT_EXPORT_PORTHTTP port (default 8765)
CHAT_EXPORT_ALLOWED_HOSTSExtra Host header names allowed (comma-separated)
CHAT_EXPORT_DASHBOARD_ENABLEDtrue / false
CHAT_EXPORT_ADMIN_USER / CHAT_EXPORT_ADMIN_PASSDashboard login (overrides config.json)
CHAT_EXPORT_MCP_TOKENOptional preset cem_… token hash on start
CHAT_EXPORT_BROWSER_TOKENSbrowserId:ceb_…[:label] comma list for auto-enroll
CHAT_EXPORT_ALLOW_DESTRUCTIVEtrue / false
CHAT_EXPORT_DB_DRIVERDB driver override (sqlite default)
CHAT_EXPORT_DB_URLDB URL when not using default SQLite path
CHAT_EXPORT_SKIP_MCP_CONFIGSet 1 to skip auto-writing Cursor MCP config on key new
Docker and Colima

This repo ships a multi-stage Dockerfile (Node 22 Alpine, non-root user, CHAT_EXPORT_HOME=/data, listen 0.0.0.0:8765, /health check). Docker Desktop is not required — use Colima on macOS:

colima start

docker context use colima # or: docker --context colima … cp .env.example .env # set CHAT_EXPORT_ADMIN_PASS at minimum docker --context colima compose build docker --context colima compose up -d curl -sS http://127.0.0.1:8765/health

Published only on `127.0.0.1:8765`. Persistent data: Compose volume chat-export-data → /data.

Stop when finished so a local chat-export-server daemon can reclaim the port:

docker --context colima compose down

Optional split stack (nginx serves dashboard static, proxies /dashboard/api, /mcp, /ws, /ext, /enroll, /health to the server): build from the maintainer tree chat-export-dashboard/Dockerfile and projects/Chat Export/docker-compose.yml (see dashboard repo).

Kubernetes

Manifests under deploy/k8s/ (non-root UID 10001, PVC on /data, /health probes, Ingress with WebSocket upgrade for /ws, /ext, /mcp). Apply with kubectl apply -k deploy/k8s; for local Chrome bridge use kubectl port-forward to 127.0.0.1. Full steps: deploy/k8s/README.md and wiki Native and Kubernetes deployment.

config.json (under CHAT_EXPORT_HOME)

Created on first start. Example (secrets redacted):

{

"host": "127.0.0.1", "port": 8765, "exportDir": "~/.chat-export/exports", "rpcTimeoutMs": 60000, "dashboard": { "enabled": true, "username": "admin", "password": "changeme" }, "registeredBrowsers": [], "settings": { "platformsEnabled": ["chatgpt", "grok", "grok-x", "copilot", "claude"], "allowDestructive": false, "exportSchema": "chat-export/1" } }

settings.exportSchema defaults to chat-export/1 (also sharegpt/1). MCP chats_export / export jobs accept optional schema; omitted → this setting, then the browser default. See wiki Export formats.

Change `dashboard.password` before exposing the host beyond loopback. Server listens on `127.0.0.1:8765` by default (/health, /mcp, /ws, /dashboard/).

Tokens
PrefixUsed by
cek_ / cem_MCP and CLI (Authorization: Bearer … on /mcp)
ceb_Chrome extension WebSocket (/ws); enroll via CLI or dashboard

Only hashes of MCP/browser keys are stored in SQLite (mcp_tokens, browsers, browser_revoked_tokens). Plaintext is shown once at chat-export-server key new / browser enroll.

Detached daemon (maintainer workspace)

In the Chat Export maintainer tree, tmp-scripts/ensure-daemon.mjs can keep chat-export-server running on :8765, write ~/.chat-export/server.pid, and optionally sync Bearer cem_… into .cursor/mcp.json (--sync-mcp-json). Equivalent manual start: chat-export-server start.

Cursor MCP (~/.cursor/mcp.json or project .cursor/mcp.json)

HTTP (server already running):

{

"mcpServers": { "chat-export": { "url": "http://127.0.0.1:8765/mcp", "headers": { "Authorization": "Bearer cem_YOUR_KEY_HERE" } } } }

Profiles: expose the full tool surface (chats_*, jobs_*, chat_cache_*, projects_*) for IDE agents. A small read-focused subset (list/get/export, browsers, platforms) is documented on the wiki MCP tools page — match your client’s token budget. Open WebUI via mcpo can proxy the same HTTP endpoint if your setup uses an OpenAPI bridge on another port.

After MCP is configured, run `browsers_bind` so tools target your connected Chrome profile.

Extension bridge settings: [chat-export-extension README](https://github.com/svergio/chat-export-extensio

Only the beginning is shown; read the rest in the repo