About Matbot Tool
Matbot Tool is an MCP server published by MatAtBread in the Browser category: connect MCP (Model Context Protocol) servers and expose their tools. Adds local stdio transport on top of the cross-platform remote (HTTP) transport, which it hard-depends on and delegates to. Conduid read 13 tools from its source: ask_inner_voice, dream_time, gate_action, mcp_action, plugin, profile_action and 7 more. It is published to npm as @matatbread/matbot-tool-mcp, a package with no command-line entry point.
The MatAtBread/matbot monorepo this package is published from has 5 stars and 1 forks, and its last commit was on 29 Nov 2026. Conduid has no tagged release on record for it. Its topics include browser, harness and platfrom-independent.
Install
npm install @matatbread/matbot-tool-mcpgit clone https://github.com/MatAtBread/matbotTools (13)
ask_inner_voiceConsult the Inner voice — a second model that constructively critiques your draft response — and return its critique. This is a one-shot call to a SEPARATE model (not your own response): send a `prompt` summarising the problem and your draft, plus an optional `system` framing, and get back its text. Which provider answers is configured (cognition_config `innerVoiceProvider`) — ideally a different training lineage; absent, it uses the current turn's model. You do not name a provider here.| Parameter | Type | Description |
|---|---|---|
| prompt * | string | The problem summary and your draft response for the inner voice to critique. |
| system | string | Optional system prompt framing the inner voice (e.g. the Matbot₂ instructions). |
dream_timeRun one pass of background memory consolidation. Scores every unassigned fact in the remembered_facts store against every existing skill (minus a small blocklist) in a single ranking, then acts on the whole backlog at once: facts whose top skill clears the "strong" threshold are spliced into that skill (grouped by skill, contradictions flagged inline), up to a configured per-pass merge budget and per-skill cluster cap. Anything above the budget waits for the next pass.
Facts that score too low to route anywhere ("none") get one extra look enriched with the surrounding conversation before being retired permanently — a bare fact can under-score in isolation but route cleanly once disambiguated (enrichment itself is budgeted per pass; facts over that budget are deferred, not retired). Facts that route only weakly (a sound fact, just no confident skill home yet) are deferred rather than retired — they become eligible again after a cooldown, since the skill landscape may change later; after `weakVerdictsBeforeBacklog` weak verdicts (default 4) a fact moves to the backlog (`__backlog__`) and is not re-ranked, awaiting clustering into new skills — unless every address, number and quoted identifier in it already appears in that skill, when it is retired as already known (`__known__`). One pass runs at a time, across processes: a call made while another pass is running is skipped. Once the backlog has grown by `clusterAfterBacklogGrowth` (default 30) since the last clustering, the pass groups it by subject: a group belonging to an existing skill is merged into it, and a new group of at least `minClusterSize` facts (default 8) that a user's message could name is written up as a CANDIDATE skill — withheld from the model until a person adopts it (skill_action adopt), and deleted to reject it, which returns its facts to the backlog. A group none of whose facts is skill material (the software's own configuration, status, tasks, history) is declined, and its facts stay in the backlog. When a skill is added, every backlogged fact gets one more ranking. A merge that fails outright (unparseable response, truncation) quarantines the culprit fact so it stops blocking the queue (needs a config fix, e.g. a provider swap, not an automatic retry) and the pass carries on with the other skills. A fact that restates one already merged or retired (the same text, ignoring case, spacing and trailing punctuation) is retired as a duplicate without being ranked, and of several identical new facts only the oldest is ranked; the rest follow it.
Takes no parameters. Intended to be invoked via the `background` tool on a schedule, not inline during a conversation. The ranker and merger each resolve their own provider — `dreamRankerProvider` / `dreamMergerProvider` via the cognition_config tool if pinned, else the active provider (the model driving the calling turn).
Returns a structured DreamRun record describing what the pass did (the same record is also persisted to the `dream_runs` store, queryable via `dream_runs_action` if exposed).gate_actionInspect and forget the standing answers this installation's permission policy remembers.
A privileged operation — installing a plugin, adding a provider profile, overwriting a tool another plugin owns, a function reading a directory — asks the user to accept it. Answering "Always allow …" stores a standing answer, after which the same operation proceeds silently everywhere; answering "Allow … for this session" stores one that holds only in that conversation. Denials are stored the same way, after which the act is refused without asking.
"list" reports every standing answer as a separate entry with an "id": effect (allow or deny), gate, subject (absent: every subject of that gate) and, for one held in a single session, "session" (and "inMemory" when matbot keeps it only until it restarts). "match" keeps only entries whose gate, subject or session contains that text — a host, a URL, a function or plugin name — and "gate" only that gate. Then "clear" with "ids" forgets exactly the entries named. Prefer this to typing a subject: a substring may match more than was meant, so look at what "list" returned before clearing it.
"get" reports the same answers grouped by gate and scope, as "answers" and "denials".
Both report what is IN EFFECT, whether from a prompt or the installation's configured defaults. Gate ids are open — a plugin contributes its own — so there is no vocabulary to list.
"clear" without "ids": no arguments forgets every gate, "gate" that gate alone, "gate" + "subject" just that subject, in every session. Forgetting a whole gate reverts it to the configured default, so a gate an installation configured keeps that setting.
Forgetting a DENIAL asks the user first, every time, since it undoes a refusal they chose; forgetting an allow does not. This tool cannot GRANT permission: the only way to author a standing allow at runtime is to answer a prompt that names the specific act.
"deny" with "gate" and "subject" adds a standing DENIAL, everywhere, once the user confirms it — for what nobody is ever asked about because a broader answer already allows it, such as one file inside a directory a function may read ("gate": "tool_function.fs-read", "subject": "* /home/me/project/.env" for any function). The most specific answer wins, so it carves that out of the broader allow. The subject must be spelled exactly as the gate asks about it: "list" shows how that gate's subjects look. Without "subject" it denies every subject of the gate. gate_action's own gates cannot be denied.
"session-store" reports where "for this session" answers are kept, and with "store" changes it: "memory" (the default — forgotten when matbot restarts) or "settings" (kept until forgotten here, so a session's answers survive a restart). Switching to "settings" also keeps the answers already given. "store": null reverts to the installation's configured default.| Parameter | Type | Description |
|---|---|---|
| action * | string | The operation to perform. |
| gate | string | A gate id, e.g. "plugin.add" or "tools.overwrite". Absent means every gate (required for "deny"). Not with "ids". |
| ids | array | clear only: the ids of entries "list" reported, to forget exactly those. |
| match | string | list only: keep entries whose gate, subject or session contains this text. |
| store | any | session-store only: where "for this session" answers are kept from now on; null reverts to the configured default. Absent reports it. |
| subject | string | clear: forget just this subject (a tool name, plugin specifier, provider profile, MCP server) rather than the whole gate; requires "gate", and prefer "ids". deny: the subject to refuse; absent denies every subject of the gate. |
mcp_actionManage remote MCP (Model Context Protocol) server connections over HTTP. An MCP server exposes a set of tools; once connected, each is registered under `mcp__<server>__<tool>` (the `mcp__<server>__` prefix is overridable per server via `proxyToolName`) and is callable until you remove it. This is the cross-platform (browser + Node) build: it speaks JSON-RPC over HTTP POST (with optional SSE response streaming). Local stdio servers are not available here — they need the Node mcp plugin. ACTIONS add — Connect a remote server and register its tools. Validated before saving; some servers return usage 'instructions' on connect, surfaced in the result and by 'list'. A header can carry a credential without it entering the conversation or the saved config: { "Authorization": { "Vault": "Bearer ${ACME_API_KEY}" } } sends that stored key. The user is asked before a key is sent to the server's origin. list — Show connected servers, their tools, and any instructions. remove — Disconnect a server and forget it; its proxy tools are unregistered immediately.| Parameter | Type | Description |
|---|---|---|
| action * | string | add: connect a server. list: show servers. remove: disconnect. |
| endpoint | string | add only: the MCP HTTP endpoint URL. |
| headers | any | add only: HTTP headers sent with every request to the server. ${headersSchema.description} |
| name | string | Short lowercase server id (add/remove); becomes the tool-name prefix. |
| proxyToolName | string | add only: prefix for this server's tool names, replacing the default "mcp__<name>__". Persisted; reconnects keep it. |
| type | string | add only: always "remote" — this build connects to HTTP endpoints only. |
pluginManage matbot plugins — the units that contribute tools, providers, storage, hooks, and frontends to the running browser process. List them, install or remove one by specifier, reload one to pick up code changes, or supply a secret a plugin or provider reported missing.
This is the browser build: there is no config file and no package manager, so a specifier is a URL path or an inlined synthetic id the host loader can import (not an npm name to install). Added plugins persist across reloads.
For add, a URL specifier is fetched as raw source and MUST resolve a package.json: the URL is one, OR points at a directory containing one, OR is a code entry (…/index.ts) with a package.json as its direct sibling. The package.json must declare a "name"; absence is a hard error.
For remove/reload, prefer the plugin's canonical package.json **name** (the `name` from `list`) — the configured specifier also works. A name is unique, so it is unambiguous; `add` refuses a second plugin with a name already active.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| key | string | Name of the secret to store (required for store-key); value prompted separately. Entering a blank value removes the key. |
| specifier | string | For remove/reload: the plugin's package.json name (preferred — the `name` from `list`) or its configured specifier. For add: a bundled package name, an inlined synthetic id, or a URL to raw source (a package.json, a directory containing one, or a code entry with a sibling package.json that declares a "name"). |
profile_actionManage storage profiles — named partitions of the datastore, selected per browser in the web UI. A profile isolates a chosen set of namespaces (its `isolated` list; `sessions` by default) into its own on-disk area, so each profile has independent data for those namespaces; every other namespace — and the default (no profile) — falls through to the shared base storage. Actions: `list` the profiles; `available_namespaces` returns the namespace names that can be isolated (a lower bound — a namespace appears only once something has touched it this session) — call it first to get the values for the `isolated` arrays below; `create` a profile (a filesystem-safe name — letters, digits, underscore, hyphen — with an optional `isolated` override of the default); `set_isolated` to replace a profile's isolated set wholesale; `delete` a profile (the registry entry only; its data is left on disk so recreating the name reattaches it). Re-isolating is non-destructive: data already written under the previous routing stays where it was (a dropped namespace's partition is orphaned, not migrated). Choosing the active profile is done in the browser, not here — this tool never changes the current selection. The mere presence of this tool is what makes the profile selector appear in the web UI.| Parameter | Type | Description |
|---|---|---|
| action * | string | The operation to perform. |
| isolated | array | Namespace names (as returned by the `available_namespaces` action) to isolate into this profile. Optional for create (defaults to ["sessions"]); required for set_isolated (replaces the set). |
| name | string | Profile name (letters, digits, underscore, hyphen). Required for create/set_isolated/delete. |
providerManage LLM provider profiles — the named model configurations matbot can talk to (each is an adapter + endpoint + model + key + optional generation parameters). List them, add one, or update one, or remove one. This is the browser build: profiles persist in browser storage and the key in the vault (no matbot.yaml; there is no separate `credentialEnvVar` concept since there are no process env vars to reference).
The API key is never passed here — `add` requests it out-of-band so it stays out of the conversation, and a blank answer just means "no credentials needed" (it does not abort the add). `module` names one of the available adapter types (by label, module, or index; call `list` to see them — each carries `endpointHint`/`modelHint` and whether it is `selfContained`). A `selfContained` adapter (e.g. a local demo LLM) needs no endpoint, model, or key at all — omit them and the tool will not prompt for a key either. `remove` refuses to delete the only configured profile, the one powering the current turn, or one an alias points at — add a replacement first or switch providers.
ALIAS creates or repoints an alias: `name` is a stable name for a ROLE (e.g. "text_classifier") and `alias` the profile it runs on. Name the alias wherever a provider name is fixed (a pinned setting, a function run outside any turn) and point it elsewhere later without touching those. Its target must be a profile, never another alias; `list` reports an alias as the row of the profile it names, under its own name and with `alias` set.
UPDATE changes `model`, `endpoint`, `parameters` or `maxRounds` on an existing profile: supply the name plus only the fields to change, an explicit `null` to clear one (not `model` — a profile must keep one). `parameters` is replaced WHOLESALE, not merged, so `list` first and send back everything you want to keep. It cannot change the API key (use `plugin store-key`) or the adapter `module` (remove and add again). Effective from the next turn.
PARAMETERS (pass as the `parameters` object on add). NB: This is an example - the parameters are passed to the LLM endpoint with no modification and are model/provider specific
maxTokens — integer, maximum output tokens
temperature — float 0.0–1.0
topP — float, nucleus sampling probability
thinking — { type: "enabled", budgetTokens: <int> } (Anthropic extended thinking;
claude-3-7-sonnet and newer; set maxTokens > budgetTokens)| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| alias | string | The profile the alias named by `name` runs on (alias only). |
| endpoint | any | Endpoint URL (add; omit for a selfContained adapter. update: null clears it). |
| maxRounds | any | Per-turn ceiling on agentic rounds (one model call plus its tool batch). Not a generation parameter — never sent to the endpoint (update; null clears it). |
| model | string | Model name (add; omit for a selfContained adapter — its modelHint/label is used. update: the renamed model). |
| module | string | Adapter type — label, module, or index from `list` (add only; update cannot change it). |
| name | string | Profile or alias name (add/update/remove/alias). |
| parameters | any | Generation parameters: maxTokens, temperature, topP, thinking, etc. (add/update). On update this REPLACES the whole object — list first and send back everything you want to keep; null clears it. |
remember_factExtracts facts from the latest user message and reads provenance (session id, message id, timestamp) from context — takes no parameters. Writes one document per fact to the remembered_facts store. Returns nothing: fired by a trigger it runs as a silent side-effect (you are not involved). You may also call it directly to capture the current message.shareShare a single stored item you own with another storage profile, copy it, or reverse a share. The `namespace` is the ISOLATION axis a profile partitions on (see the `profile` tool's `available_namespaces`), NOT a content category. In particular, to share or copy a stored FILE — including a workspace file — always use `namespace: "files"` with `id` set to the file's path; do NOT use the file's content namespace (e.g. "workspace"), which is not an isolatable axis and cannot be shared. `share` (the default action) exposes the item — e.g. a `sessions` conversation, or a stored file (`namespace: "files"`, `id` = the file path) — read-only in the target profile's partition: the target reads your live item, not a copy, and only you can edit it. `unshare` removes that exposure. `copy` instead writes an independent duplicate the target fully owns and can edit (item ids are preserved). `owner` reports which profile owns the item the current profile would read (null when you own it, "global" when it belongs to the shared base rather than to any profile) — the read-only signal; `owner` with `id` of `*` instead returns an `owners` map of every shared-in item in the namespace to its owner, to gate a whole list in one call. For share/unshare/copy an `id` of `*` means the WHOLE namespace (every item in it). Sharing and copying exist only because profiles do; only a namespace the target profile isolates can be shared or copied into (a base/global namespace is already shared by everyone). Names an item by (`namespace`, `id`) and, for share/unshare/copy, a `target` profile.| Parameter | Type | Description |
|---|---|---|
| action | string | Operation to perform; defaults to "share". |
| id * | string | Id of the item, or "*" for the whole namespace (share/unshare/copy; owner returns the shared-in owners map). |
| namespace * | string | Isolation namespace of the item (as listed by profile_action available_namespaces), e.g. "sessions". For any stored file use "files" (not the file's content namespace like "workspace"). |
| target | string | Target profile name. Required for share, unshare, and copy. |
skill_actionManage skills — named, reusable markdown playbooks (procedures, conventions, reference notes) the assistant stores and recalls on demand. A skill is keyed by name (case-insensitive) and holds markdown content. Use this tool to list skills, load one (raw content, for reading or editing), use one (its content as a directive, to apply now), read its derived metadata, create or update one, or delete one.
`load` vs `use`: load returns the raw markdown (for inspection or editing); use returns the same content wrapped as an instruction to follow it now. A trigger that should make a skill take effect invokes `use`; tooling that reads a skill invokes `load`.
A skill is consulted only when something reaches it. An informational skill gathers what is known about one subject a user's message could name (a person, a place, a device or system in the user's world, a project) and that the model could not know from training: when a message names it, content search returns the whole skill, so the term arrives in context. A skill found is read whole into the conversation and cannot be taken out, so name and open it with the specific terms a user would use for its subject, never general ones; one that is missed can always be asked for. A procedural skill says how to get something done here: steps, or conventions for using tools together. Not skill material: what this software can report about itself (its tools, settings, models, how it is built), current status, tasks and plans, or a history of events.
Most skills are surfaced by content search; to make one apply automatically on a behavioural condition, create a trigger with the `trigger_action` tool whose `invoke` is this tool with `{ action: "use", name }`.
A skill can be `hide`-den: it is then withheld from the model — retracted from content search (contextual_search / find_fact) and from the catalogue — but stays fully manageable here (list/load/metadata/save/delete still work). Use this to retire a skill that has been compiled into a tool, without deleting its source. `unhide` reverses it. Hidden state is independent of `save` — editing content never changes it.
A `candidate` skill (shown in `list`) was proposed by dream-time from facts that had no home. It is withheld from the model as a hidden skill is, while dream-time keeps filing matching facts into it. `adopt` makes it an ordinary skill; `delete` rejects it, and its facts go back to dream-time's backlog.| Parameter | Type | Description |
|---|---|---|
| action * | string | The operation to perform. |
| catalogue | boolean | Optional for "save": advertise this skill in the system prompt (using its generated summary). Omit to leave unchanged. |
| content | string | Skill content in markdown — required for action "save". |
| name | string | Skill name (case-insensitive). Required for load/use/metadata/save/delete/hide/unhide/adopt. |
skills_configConfigure the skills subsystem. Currently one setting: `analysisProvider` — which configured provider analyses skill content (summary/entities/tags for search). It is an alias for an existing provider, not a new one. Unset, analysis uses the first configured provider; set it to pin a small/fast model. `get` reports the current pin, the fallback, and the available provider names; `set` pins one (it must already be configured — see the provider tool); `clear` reverts to the fallback.| Parameter | Type | Description |
|---|---|---|
| action * | string | The operation to perform. |
| provider | string | Name of an already-configured provider — required for "set". |
trigger_actionManage triggers — data-driven hooks that invoke a tool when an LLM classifier judges one of their conditions matched against the current turn. Use this to list triggers, find the ones that invoke a given tool (query), read one, create one, edit one by id, suspend one so it stops firing while keeping it (disable) or bring it back (enable), delete one, or bulk re-target a selected set onto a new tool — in place (move) or as duplicates (copy).
When a trigger fires too eagerly, prefer "disable" over "remove": it keeps the conditions and invocation intact (so "enable" restores it exactly) but excludes it from evaluation entirely.| Parameter | Type | Description |
|---|---|---|
| action * | string | The operation to perform. |
| conditions | array | Conditions [{ kind: "ephemeral"|"contextual"|"retract"|"followup", rule: string }]. Required for add. |
| cooldown | any | On add/update, rate-limit firing: { maxPerTurn, quietTurns }. Omit to leave unchanged (absent ⇒ unlimited); null on update removes every limit. |
| enabled | boolean | On add/update, set false to keep but suspend the trigger (absent ⇒ enabled). To toggle an existing trigger, prefer the dedicated "disable"/"enable" actions. |
| id | string | Trigger id. Required for get/update/disable/enable/remove. |
| params | object | For add: params passed verbatim as the invoked tool's input. For query/move/copy: the selector matching invoke.params. |
| toParams | object | New params for the selected triggers' invocation (move/copy). |
| toTool | string | New tool the selected triggers should invoke. Required for move/copy. |
| tool | string | For add: the tool to invoke. For query/move/copy: the selector matching invoke.tool. |
triggers_configConfigure the triggers subsystem. Currently one setting: `classifierProvider` — which configured provider judges trigger conditions. It is an alias for an existing provider, not a new one. Unset, the classifier uses the current turn's own provider; set it to pin a small/fast model. `get` reports the current pin and the available provider names; `set` pins one (it must already be configured — see the provider tool); `clear` reverts to the turn provider.| Parameter | Type | Description |
|---|---|---|
| action * | string | The operation to perform. |
| provider | string | Name of an already-configured provider — required for "set". |
Security checks
From the MatAtBread/matbot monorepo, not this package alone.
6 checks have not been run yet.