fivedollars-mcp
v0.0.79Model 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.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of requests to return. Defaults to 50. |
search | string | Case-insensitive substring filter on request name/path/url. Use this to narrow results when looking for a specific request. |
workspaceId | string |
fivedollars_list_environments
List environments and their variable keys (values omitted to avoid leaking secrets).
| Parameter | Type | Description |
|---|---|---|
workspaceId | string |
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.
| Parameter | Type | Description |
|---|---|---|
active | boolean | If true, returns the request currently focused in the app instead of looking up by name/id. |
id | string | Exact request id. Highest precedence. |
name | string | Request name or 'collection/folder/name' path. Case-insensitive. Omit and pass `active: true` to fetch the currently open tab. |
workspaceId | string |
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…
| Parameter | Type | Description |
|---|---|---|
name * | string | Request name or 'collection/folder/name' path. Case-insensitive. |
environment | string | Environment 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… |
extraVars | object | Extra {{var}} values merged on top of the environment for this call. |
maxBodyChars | number | Max 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. |
overrides | object | Optional overrides that don't mutate the saved request. |
workspaceId | string |
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…
| Parameter | Type | Description |
|---|---|---|
url * | string | |
body | ||
bodyType | string | |
environment | string | Environment 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). |
headers | object | |
maxBodyChars | number | Max 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. |
method | string | |
queryParams | object | |
workspaceId | string |
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'.
| Parameter | Type | Description |
|---|---|---|
workspaceId | string |
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…
| Parameter | Type | Description |
|---|---|---|
environment | string | Environment 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. |
extraVars | object | |
maxBodyChars | number | Max 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. |
overrides | object | |
workspaceId | string |
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…
| Parameter | Type | Description |
|---|---|---|
name * | string | Human-readable request name shown in the sidebar. |
url * | string | Request 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. |
authApiKeyKey | string | |
authApiKeyValue | string | |
authBasicPassword | string | |
authBasicUsername | string | |
authBearerToken | string | |
authType | string | Auth scheme applied at send time. |
body | Request body. Pass an object/array to send JSON (auto-stringified). | |
bodyType | string | Body content type. Inferred to `json` when `body` is an object/array and bodyType is omitted. |
collectionId | string | Existing collection id. Highest precedence over collectionName. |
collectionName | string | Collection name. Reused if it already exists, otherwise the app creates it on import. |
description | string | Optional human description shown alongside the request. |
folderPath | array | Optional folder segments inside the collection (e.g. ['users', 'v2']). Folders are created on demand. |
graphqlQuery | string | |
graphqlVariables | string | |
headers | Headers as a `{key: value}` map or an array of KeyValue objects. | |
includeSecretsInCurl | boolean | When true, the curl returned in the response includes auth tokens/passwords in clear. Default false (secrets redacted as <REDACTED>). |
method | string | HTTP method (GET, POST, PUT, PATCH, DELETE, …), or a protocol pseudo-method: WS, SSE, MQTT. Defaults to GET. |
mqttCleanSession | boolean | Defaults to true. |
mqttClientId | string | MQTT client ID. Auto-generated when omitted. |
mqttKeepAlive | number | MQTT keep-alive in seconds. Defaults to 60. |
mqttLastWill | object | |
mqttPassword | string | |
mqttPublishQos | number | |
mqttPublishRetain | boolean | |
mqttPublishTopic | string | Topic used when publishing. |
mqttSubscriptions | array | Topics to subscribe to on connect, each with its own QoS. |
mqttUsername | string | |
pathParams | Path params (e.g. `:id`) as a `{key: value}` map or an array of KeyValue objects. | |
postResponseScript | string | |
preRequestScript | string | |
queryParams | Query params as a `{key: value}` map or an array of KeyValue objects. | |
rawMime | string | Default Content-Type when bodyType=raw and no explicit header is set. |
target | string | Which 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. |
upsert | boolean | When 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. |
urlEncodedFields | array | |
workspaceId | string | Target 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…
| Parameter | Type | Description |
|---|---|---|
patch * | object | Only the fields you send change. Everything else keeps whatever the request has when the user approves. |
active | boolean | Target the request currently focused in the app. |
id | string | Exact request id (from list_collections/get_request). Highest precedence. |
name | string | Request name or 'collection/folder/name' path. Case-insensitive. |
target | string | Which FiveDollars install to write to. 'auto' (default) picks the most recently used. |
workspaceId | string |
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.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Target the request currently focused in the app. |
id | string | Exact request id (from list_collections/get_request). Highest precedence. |
name | string | Request name or 'collection/folder/name' path. Case-insensitive. |
target | string | Which FiveDollars install to write to. 'auto' (default) picks the most recently used. |
workspaceId | string |
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…
| Parameter | Type | Description |
|---|---|---|
ops * | array | Applied 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". |
target | string | Which FiveDollars install to write to. 'auto' (default) picks the most recently used. |
workspaceId | string |
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`.
| Parameter | Type | Description |
|---|---|---|
detail | string | 'summary' (default): doc outline (node ids/types/titles, message counts, edges). 'full': the whole doc layer, including messages and detail sections. |
id | string | Exact diagram node id. Highest precedence. |
name | string | Diagram name or 'collection/folder/name' path. Case-insensitive. |
target | string | Which FiveDollars install to use. 'auto' (default) picks the most recently used. |
workspaceId | string |
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".
| Parameter | Type | Description |
|---|---|---|
name * | string | Diagram name shown in the sidebar. |
ops * | array | Ops 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. |
collectionId | string | Existing collection id. Highest precedence over collectionName. |
collectionName | string | Collection name. Reused if it exists, created otherwise. |
folderPath | array | Folder segments inside the collection, created on demand. |
target | string | Which FiveDollars install to use. 'auto' (default) picks the most recently used. |
workspaceId | string |
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".
| Parameter | Type | Description |
|---|---|---|
ops * | array | Ops 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. |
baseRev | string | `rev` from fivedollars_get_diagram. When given and the doc changed since, the call is refused (re-read and rebuild the ops). |
id | string | Exact diagram node id. Highest precedence. |
name | string | Diagram name or 'collection/folder/name' path. Case-insensitive. |
target | string | Which FiveDollars install to use. 'auto' (default) picks the most recently used. |
workspaceId | string |
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.
| Parameter | Type | Description |
|---|---|---|
base64 | string | Image bytes in base64 (a `data:image/...;base64,` prefix is accepted). Max 5MB. |
mime | string | Declared type of `base64` (image/png, image/jpeg, image/webp, image/gif). |
path | string | Absolute path of a PNG/JPEG/WebP/GIF file (max 5MB). |
target | string | Which 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'.
| Parameter | Type | Description |
|---|---|---|
source * | string | Absolute file path or inline content. For files: '/path/to/openapi.json'. For inline: paste the JSON/curl text directly. |
collectionName | string | Override the collection name (default: derived from the spec). |
format | string | Format of the source. Auto-detected when omitted. |
onExisting | string | What 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… |
target | string | Which FiveDollars install to save into. |
workspaceId | string |
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'.
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Absolute path to the project root to scan for HTTP routes. |
baseUrl | string | Base URL for generated requests. Defaults to {{baseUrl}}. |
collectionName | string | Override collection name (default: project name). |
exclude | array | Skip files whose relative path contains one of these substrings (e.g. ['test', 'mock']). |
framework | string | Framework to scan for. Auto-detected from package.json/requirements.txt when omitted. |
include | array | Only scan files whose relative path contains one of these substrings (e.g. ['src/routes', 'api/']). |
onExisting | string | What 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… |
target | string | |
workspaceId | string |
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…
| Parameter | Type | Description |
|---|---|---|
agent * | string | Which agent to run in the new terminal pane. 'shell' opens a plain login shell; 'custom' types the `command` you pass. |
autoApprove | boolean | Ask 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… |
command | string | Shell command typed into the terminal (required when agent='custom'). |
context | string | Findings 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… |
cwd | string | Absolute working directory for the pane. Omit to reuse the folder of the currently focused pane (or the user picks later). |
deliverable | string | The 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. |
effort | string | Reasoning effort for the pane. Overrides whatever `scope` would have picked. |
files | array | Files 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. |
model | string | Model 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… |
name | string | Recommended: 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. |
prompt | string | REQUIRED 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… |
provider | string | Name 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 `… |
scope | string | Task 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… |
skills | array | Claude 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… |
target | string | |
toolGroups | array | Grant 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… |
workspaceId | string |
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…
| Parameter | Type | Description |
|---|---|---|
text * | string | Text typed into the pane's terminal. |
paneId | string | Exact pane id (from fivedollars_five_list). |
paneName | string | Case-insensitive pane display name — alternative to paneId. |
submit | boolean | Append Enter after the text. Default true. |
target | string | |
workspaceId | string |
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…
| Parameter | Type | Description |
|---|---|---|
reason * | string | Short reason shown to the user (toast + Squad), e.g. 'stuck 10 min without report'. |
all | string | Close 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. |
cascade | boolean | Also close the sub-scouts of each target. Without it a pane with a live sub-scout is refused. |
paneIds | array | Exact pane ids to close (from fivedollars_five_list). Pass this OR `all`. |
target | string |
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.
| Parameter | Type | Description |
|---|---|---|
target | string | |
workspaceId | string |
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.
| Parameter | Type | Description |
|---|---|---|
text * | string | Your result / findings / status summary to send back. |
fromName | string | Optional label to identify yourself (e.g. the scout name you were given). |
status | string | done = finished, blocked = stuck, progress = partial update. Default done. |
target | string | |
workspaceId | string |
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.
| Parameter | Type | Description |
|---|---|---|
caption | string | |
path | string | Absolute path of a local image file. |
svg | string | Raw SVG markup. |
target | string | |
url | string | http/https URL of an image. |
workspaceId | string |
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`.
| Parameter | Type | Description |
|---|---|---|
all | boolean | Ignore the read cursor and re-read reports already collected (newest first). Use only if you lost context — it still advances the cursor. |
limit | number | Max reports to return (newest first). Defaults to 5. |
reportId | string | Return the FULL untruncated text of this one report. Does not touch the read cursor. |
sinceMinutes | number | Only 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…
| Parameter | Type | Description |
|---|---|---|
cwd | string | Project directory to read diagnostics for. Defaults to the working directory of this agent. |
limit | number | Max diagnostics to return. Defaults to 50. |
path | string | Case-insensitive substring of the file path — return only diagnostics whose file matches (e.g. 'storeApp' or 'src/lib/five'). |
severity | string | Filter by severity. Defaults to 'error'. |
target | string | |
waitMs | number | How 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.
| Parameter | Type | Description |
|---|---|---|
connectionId * | string | Connection id from fivedollars_sql_list_connections. |
table | string | Omit 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…
| Parameter | Type | Description |
|---|---|---|
connectionId * | string | Connection id from fivedollars_sql_list_connections. |
sql * | string | One 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… |
maxRows | number | Row 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.
| Parameter | Type | Description |
|---|---|---|
connectionId * | string | Connection id from fivedollars_redis_list_connections. |
count | number | COUNT hint per page (default 200, max 1000). The server may return more or fewer keys. |
cursor | string | Cursor from the previous page (default "0"). `done: true` means the scan finished. |
pattern | string | SCAN MATCH glob (default "*"), e.g. "session:*" or "user:{42}:*". |
type | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
connectionId * | string | Connection id from fivedollars_redis_list_connections. |
count | number | Items per page for collection types (default 100, max 500). |
cursor | string | hash/set/stream: `cursor` from the previous page of this value. |
key | string | Key name as text. Pass this OR keyB64. |
keyB64 | string | Binary key in base64, exactly as fivedollars_redis_scan returned it. |
start | number | list/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…
| Parameter | Type | Description |
|---|---|---|
argv * | array | The 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 * | string | Connection 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…
| Parameter | Type | Description |
|---|---|---|
topic | string | Optional sub-topic. Defaults to 'overview' which lists every tool and common workflows. |