About gateway
@recordist/gateway connects AI assistants and agents to meetings recorded locally by Recordist. It combines meeting tools with an A2A agent, and can read data through the local API or a read-only database fallback when the app is closed.
Key features
- 01List, retrieve, and search meetings
- 02Read transcripts and action items
- 03Start or stop recordings and add markers
- 04Regenerate meeting notes
- 05Expose meeting resources and prompts
- 06Offer MCP and A2A transports
Use cases
- 01Search past transcripts for a topic
- 02Retrieve meeting decisions and action items
- 03Start a recording with Recordist approval settings
- 04Send meeting tasks through an A2A agent
MCP support
The gateway exposes meeting tools, resources, and prompts to MCP clients over stdio or optional Streamable HTTP. Reads work through the local API or a read-only database fallback; recording and other actions require the Recordist app.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @recordist/gatewayRECORDIST_API_URLLocal API base URL (default http://127.0.0.1:47321)Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
9Saved tool list · updated 1d ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | No | Full-text filter across titles, transcripts and notes |
| to | string|number | No | Unix ms or ISO-8601 date (e.g. 2025-09-01 or 2025-09-01T09:00:00Z) |
| from | string|number | No | Unix ms or ISO-8601 date (e.g. 2025-09-01 or 2025-09-01T09:00:00Z) |
| limit | integer | No | Max results (default 20) |
| offset | integer | No | Skip this many results |
Details
From the project README@recordist/gateway
MCP server + A2A agent for Recordist (https://recordist.app), the app that writes notes from your calls on your own laptop, with no bot in the call. It lets Claude Desktop, Claude Code, Cursor and other agents read and act on the meetings recorded on your laptop.
Get the free Recordist app for Mac, with Windows and Linux in preview: https://recordist.app/download?from=npm
- Reads (list, get, transcript, search, action items) work whether or not the
Recordist app is running: the gateway talks to the app's local API when it is
up and falls back to opening
recordist.dbread-only when it is not. - Actions (start and stop recording, add a marker, regenerate notes) need the
app. When it is not running they fail with
Recordist app is not running. - Recording asks first.
start_recordingstarts at once only when Allow agents to start recordings is on in Recordist's Settings, then Integrations (off by default). Otherwise Recordist shows its own record card on the laptop, as it does for the Chrome extension and Stream Deck, and nothing records until the person answers it. Recordist 1.0.4 and earlier show that card only while the Chrome extension switch is on in Settings, then Detection; with both off, the agent is told the recording did not start and the person can start it in Recordist.stop_recordingandregenerate_notesare marked destructive, so assistants that honour MCP's hints ask each time. - Where your meetings go. The gateway itself talks only to the Recordist app on
127.0.0.1and listens on loopback by default. What it returns goes to the AI assistant you connect, which may send it to its own cloud model.regenerate_noteshas the app write notes with the provider set in Recordist's Settings → AI notes, which may also be a cloud service.
Install
npx -y @recordist/gateway --doctor # check data dir, DB, token, app
Requires Node 20+. better-sqlite3 ships prebuilt binaries for common platforms.
Connect an assistant
Claude Desktop: the extension
The Recordist extension installs in Claude Desktop in one step and needs no
configuration. Double-click recordist-<version>.mcpb (build it as in
Claude Desktop Extension), or in Claude Desktop
open Settings → Extensions → Advanced settings → Install Extension… and choose
the file. Claude shows what the extension can do before you install it.
Claude Desktop: by hand
claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/,
Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"recordist": {
"command": "npx",
"args": ["-y", "@recordist/gateway"]
}
}
}
Claude Code
claude mcp add recordist -- npx -y @recordist/gateway
or, for the HTTP transport while npx -y @recordist/gateway --http is running (it needs
the app's API token, see Authentication):
TOKEN="$(cat ~/Library/Application\ Support/app.recordist.desktop/api_token)"
claude mcp add --transport http recordist http://127.0.0.1:47322/mcp \
--header "Authorization: Bearer $TOKEN"
Claude Code plugin
This repository is also a Claude Code plugin marketplace. The plugin in
plugins/recordist starts this gateway, pinned to a
published version, and adds a skill for answering from the record:
/plugin install recordist --marketplace recordist-app/gateway
On Claude Code before 2.1.275, add the marketplace first:
/plugin marketplace add recordist-app/gateway, then
/plugin install recordist@recordist.
Cursor
.cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"recordist": {
"command": "npx",
"args": ["-y", "@recordist/gateway"]
}
}
}
Any Streamable HTTP client
npx -y @recordist/gateway --http # http://127.0.0.1:47322/mcp
Send Authorization: Bearer <api_token> with every request.
Authentication
The HTTP transport (--http) and the A2A agent (--a2a) answer only requests
that carry Authorization: Bearer <api_token>, where the token is the contents
of <data>/api_token (or RECORDIST_API_TOKEN), the same token the gateway
uses for the app's local API. A missing or wrong token gets 401 with
WWW-Authenticate: Bearer and nothing else. The one exception is the A2A Agent
Card, which stays public so clients can discover the scheme; it lists skills
only, never meetings. Neither mode starts when no token is available, and
neither does --all, stdio included: open Recordist once so it writes
api_token, or run with no flags for stdio alone. The stdio transport needs no
token, since only the assistant that launched it can talk to it. --doctor says
whether --http and --a2a will require the token or refuse to start.
What the assistant gets
Tools
| Tool | Purpose |
|---|---|
list_meetings | Recent meetings; optional q, from/to, limit/offset |
get_meeting | One meeting with notes, action items and markers |
get_transcript | Transcript as json | md | srt | vtt | txt |
search_meetings | Full-text search across transcripts and notes (FTS5) |
get_action_items | Action items, filter by meeting_id / open_only |
regenerate_notes | Write the AI notes again (summary, action_items, decisions, …) with the provider set in Recordist; they replace the current notes, which Recordist keeps under Earlier notes (destructive); needs the app |
start_recording | Record: starts at once with Allow agents to start recordings on (Settings → Integrations, off by default), otherwise shows Recordist's record card for the person to answer; needs the app |
stop_recording | Stop the recording under way (destructive: hosts ask first); needs the app |
add_marker | Bookmark the current moment; needs the app |
propose_action | Recordist Agent: suggest an action on the record (draft the follow-up, mark a promise done, export a meeting). Nothing runs: the app shows a card that says exactly what will happen and waits for the person's Approve or Not now; needs the app and Let connected assistants suggest actions in Settings → Integrations → Recordist Agent |
action_status | What became of a suggestion: proposed, done, failed, declined or expired, and nothing more; needs the app |
Resources: recordist://meeting/{id} (JSON) and
recordist://meeting/{id}/transcript (Markdown). The resource list shows the
50 most recent meetings.
Prompts: summarize_meeting, draft_followup_email, weekly_review.
A2A agent
npx -y @recordist/gateway --a2a # http://127.0.0.1:47323/
Agent Card at http://127.0.0.1:47323/.well-known/agent.json (public, no
token; authentication.schemes is ["bearer"]); skills mirror the tools above.
JSON-RPC 2.0 at / with tasks/send, tasks/get, tasks/cancel and
tasks/sendSubscribe (SSE); every JSON-RPC request needs
Authorization: Bearer <api_token>.
Natural-language tasks are routed to a skill with a small keyword router; every
completed task returns a text part and a data part with the structured
result. To skip the router, send a data part {"skill": "...", "args": {...}}.
TOKEN="$(cat ~/Library/Application\ Support/app.recordist.desktop/api_token)"
curl -s http://127.0.0.1:47323/ \
-H "Authorization: Bearer $TOKEN" \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0", "id": 1, "method": "tasks/send",
"params": {
"id": "task-1",
"message": { "role": "user", "parts": [
{ "type": "text", "text": "What are my open action items from this week?" }
]}
}
}' | jq .result.artifacts[0].parts
# explicit skill call
curl -s http://127.0.0.1:47323/ -H "Authorization: Bearer $TOKEN" -H 'content-type: application/json' -d '{
"jsonrpc":"2.0","id":2,"method":"tasks/send",
"params":{"message":{"role":"user","parts":[
{"type":"data","data":{"skill":"get_transcript","args":{"meeting_id":"01J…","format":"srt"}}}
]}}}'
# streaming
curl -N http://127.0.0.1:47323/ -H "Authorization: Bearer $TOKEN" -H 'content-type: application/json' -d '{
"jsonrpc":"2.0","id":3,"method":"tasks/sendSubscribe",
"params":{"message":{"role":"user","parts":[{"type":"text","text":"list my meetings from today"}]}}}'
CLI
npx -y @recordist/gateway MCP over stdio (default)
npx -y @recordist/gateway --http MCP over Streamable HTTP on 127.0.0.1:47322/mcp (bearer token)
npx -y @recordist/gateway --a2a A2A agent on 127.0.0.1:47323 (bearer token)
npx -y @recordist/gateway --all stdio + --http + --a2a (exits if there is no token)
npx -y @recordist/gateway --doctor diagnostics: data dir, DB, token, app reachability, HTTP/A2A auth
npx -y @recordist/gateway --version
--http-port <n> --a2a-port <n> --host <addr>
Always run it with npx by its scoped name, @recordist/gateway. A global
install (npm i -g @recordist/gateway) puts the same command on your path as
recordist-gateway.
--host binds --http and --a2a to another address and exists for
containers. Do not expose it on a network interface: the token would cross the
network in plain HTTP.
Logs go to stderr; stdout is reserved for the stdio MCP transport.
Environment variables
| Variable | Default | Purpose |
|---|---|---|
RECORDIST_DATA_DIR | macOS ~/Library/Application Support/app.recordist.desktopWindows %APPDATA%\app.recordist.desktopLinux ~/.local/share/app.recordist.desktop | Where recordist.db and api_token live |
RECORDIST_API_URL | http://127.0.0.1:47321 | Local API base URL |
RECORDIST_API_TOKEN | contents of <data>/api_token | Bearer token for the local API, and the token --http and --a2a require from callers |
How backend selection works
On each call the gateway probes GET /v1/health (800 ms timeout, result cached
for 5 s). If the app answers, the call goes to the API. Otherwise reads open
<data>/recordist.db read-only (the app's WAL is never written to)
and actions return Recordist app is not running. The database is opened with
better-sqlite3 when its native binary matches the Node that runs the gateway,
and with node:sqlite (Node 22.13 and later) when it does not. If neither can
open it, the error says why for each. FTS5 (segments_fts) is used
for search when present, with a LIKE fallback otherwise.
Security notes
- The gateway binds
127.0.0.1by default.--hostexists for containers; do not expose it on a network interface. The Streamable HTTP transport enables DNS-rebinding protection and only accepts its own Host (127.0.0.1orlocalhostby default). The A2A agent accepts only its own Host, no browser Origin unless allow-listed, and JSON-RPC POSTs only asapplication/json. - The gateway itself talks only to the Recordist app on
127.0.0.1. What it returns goes to the AI assistant you connect, which may send it to its own cloud model, so connect only an assistant you trust with your meetings. --httpand--a2arequireAuthorization: Bearer <api_token>on every request (the A2A Agent Card excepted), compared in constant time, so other user accounts on the machine cannot read meetings through them. Programs running under your own account can readapi_token, so the token does not separate them from you.- The API token is read from
<data>/api_token, which the app writes with mode0600.--doctorwarns if the file is group/world readable. Never commit or share it; anyone with the token can control recording on your laptop. - The SQLite database is opened read-only; the gateway never modifies it.
- No telemetry. The gateway makes no network calls other than to the Recordist app's local API.
Privacy
The gateway and the extension talk to the Recordist app on your laptop, on
127.0.0.1, and to nothing else. They send nothing to Recordist and have no
telemetry. What a tool
returns goes to the assistant that called it, which may send it to its own
cloud model under its provider's terms.
Recordist's privacy policy: https://recordist.app/privacy
Claude Desktop Extension
mcpb/manifest.json describes the extension in the
MCP Bundle format. Build it with:
npm ci
bash scripts/build-mcpb.sh # build/recordist-<version>.mcpb
The script compiles the gateway, installs the production dependencies at their
locked versions, leaves out better-sqlite3 so the bundle carries no native
code, then validates and packs it with the official @anthropic-ai/mcpb CLI.
Claude Desktop runs the extension with the Node it ships, so reads with
Recordist closed use node:sqlite.
Changes in 0.1.8
- The Claude Desktop Extension:
mcpb/manifest.json,mcpb/icon.pngandscripts/build-mcpb.sh, which buildsrecordist-<version>.mcpb. - A Claude Code plugin in
plugins/recordist, listed by the marketplace in.claude-plugin/marketplace.json. - Reads with the app closed fall back to
node:sqlitewhenbetter-sqlite3cannot load, for example under a Node it was not built for. When neither can openrecordist.db, the error names the reason for each instead of saying the file was not found. - A 0.1.7 setup works as it is: the transports, the token checks and the tool names are unchanged.
start_recordingno longer just fails while Allow agents to start recordings is off (the default): it asks Recordist to show its own record card, and says that nothing records until the person answers it. "Record this call" now works with the safe default.stop_recordingandregenerate_notescarrydestructiveHint, so hosts ask before ending a recording or replacing the notes.stop_recordingwaits 30 seconds for the app (it answers once the last of the transcript is written) and, if no answer comes, asks the app again: a recording that has ended is reported as stopped, not as an error.- Plain error words, and the README points to the download page instead of the early-access waiting list, which has closed.
Changes in 0.1.7
- Security: dependency updates for advisories in @modelcontextprotocol/sdk and transitive packages. The SDK floor is now 1.31.0, the first version with the fix for GHSA-6qxp-vccf-f47h. Tools, transports and token checks are unchanged, so a 0.1.6 setup works as it is.
Changes in 0.1.6
- The README and the package and plugin descriptions now say where meeting text
goes. The gateway itself talks only to the Recordist app on
127.0.0.1and listens on loopback by default. What it returns goes to the AI assistant you connect, which may send it to its own cloud model. Earlier versions said that nothing leaves your machine. That is true of the gateway alone, and a cloud assistant sends what it reads to its provider. - The README says the gateway binds
127.0.0.1by default and that--hostis for containers, where it used to say the gateway only ever binds127.0.0.1. - The Recordist app is described as available for Macs with Apple silicon, which is the only build published.
start_recordingnames the setting as the app shows it: Allow agents to start recordings, in Settings → Integrations.- Every command in the README and in
--helpuses the scoped name,npx -y @recordist/gateway. - Source comments point to the public local API reference.
- Tools, transports and token checks are unchanged, so a 0.1.5 setup works as it is.
Changes in 0.1.5
--httpand--a2anow requireAuthorization: Bearer <api_token>on every request; a missing or wrong token gets401. The A2A Agent Card stays public and now listsauthentication.schemes: ["bearer"]. If you used either mode, add the header to your client (see Authentication). The stdio transport is unchanged.--httpand--a2arefuse to start when no token is available (<data>/api_tokenmissing andRECORDIST_API_TOKENunset). So does--all, and it exits before stdio starts, so an assistant that launches the gateway with--allgets nothing. Without a token, launch it with no flags (stdio only).- Library:
createMcpHttpServerandcreateA2AServernow take a requiredtokenoption (the app's api_token) and throw when it is missing or blank. PassloadConfig().apiToken, as in Library use. --doctorreports whether--httpand--a2awill require the token or refuse to start, and where the token comes from.- The MCP HTTP transport answers
400to an unparsable request path instead of ending the process (the A2A agent already did since 0.1.3).
Development
npm install
npm run build # tsc → dist/
npm test # vitest
node dist/cli.js --doctor
Library use
import { createRecordistData, createMcpServer } from "@recordist/gateway";
const data = createRecordistData(); // API with SQLite fallback
const server = createMcpServer(data); // McpServer; attach any transport
The HTTP and A2A servers require a bearer token and throw without one:
import { createMcpHttpServer, createMcpServer, createRecordistData, listen, loadConfig } from "@recordist/gateway";
const config = loadConfig(); // apiToken: <data>/api_token or RECORDIST_API_TOKEN
if (!config.apiToken) throw new Error("open Recordist once so it writes api_token");
const data = createRecordistData(config);
const http = createMcpHttpServer({
createServer: () => createMcpServer(data),
token: config.apiToken, // callers must send Authorization: Bearer <token>
});
await listen(http, 47322);
About
The gateway is the small, open bridge between your AI assistant and the copy of Recordist running on your own laptop. It contains no app code and no keys; it can only reach the local API on the machine it runs on. Issues and questions: [email protected]. Security reports: [email protected] (see SECURITY.md). Made by Recordist, a small independent studio in Ontario, Canada.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.