fivedollars-mcp

v0.0.79
fivedollars-mcp Checked 2 hours ago Published 20 days ago

Model Context Protocol server for the FiveDollars API Client.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fivedollars_list_workspaces

List FiveDollars workspaces available on this machine, with the source file used (Tauri app data or VSCode globalStorage).

fivedollars_list_collections

List saved requests in the workspace, flattened. Returns id, name, full path, method, url. Always pass `search` (case-insensitive substring of name/path/url) when the user mentions a request by name — full listings can be very large. Default `limit` is 50.

ParameterTypeDescription
limitnumberMaximum number of requests to return. Defaults to 50.
searchstringCase-insensitive substring filter on request name/path/url. Use this to narrow results when looking for a specific request.
workspaceIdstring

fivedollars_list_environments

List environments and their variable keys (values omitted to avoid leaking secrets).

ParameterTypeDescription
workspaceIdstring

fivedollars_get_request

Return the saved configuration of a request (URL, method, headers, query/path params, body) WITHOUT sending it. Always call this first when the user asks to run a request with specific values (account IDs, ids, custom fields) — inspect the body to know which keys to override via `bodyJsonPatch`, instead of guessing field names.

ParameterTypeDescription
activebooleanIf true, returns the request currently focused in the app instead of looking up by name/id.
idstringExact request id. Highest precedence.
namestringRequest name or 'collection/folder/name' path. Case-insensitive. Omit and pass `active: true` to fetch the currently open tab.
workspaceIdstring

fivedollars_send_request

Run a saved request by name (or 'collection/folder/name' path). Variables from the active or specified environment are applied. Supports per-call overrides without mutating the saved request. To change a few keys in a JSON body (e.g. user says 'with id 30670'), use `overrides.bodyJsonPatch: { id: 30670 }` — DO NOT replace the entire body unless explicitly asked. Inspect the request with fivedollars_get_request first if you're unsure which key to patch. Security: `overrides.url` pointing the request at a host the workspace doesn't use is REFUSED when the request carries credentials — nothin…

ParameterTypeDescription
name *stringRequest name or 'collection/folder/name' path. Case-insensitive.
environmentstringEnvironment name or id. CONFIRM IT WITH THE USER before sending. When the workspace has more than one environment and this is omitted, the send is REFUSED and nothing goes out — ask the user and ret…
extraVarsobjectExtra {{var}} values merged on top of the environment for this call.
maxBodyCharsnumberMax chars of the response body returned (default 12000, ceiling 200000). A longer body comes back cut with bodyTruncated: true, bodyChars and bodyHint. Raise it only when the cut part is needed.
overridesobjectOptional overrides that don't mutate the saved request.
workspaceIdstring

fivedollars_send_adhoc

Run an ad-hoc HTTP request not saved in any collection. Useful for quick one-offs. Variables from the active environment are still applied if present. Security: if the call would resolve a secret variable (token, password, api key) into a host that no environment variable points at, it is REFUSED before anything is sent — report the refusal to the user instead of retrying with a different URL or tool. See fivedollars_help topic="security". Environment confirmation: `environment` must be confirmed with the user BEFORE sending. If it is omitted and the workspace has 2+ environments the call is…

ParameterTypeDescription
url *string
body
bodyTypestring
environmentstringEnvironment name or id whose variables/secrets are applied. CONFIRM IT WITH THE USER: omitting it on a workspace with 2+ environments REFUSES the send (nothing is sent).
headersobject
maxBodyCharsnumberMax chars of the response body returned (default 12000, ceiling 200000). A longer body comes back cut with bodyTruncated: true, bodyChars and bodyHint. Raise it only when the cut part is needed.
methodstring
queryParamsobject
workspaceIdstring

fivedollars_list_open_requests

List the request tabs the user currently has open or pinned in the app, marking which one is active. Use when the user refers to 'the request I have open' or 'my pinned requests'.

