chat-export-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CHAT_EXPORT_HOME | No | ~/.chat-export | |
| CHAT_EXPORT_HOST | No | 127.0.0.1 | |
| CHAT_EXPORT_PORT | No | 8765 | |
| CHAT_EXPORT_MCP_TOKEN | No | ||
| CHAT_EXPORT_ADMIN_PASS | No | ||
| CHAT_EXPORT_ADMIN_USER | No | ||
| CHAT_EXPORT_SKIP_MCP_CONFIG | No | ||
| CHAT_EXPORT_ALLOW_DESTRUCTIVE | No | ||
| CHAT_EXPORT_DASHBOARD_ENABLED | No |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| browsers_listA | List Chrome profiles currently connected through the Chat Export extension bridge. Use before browsers_bind to pick a browserId; use browsers_status for the already-bound session only. |
| browsers_bindA | Set the active browserId for subsequent chat/project/job tools. Call after browsers_list; does not open tabs by itself. Prefer browsers_status to inspect the current binding without changing it. |
| browsers_statusA | Show the currently bound browserId, connection state, and recent alerts. Prefer over browsers_list when you already bound a browser and only need health/permissions. |
| platforms_listA | List supported providers and whether each is enabled on the server and the bound browser. Requires browsers_bind for browser-side enablement; use before chats_* when unsure which platforms are available. |
| platforms_statusA | Probe composer/gate status per provider on the bound browser without sending a prompt. Returns state ok|rate_limit|busy|auth_wall|captcha|generating|composer_blocked|no_tab|offline|disabled|error plus code/kind/banner/retryable. Prefer before chat_ask / chats_send — kind=paywall (and similar free-plan banners) blocks compose, not chats_list / chats_export / export_batch. Do not abort export jobs solely because platforms_status shows paywall. Server-disabled platforms return state disabled with code PLATFORM_DISABLED instead of failing the whole call. Set ensureTab:true to open a start tab before probing. Captcha is never auto-solved. |
| tabs_ensureA | Open or reuse a provider start tab in the bound browser without sending a prompt. Prefer before chats_list/chat_ask when no platform tab is open; returns tab meta and created=true if chrome.tabs.create ran. Requires browsers_bind. |
| platforms_capabilitiesA | Read composer capabilities (models, modes, toggles, tools, attach limits) from the open provider tab. Prefer before chat_ask/chats_send/chats_create when setting model|mode|toggles|tools so ids match the live UI. Use platforms_status for gate/busy/captcha; platforms_list for enablement only. Requires browsers_bind and an open tab. |
| chats_listA | List chats for one platform in the bound browser (titles/ids, optional query). Prefer for discovery; use projects_chats for chats inside one project, chats_get for a full payload, chat_outline for turn indexes. Requires prior browsers_bind. |
| chats_getA | Return the full ExportPayload for one chat on the bound browser. Prefer for a complete dump of a known chatId; for turn index/previews use chat_outline, for a bounded slice use chat_read, for offline SQLite reuse use chat_cache_*. Empty chatId = currently open tab. Requires browsers_bind. |
| chat_outlineA | Build a turn index with short previews for a chat (auto-warms the SQLite cache for long threads). Prefer before chat_read to choose start/end indexes; use chats_get for the full payload, chat_cache_read when the cache is already warm. Empty/omitted chatId = open tab. Requires browsers_bind. |
| chat_readA | Read a bounded slice of chat turns with a maxChars cap (uses/auto-fills the SQLite cache). Prefer after chat_outline for start/end indexes; use chats_get for the entire chat, chat_cache_read for offline cache-only access. Requires browsers_bind when the cache miss needs a host fetch. |
| chats_exportA | Export one chat via extension builders and write files under exportDir (returns paths + host gate). Prefer for durable files; use chats_get for in-memory payload, jobs_enqueue kind=export/export_batch for bulk/async queues. Set async:true to return job_id instead of blocking. Captcha is never auto-solved. Requires browsers_bind; writes to disk. |
| chats_createA | Create a new chat on the provider UI and seed it with text (no reply wait). Prefer chat_ask when you also need the assistant reply; use chats_send for follow-ups. Supports model|mode|toggles|tools|files|onCaptcha|ensureTab. Captcha is never auto-solved. Requires browsers_bind and allowCreate. |
| chats_sendA | Send a follow-up message in an existing chat without waiting for the assistant reply. Prefer chat_ask when you need the reply; use chats_create to open a new chat. Supports model|mode|toggles|tools|files|onCaptcha|ensureTab. Captcha is never auto-solved. Requires browsers_bind. |
| chat_askA | Send a prompt (new or existing chat) via the bound browser and wait for the assistant reply. Prefer over chats_create+chats_send when you need the reply; use wait:false or jobs_enqueue kind=ask for non-blocking. Supports model|mode|toggles|tools|files|onCaptcha|ensureTab. Captcha is never auto-solved; allow_agent is operator-opt-in in the client prompt. Requires browsers_bind. |
| chat_cache_syncA | Fetch a chat from the bound browser and store blocks+FTS5 in the temp SQLite cache. Prefer before repeated chat_cache_read on long threads; use chat_outline/chat_read when you need live outline/slice without an explicit sync. Writes local cache only; requires browsers_bind for the host fetch. |
| chat_cache_readA | Read cached chat blocks from local SQLite by turn range, blockId, or FTS query within one chat without hitting the browser. Prefer after chat_cache_sync/library_ingest; use chats_search for cross-chat FTS; use chat_read when the cache may be cold. Identify the copy via cacheId or platform+chatId. |
| chat_cache_appendA | Append turns to an existing local SQLite cache copy and refresh FTS/totals. Prefer for incremental offline updates; use chat_cache_sync to rebuild from the live tab, chat_cache_update_block to edit one turn. Does not write to the provider UI. |
| chat_cache_update_blockA | Update one cached block (bumps revision) or resync that turn from the live tab via resyncFromHost. Prefer for surgical cache edits; use chat_cache_append to add turns, chat_cache_sync to refresh the whole chat. Local cache only unless resyncFromHost needs the bound browser. |
| chat_cache_deleteA | Delete a temp SQLite cached chat (metadata, blocks, FTS). Does not delete the provider chat — use chats_delete for that. Identify via cacheId or platform+chatId. Idempotent on missing rows. |
| chats_searchA | Full-text search across the local SQLite library (all cached chats) without hitting the browser. Prefer after library_ingest / export_batch / chats_get have filled the cache. Use chat_cache_read when searching inside one known chatId. Offline; no host_state/paywall. |
| tabs_searchA | Search open-tab metadata (title/url/chatId) from the last browser tabs push, stored in SQLite. Prefer for finding an already-open chat tab without listing all browsers. Not chat body search — use chats_search for that. Local only. |
| projects_listA | List projects/folders (containers) on a platform via the bound browser. Prefer projects_list (MCP alias containers_list was removed). Use projects_chats for chats inside one project, chats_list for all chats. Wire op remains containers.list. Requires browsers_bind. |
| projects_chatsA | List chats inside one project/container on the bound browser. Prefer over chats_list when scoped to a known containerId; use projects_list first to discover ids. Requires browsers_bind. |
| projects_createA | Create a project/folder on the provider UI. Prefer when organizing chats; does not create chats (use chats_create/chat_ask). Requires browsers_bind and allowProjects on the browser. |
| projects_deleteA | Permanently delete a project/folder on the provider. Destructive: requires confirm:true, allowProjects, and allowDestructive on the browser. Prefer projects_move_chat to rehome chats first. Does not delete local SQLite cache rows. |
| projects_move_chatA | Move a chat into a project, or pass containerId null to remove it from its project. Prefer over delete when reorganizing. Requires browsers_bind and allowProjects. |
| chats_deleteA | Permanently delete a chat on the provider UI. Destructive and audited: requires confirm:true plus allowDestructive on server and browser. Prefer chats_export first if you need a copy; chat_cache_delete only removes local cache. Captcha is never auto-solved. |
| jobs_enqueueA | Enqueue a background job on the bound browser lane (ask, export, export_batch, library_ingest, delete, delete_batch) and return job_id immediately. Prefer library_ingest to fill the local SQLite+FTS library without writing export files (then chats_search offline). Prefer export/export_batch for durable files. Paywall host_state does not block export/library_ingest. Captcha is never auto-solved. Poll with jobs_status; cancel with jobs_cancel. Requires browsers_bind; delete kinds need confirm + allowDestructive. |
| jobs_statusA | Get status, progress, result, or error for a job_id from jobs_enqueue. Prefer for polling one job; use jobs_list to browse many. Local job store only. |
| jobs_listA | List background jobs newest-first with optional status/kind/browser filters. Prefer over repeated jobs_status when surveying the queue; use jobs_status for one job_id detail. |
| jobs_cancelA | Cancel a queued job immediately, or request cancel for a running job. Prefer when stopping work started via jobs_enqueue/chat_ask wait:false. Does not roll back provider-side side effects already applied. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 32 tools
Descriptions aggressively disambiguate by naming the preferred alternative (chats_get vs chat_outline vs chat_read vs chat_cache_read; browsers_status vs browsers_list; jobs_status vs jobs_list), so an agent can almost always pick correctly. A few genuinely confusable clusters remain — live read vs cached read vs full export, and chats_list vs projects_chats — but the 'prefer X over Y' guidance largely resolves them.
Names use a stable family prefix (browsers_, platforms_, tabs_, jobs_, chats_/chat_, projects_) with snake_case throughout, which makes grouping obvious. The second element mixes verbs and nouns (chats_list vs chat_outline, tabs_search, chat_ask), a minor deviation from a pure verb_noun convention.
32 tools is heavy, and the surface is split across five subsystems (browser bridge, providers, jobs, chat I/O, local cache, projects). Most tools are non-redundant, but the cache family alone (sync/read/append/update_block/delete) plus a parallel live-read family pushes this well past a comfortable agent-facing surface.
Coverage is strong: full chat lifecycle (list/get/read/create/send/ask/export/delete/search), projects CRUD plus move_chat, jobs enqueue/list/status/cancel, and a complete cache lifecycle. Gaps are minor — no chat or project rename/update, no way to enumerate cached chats (no cache list), and no jobs cleanup/prune.