ParameterTypeDescription
workspaceIdstring

fivedollars_send_active_request

Run the request currently focused (active tab) in the FiveDollars app. Use when the user says 'run the request I have open', 'send what I'm looking at', 'execute this with account X' (combine with `environment`). Optional overrides change the call without mutating the saved request. To change a JSON body field (e.g. 'with account 30670'), prefer `overrides.bodyJsonPatch: { fieldName: 30670 }` — call fivedollars_get_request with `active: true` first to see which fields exist. Environment confirmation: `environment` must be confirmed with the user BEFORE sending. If it is omitted and the works…

ParameterTypeDescription
environmentstringEnvironment name or id. CONFIRM IT WITH THE USER before sending. Omitting it on a workspace with 2+ environments REFUSES the send (nothing is sent) and returns the list to ask with.
extraVarsobject
maxBodyCharsnumberMax chars of the response body returned (default 12000, ceiling 200000). A longer body comes back cut with bodyTruncated: true, bodyChars and bodyHint. Raise it only when the cut part is needed.
overridesobject
workspaceIdstring

fivedollars_create_request

Create a NEW saved request inside the user's FiveDollars workspace. Use when the user asks to 'add', 'save', or 'create' a request from a snippet, OpenAPI doc, README example, or repo source. If a request already exists at the same collection/folder/name this call FAILS instead of duplicating it — switch to fivedollars_update_request (or pass `upsert: true`). Pass `name`, `method`, `url`, and either `collectionId` (existing collection) or `collectionName` (reused or created). Optional `folderPath` builds nested folders. Headers/queryParams/pathParams accept either `{key: value}` or `KeyValue…

ParameterTypeDescription
name *stringHuman-readable request name shown in the sidebar.
url *stringRequest URL. For MQTT, the broker address (e.g. mqtt://host:1883 or mqtts://host:8883). May contain {{var}} placeholders that will be resolved from the active environment when the user runs it.
authApiKeyKeystring
authApiKeyValuestring
authBasicPasswordstring
authBasicUsernamestring
authBearerTokenstring
authTypestringAuth scheme applied at send time.
bodyRequest body. Pass an object/array to send JSON (auto-stringified).
bodyTypestringBody content type. Inferred to `json` when `body` is an object/array and bodyType is omitted.
collectionIdstringExisting collection id. Highest precedence over collectionName.
collectionNamestringCollection name. Reused if it already exists, otherwise the app creates it on import.
descriptionstringOptional human description shown alongside the request.
folderPatharrayOptional folder segments inside the collection (e.g. ['users', 'v2']). Folders are created on demand.
graphqlQuerystring
graphqlVariablesstring
headersHeaders as a `{key: value}` map or an array of KeyValue objects.
includeSecretsInCurlbooleanWhen true, the curl returned in the response includes auth tokens/passwords in clear. Default false (secrets redacted as <REDACTED>).
methodstringHTTP method (GET, POST, PUT, PATCH, DELETE, …), or a protocol pseudo-method: WS, SSE, MQTT. Defaults to GET.
mqttCleanSessionbooleanDefaults to true.
mqttClientIdstringMQTT client ID. Auto-generated when omitted.
mqttKeepAlivenumberMQTT keep-alive in seconds. Defaults to 60.
mqttLastWillobject
mqttPasswordstring
mqttPublishQosnumber
mqttPublishRetainboolean
mqttPublishTopicstringTopic used when publishing.
mqttSubscriptionsarrayTopics to subscribe to on connect, each with its own QoS.
mqttUsernamestring
pathParamsPath params (e.g. `:id`) as a `{key: value}` map or an array of KeyValue objects.
postResponseScriptstring
preRequestScriptstring
queryParamsQuery params as a `{key: value}` map or an array of KeyValue objects.
rawMimestringDefault Content-Type when bodyType=raw and no explicit header is set.
targetstringWhich FiveDollars install to save into. 'auto' (default) picks the most-recently-used data file. Use 'vscode' or 'tauri' to force a specific install when both are present.
upsertbooleanWhen a request already exists at the same collection/folder/name, update it instead of failing. Default false: the call errors out so you don't duplicate the user's request.
urlEncodedFieldsarray
workspaceIdstringTarget workspace id. Defaults to the user's active workspace.

fivedollars_update_request

Change an existing saved request instead of creating a new one. ALWAYS prefer this over fivedollars_create_request when the user asks to fix, adjust, rename, or re-point a request that already exists — recreating it would leave a duplicate behind. Target it with `id` (from list_collections), `name`/'collection/folder/name' path, or `active: true`. Only the fields inside `patch` change; use `patch.bodyJsonPatch` to touch a few JSON keys and `patch.headers` only when you want to replace the whole header list. Queues a pending item the user approves in About → MCP Inbox; nothing changes until…

ParameterTypeDescription
patch *objectOnly the fields you send change. Everything else keeps whatever the request has when the user approves.
activebooleanTarget the request currently focused in the app.
idstringExact request id (from list_collections/get_request). Highest precedence.
namestringRequest name or 'collection/folder/name' path. Case-insensitive.
targetstringWhich FiveDollars install to write to. 'auto' (default) picks the most recently used.
workspaceIdstring

fivedollars_delete_request

Delete a saved request from the user's collection. Target it with `id`, `name`/path, or `active: true`. Use this to clean up requests the user no longer wants — including ones an earlier import duplicated. Queues a pending item that the user must approve in About → MCP Inbox, where deletions are flagged and confirmed separately; nothing is removed until they accept. Only whole requests — to delete folders or collections use fivedollars_organize_collections.

ParameterTypeDescription
activebooleanTarget the request currently focused in the app.
idstringExact request id (from list_collections/get_request). Highest precedence.
namestringRequest name or 'collection/folder/name' path. Case-insensitive.
targetstringWhich FiveDollars install to write to. 'auto' (default) picks the most recently used.
workspaceIdstring

fivedollars_organize_collections

Reorganize the user's collections in ONE atomic batch of `ops`: createCollection, renameCollection, deleteCollection, createFolder, renameNode, moveNode (across collections too), deleteNode (folders recursively) and reorder. Use it whenever the user asks to move, group, rename, sort or clean up requests/folders/collections — moves and renames KEEP node ids, so never 'move' a request with create_request + delete_request (that changes the id and breaks diagram steps, schedules and tabs). Reference nodes by id (preferred) or full 'collection/folder/name' path, collections by id or name; a creat…

ParameterTypeDescription
ops *arrayApplied in order, all-or-nothing: if any op is invalid when the user approves, nothing changes. Later ops see the result of earlier ones. See fivedollars_help topic="organize".
targetstringWhich FiveDollars install to write to. 'auto' (default) picks the most recently used.
workspaceIdstring

fivedollars_get_diagram

Read a saved diagram (by `id` or `name`/'collection/folder/name' path) WITHOUT changing it: its visual `doc` layer (frames, boxes, sequence diagrams, tables, edges — `detail: "full"` for every message), a summary of the executable steps (ids, kind, name, method, masked url — never headers/body/auth) and a `rev`. Call it before fivedollars_apply_diagram_ops to reuse existing ids and pass `rev` as `baseRev`.

ParameterTypeDescription
detailstring'summary' (default): doc outline (node ids/types/titles, message counts, edges). 'full': the whole doc layer, including messages and detail sections.
idstringExact diagram node id. Highest precedence.
namestringDiagram name or 'collection/folder/name' path. Case-insensitive.
targetstringWhich FiveDollars install to use. 'auto' (default) picks the most recently used.
workspaceIdstring

fivedollars_create_diagram

Create a NEW visual diagram in a collection, built from doc `ops` (upsertSection = frame + sequence diagram of lanes and arrows; upsertNode for boxes/text/images/tables/legend; upsertEdge to connect them). Use for architecture/flow documentation the user asks you to draw. Fails if a diagram already exists at the same collection/folder/name — use fivedollars_apply_diagram_ops then. Queued in the MCP Inbox for the user's approval; malformed ops come back in `opErrors`. Op shapes and a full example: fivedollars_help topic="diagram".

ParameterTypeDescription
name *stringDiagram name shown in the sidebar.
ops *arrayOps on the diagram's visual doc layer, applied in order and atomically. Each item is { op, ... }. See fivedollars_help topic="diagram" for every op shape and an upsertSection example.
collectionIdstringExisting collection id. Highest precedence over collectionName.
collectionNamestringCollection name. Reused if it exists, created otherwise.
folderPatharrayFolder segments inside the collection, created on demand.
targetstringWhich FiveDollars install to use. 'auto' (default) picks the most recently used.
workspaceIdstring

fivedollars_apply_diagram_ops

Change the visual `doc` layer of an existing diagram with ops (upsert/remove nodes, edges, lanes, statuses, sequence messages, whole sections; relayout). Ops are upserts by id (idempotent) and atomic; they never touch the executable steps. Pass `baseRev` (the `rev` from fivedollars_get_diagram) to refuse the change when the doc moved since you read it. Queued in the MCP Inbox for approval; open tabs of the diagram reload when applied. See fivedollars_help topic="diagram".

ParameterTypeDescription
ops *arrayOps on the diagram's visual doc layer, applied in order and atomically. Each item is { op, ... }. See fivedollars_help topic="diagram" for every op shape and an upsertSection example.
baseRevstring`rev` from fivedollars_get_diagram. When given and the doc changed since, the call is refused (re-read and rebuild the ops).
idstringExact diagram node id. Highest precedence.
namestringDiagram name or 'collection/folder/name' path. Case-insensitive.
targetstringWhich FiveDollars install to use. 'auto' (default) picks the most recently used.
workspaceIdstring

fivedollars_add_diagram_asset

Store an image for a diagram image node and return its `assetRef`. Pass a file `path` OR `base64` + `mime`. PNG, JPEG, WebP or GIF only (no SVG), max 5MB. Written directly next to the app data (content-addressed, no approval). Then reference it with { op: "upsertNode", node: { type: "image", assetRef } }. Desktop app only.

ParameterTypeDescription
base64stringImage bytes in base64 (a `data:image/...;base64,` prefix is accepted). Max 5MB.
mimestringDeclared type of `base64` (image/png, image/jpeg, image/webp, image/gif).
pathstringAbsolute path of a PNG/JPEG/WebP/GIF file (max 5MB).
targetstringWhich FiveDollars install to use. 'auto' (default) picks the most recently used.

fivedollars_import_from_spec

Bulk-import requests from an OpenAPI 3.x spec, Postman v2.1 collection, or curl commands. Pass a file path or inline content. Auto-detects format. Requests that already exist are skipped by default (pass `onExisting: "update"` to patch them), so re-importing a spec never duplicates anything. All items are queued in the FiveDollars inbox for review. Use when the user says 'import from swagger', 'import this OpenAPI', 'import Postman collection', or 'import these curls'.

ParameterTypeDescription
source *stringAbsolute file path or inline content. For files: '/path/to/openapi.json'. For inline: paste the JSON/curl text directly.
collectionNamestringOverride the collection name (default: derived from the spec).
formatstringFormat of the source. Auto-detected when omitted.
onExistingstringWhat to do when a request with the same collection/folder/name already exists. 'skip' (default) leaves it alone, 'update' queues a patch for it, 'duplicate' queues a second request. Re-importing a spe…
targetstringWhich FiveDollars install to save into.
workspaceIdstring

fivedollars_import_from_source

Scan a project's source code for HTTP route definitions and create requests in FiveDollars. Supports Express, Fastify, NestJS, and FastAPI. Auto-detects framework from package.json or requirements.txt. Use when the user says 'import routes from my project', 'scan this codebase for endpoints', or 'create requests from source code'.

ParameterTypeDescription
projectPath *stringAbsolute path to the project root to scan for HTTP routes.
baseUrlstringBase URL for generated requests. Defaults to {{baseUrl}}.
collectionNamestringOverride collection name (default: project name).
excludearraySkip files whose relative path contains one of these substrings (e.g. ['test', 'mock']).
frameworkstringFramework to scan for. Auto-detected from package.json/requirements.txt when omitted.
includearrayOnly scan files whose relative path contains one of these substrings (e.g. ['src/routes', 'api/']).
onExistingstringWhat to do when a request with the same collection/folder/name already exists. 'skip' (default) leaves it alone, 'update' queues a patch for it, 'duplicate' queues a second request. Re-importing a spe…
targetstring
workspaceIdstring

fivedollars_five_spawn

Open a NEW terminal pane in the FiveDollars FiveCoding cockpit (desktop app) running an AI coding agent — claude (Claude Code), codex, gemini, a custom `command`, or a plain shell — optionally typing a `prompt` into the agent once it boots. Use this to dispatch parallel 'scout' agents working on related tasks while you keep the conversation: e.g. spawn a codex pane in the API folder writing tests while you build the backend. BRIEF THE SCOUT: pass `context` (findings you already confirmed, so it trusts them instead of re-investigating), `files` (paths you already located, as `path:line`) an…

ParameterTypeDescription
agent *stringWhich agent to run in the new terminal pane. 'shell' opens a plain login shell; 'custom' types the `command` you pass.
autoApprovebooleanAsk for the agent to launch with permissions bypassed (claude --dangerously-skip-permissions etc.). Omit to INHERIT the dispatching pane's bypass; pass false to force a supervised scout. Not guarantee…
commandstringShell command typed into the terminal (required when agent='custom').
contextstringFindings you ALREADY confirmed, so the scout trusts them instead of re-investigating: exact symbol names, decisions taken, what you ruled out. Distilled facts only — never a transcript, a file dump…
cwdstringAbsolute working directory for the pane. Omit to reuse the folder of the currently focused pane (or the user picks later).
deliverablestringThe DONE WHEN condition: the scout stops as soon as this exists, no scope widening. E.g. 'npx tsc --noEmit clean and the 5 fields present in the schema'. Truncated at 400 chars.
effortstringReasoning effort for the pane. Overrides whatever `scope` would have picked.
filesarrayFiles the scout needs, already located — prefer `path:line` (e.g. 'src/lib/five/fiveCommand.ts:81') so it opens the exact spot instead of grepping for it. Truncated at 20 entries.
modelstringModel the pane launches with (`--model`), e.g. 'opus', 'sonnet', 'haiku' for claude. Omit to use the CLI default. Handy to send cheap scouts on a smaller model. Prefer `scope` unless you want an exact…
namestringRecommended: short kebab-case task name for the pane header and the Squad board card (e.g. 'fix-squad-hue'). Omitted, the card falls back to words from the prompt.
promptstringREQUIRED whenever you brief a scout: the task itself, sent to the agent AFTER it boots (submitted with Enter). Without it the scout boots idle ("No prompt yet") even when context/deliverable/files are…
providerstringName of a provider profile the user configured in FiveDollars (e.g. 'DeepSeek', 'OpenRouter') to run this scout on a cheaper third-party model. Usually omit it: the user's routing already sends each `…
scopestringTask weight — resolves model AND reasoning effort: narrow=haiku (no effort), standard=sonnet+medium, deep=opus+high. This is the cost lever: send lookups as narrow. Omit it (together with `model`/`e…
skillsarrayClaude Code skills/plugins the pane boots with, as `plugin@marketplace` ids (e.g. 'caveman@caveman-plugin') — only for agent='claude'. They are written into the pane's own settings file, so they app…
targetstring
toolGroupsarrayGrant extra MCP tool groups to the scout, which otherwise only gets the five_* cockpit tools. 'diagram' = fivedollars_get_diagram / create_diagram / apply_diagram_ops / add_diagram_asset + fivedollars…
workspaceIdstring

fivedollars_five_send

Type text into an EXISTING FiveCoding terminal pane (by `paneId` from fivedollars_five_list, or case-insensitive `paneName`). Use it ONLY for follow-up instructions to an IDLE scout you spawned earlier, continuing its own task — for new work (even on files that pane touched) prefer fivedollars_five_spawn: text sent to a busy agent queues into its current turn and mixes contexts. `submit` defaults to true (appends Enter). Queued via the FiveDollars inbox; only typed when the pane is running (auto-run enabled or after user approval). Errors immediately (nothing queued) when the pane no longer…

ParameterTypeDescription
text *stringText typed into the pane's terminal.
paneIdstringExact pane id (from fivedollars_five_list).
paneNamestringCase-insensitive pane display name — alternative to paneId.
submitbooleanAppend Enter after the text. Default true.
targetstring
workspaceIdstring

fivedollars_five_close

Close terminal panes YOU dispatched in the FiveCoding cockpit — scouts that are stuck, never reported, or already delivered and stayed open. Pass `paneIds` (from fivedollars_five_list) OR `all`: done = already reported, idle = no terminal output right now, all = every scout you dispatched. `reason` is required and is shown to the user (toast + Squad). Only descendants of your own pane can be closed (scouts and their sub-scouts); your own pane, panes the user opened by hand, another maestro's panes and pinned panes are always refused. A pane with a live sub-scout is refused unless you pass `c…

ParameterTypeDescription
reason *stringShort reason shown to the user (toast + Squad), e.g. 'stuck 10 min without report'.
allstringClose your own scouts in bulk instead of listing ids: done = already reported, idle = no terminal output right now (stuck or waiting), all = every scout you dispatched.
cascadebooleanAlso close the sub-scouts of each target. Without it a pane with a live sub-scout is refused.
paneIdsarrayExact pane ids to close (from fivedollars_five_list). Pass this OR `all`.
targetstring

fivedollars_five_list

List the FiveCoding cockpit tabs and terminal panes the user has open (id, name, agent, working directory, git-worktree flag). Reads the app's last persisted snapshot — runtime status (running/idle) and terminal output are NOT available. Use it before fivedollars_five_send to find the right paneId, or to check what scouts already exist before spawning more.

ParameterTypeDescription
targetstring
workspaceIdstring

fivedollars_five_report

Send YOUR result / findings / status back to the cockpit so the agent that dispatched you (the maestro) can collect it. Call this when you finish your task or get blocked — you keep running in parallel, nothing blocks. Your pane identity is auto-detected. `status`: done | blocked | progress.

ParameterTypeDescription
text *stringYour result / findings / status summary to send back.
fromNamestringOptional label to identify yourself (e.g. the scout name you were given).
statusstringdone = finished, blocked = stuck, progress = partial update. Default done.
targetstring
workspaceIdstring

fivedollars_five_show_image

Show an image to the user as an overlay on top of YOUR OWN pane in the FiveCoding cockpit. Use it when the user asks to see/show an image, chart, diagram or screenshot. Pass exactly one of `path` (absolute local file), `url` (http/https) or `svg` (raw SVG markup); you can write an SVG/PNG file first and pass its path. Allowed: png, jpeg, gif, webp, svg; max 5MB. Optional `caption` (max 200 chars). Desktop FiveCoding pane only; pane identity is auto-detected.

ParameterTypeDescription
captionstring
pathstringAbsolute path of a local image file.
svgstringRaw SVG markup.
targetstring
urlstringhttp/https URL of an image.
workspaceIdstring

fivedollars_five_results

Collect the reports your dispatched scouts sent back with fivedollars_five_report (newest first). Do NOT poll: every report already arrives typed into your terminal, and one delivered complete there counts as read. Call it only when a notice says the text was truncated — pass the `reportId` the notice gives to read that one in full. Without args it returns only reports you have not seen yet (marking them read); long texts come truncated with `truncated: true`. `all: true` re-reads already-collected reports if you lost context. Filter with `sinceMinutes` / `limit`.

ParameterTypeDescription
allbooleanIgnore the read cursor and re-read reports already collected (newest first). Use only if you lost context — it still advances the cursor.
limitnumberMax reports to return (newest first). Defaults to 5.
reportIdstringReturn the FULL untruncated text of this one report. Does not touch the read cursor.
sinceMinutesnumberOnly reports from the last N minutes. Omit for all recent.

fivedollars_five_diagnostics

Read TypeScript type errors for the project you are working in, WITHOUT running the compiler yourself. The FiveDollars app keeps one warm `tsc --watch` per repo (shared by every pane in it), so this answers in well under a second where `tsc --noEmit` costs tens of seconds — prefer it over shelling out to tsc after every edit, and use a real `tsc`/lint run only for the final check. Filter with `path` (substring of the file path) and `severity`. If a compile is in flight the call waits for it (`waitMs`, default 20s) so you never read results from before your edit. Returns `available: false` wh…

ParameterTypeDescription
cwdstringProject directory to read diagnostics for. Defaults to the working directory of this agent.
limitnumberMax diagnostics to return. Defaults to 50.
pathstringCase-insensitive substring of the file path — return only diagnostics whose file matches (e.g. 'storeApp' or 'src/lib/five').
severitystringFilter by severity. Defaults to 'error'.
targetstring
waitMsnumberHow long to wait for an in-flight compile to finish before answering. Defaults to 20000 (20s). Pass 0 to read whatever is on disk right now.

fivedollars_sql_list_connections

List the database connections the user opened to agents in the FiveDollars SQL client. Call this FIRST when the user asks anything about their database — you get connection ids to pass to fivedollars_sql_query / fivedollars_sql_schema. Returns an empty list plus instructions when the master switch (About → Permissions) or the per-connection toggle is off; relay that to the user instead of guessing connection strings or shelling out to psql/mysql.

fivedollars_sql_schema

Read the schema of a connection opened to agents: tables (no `table`) or the columns, types, nullability and primary key of one table (`table`). Use it before writing a query instead of guessing table and column names.

ParameterTypeDescription
connectionId *stringConnection id from fivedollars_sql_list_connections.
tablestringOmit to list tables; pass a table name to get its columns.

fivedollars_sql_query

Run SQL on a connection the user opened to agents, and get the rows back. Read statements (SELECT/WITH/SHOW/DESCRIBE/EXPLAIN) run directly. Writes (INSERT/UPDATE/DELETE/DDL, or several statements) run ONLY after the user approves them in the FiveDollars app: the app shows the exact SQL and the user clicks Run, so the call can wait up to 4 minutes — tell the user you are waiting for their approval. A refused or expired write returns an error saying nothing ran; do not resend the same SQL. Writes are refused with the reason on connections where the user has not enabled agent write access, and…

ParameterTypeDescription
connectionId *stringConnection id from fivedollars_sql_list_connections.
sql *stringOne statement. Reads (SELECT/WITH/SHOW/DESCRIBE/EXPLAIN) run directly. Writes (INSERT/UPDATE/DELETE/DDL, or several statements separated by ;) need the user's approval in the app: the user sees the ex…
maxRowsnumberRow cap for this call (default 200, max 1000).

fivedollars_redis_list_connections

List the Redis connections the user opened to agents in the FiveDollars Redis client. Call this FIRST when the user asks anything about their Redis — you get connection ids to pass to fivedollars_redis_scan / fivedollars_redis_get / fivedollars_redis_command. Returns an empty list plus instructions when the Redis master switch (About → Permissions) or the per-connection toggle is off; relay that to the user instead of guessing hosts or shelling out to redis-cli.

fivedollars_redis_scan

List keys of a Redis connection opened to agents, one SCAN page per call (never KEYS, so it is safe on big databases). Pass `pattern` (glob), and the returned `cursor` to get the next page until `done: true`. Each key comes with its type and TTL (ms, -1 = no TTL). Binary keys come back as `keyB64`. Runs inside the FiveDollars app (it holds the password) — needs the desktop app open.

ParameterTypeDescription
connectionId *stringConnection id from fivedollars_redis_list_connections.
countnumberCOUNT hint per page (default 200, max 1000). The server may return more or fewer keys.
cursorstringCursor from the previous page (default "0"). `done: true` means the scan finished.
patternstringSCAN MATCH glob (default "*"), e.g. "session:*" or "user:{42}:*".
typestringOnly keys of this type (SCAN TYPE).

fivedollars_redis_get

Read one Redis key's value with its type, length and TTL. Collections (hash/list/set/zset/stream) are paged: pass `cursor` (hash/set/stream) or `start` (list/zset) from the previous answer to read more. Big values are cut and flagged `truncated`. The value is rendered redis-cli style in `text`. Read-only, no approval needed.

ParameterTypeDescription
connectionId *stringConnection id from fivedollars_redis_list_connections.
countnumberItems per page for collection types (default 100, max 500).
cursorstringhash/set/stream: `cursor` from the previous page of this value.
keystringKey name as text. Pass this OR keyB64.
keyB64stringBinary key in base64, exactly as fivedollars_redis_scan returned it.
startnumberlist/zset: `next` from the previous page of this value (default 0).

fivedollars_redis_command

Run one Redis command (`argv`, already split) on a connection the user opened to agents. Read commands (GET, HGETALL, ZRANGE, TTL, INFO…) run directly. Writes (SET, DEL, EXPIRE, EVAL…) and expensive commands like KEYS run ONLY after the user approves them in the FiveDollars app: the app shows the exact command and the user clicks Run, so the call can wait up to 4 minutes — tell the user you are waiting for their approval. A refused or expired write returns an error saying nothing ran; do not resend it. Writes are refused on connections without agent write access or marked read-only, and…

ParameterTypeDescription
argv *arrayThe command already split into arguments, e.g. ["HGETALL", "user:1"] or ["SET", "k", "v", "EX", "60"]. Reads run directly. Writes need the user to click Run in the app (the call can wait a few minutes…
connectionId *stringConnection id from fivedollars_redis_list_connections.

fivedollars_preview_errors

Read the JavaScript errors and warnings the user's dev server page produced in the FiveDollars preview window (console.error/warn, uncaught errors, unhandled promise rejections), with message, stack and page URL. Use it after changing front-end code instead of asking the user to copy the browser console. Each call DRAINS the buffer, so a second call right after shows only what happened since — reload the page, then call again. Returns `open: false` when no preview window is open; then ask the user to open the preview from the pane toolbar.

fivedollars_help

Return a markdown quick-reference for users (or AI agents) explaining how this MCP integrates with FiveDollars: available tools, common flows (list/inspect/send/create), how variables and scripts work. Call this whenever the user asks 'how do I use fivedollars', 'what can this MCP do', 'help me with fivedollars MCP', or when you need to remind yourself of the tool shapes. Optional `topic` narrows the output: 'overview' (default), 'tools', 'create', 'send', 'variables', 'scripts', 'import', 'security' (what is redacted and where credentials may be sent), 'diagram' (visual diagram ops), 'organiz…

ParameterTypeDescription
topicstringOptional sub-topic. Defaults to 'overview' which lists every tool and common workflows.