@ounie/mcp 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,13 +13,24 @@ It speaks MCP over **stdio** and calls the Ounie REST API on your behalf using a
|
|
|
13
13
|
| Tool | Arguments | Description |
|
|
14
14
|
|---|---|---|
|
|
15
15
|
| `ounie_list_brains` | — | List your brains (id, name, emoji, source count). |
|
|
16
|
-
| `
|
|
17
|
-
| `
|
|
16
|
+
| `ounie_explore_brains` | `q?`, `filter?`, `sort?`, `limit?` | Discover **other people's** public brains — including paid marketplace listings — from the public Explore feed. Filter `all\|free\|paid\|forkable`, sort `new\|popular\|price`. Returns each brain's id, public URL, and pricing; any result's `brainId` works with the ask/search tools. |
|
|
17
|
+
| `ounie_ask_brain` | `brainId`, `question`, `payWithCredits?` | Ask a grounded question; returns an answer + citations. Works on your own brains, public brains (your normal question allowance), and paid listings — a paid brain returns a `payment_required` quote first; retry with `payWithCredits: true` after the user confirms. |
|
|
18
|
+
| `ounie_ask_brain_set` | `setId`, `question` | Ask a **brain set** — a primary brain blended with advisor brains — in one answer that tags each citation by source brain. |
|
|
19
|
+
| `ounie_add_to_brain` | `brainId`, `content`, `title?`, `mode?`, `sourceUrl?`, `externalId?` | Save a chat result (or any text). `mode:'synthesize'` (default) connects it into the wiki+graph and makes it citable; `mode:'note'` stores it verbatim. |
|
|
18
20
|
| `ounie_add_note` | `brainId`, `title`, `body` | Save a text note as a new source (verbatim). |
|
|
19
21
|
| `ounie_add_link` | `brainId`, `url` | Save a web link as a new source. |
|
|
20
22
|
| `ounie_save_asset` | `brainId`, `title`, `description?`, `type?`, `status?`, `links?`, `tags?`, `client?` | File an **output** made with the brain (carousel, article, ad…) into its Assets library. The opposite of `ounie_add_to_brain`: knowledge IN vs output OUT — assets are never ingested, never cited, cost nothing. Owner/editor only. |
|
|
21
|
-
| `ounie_search` | `brainId`, `query` | Retrieve & summarize relevant saved sources. |
|
|
22
|
-
| `ounie_get_context` | `brainId`, `query` | Retrieve the raw matching wiki pages **without** generating an answer — your assistant reasons over them and cites by `slug`. Cheaper/faster than `ounie_ask_brain`. |
|
|
23
|
+
| `ounie_search` | `brainId`, `query`, `payWithCredits?` | Retrieve & summarize relevant saved sources. |
|
|
24
|
+
| `ounie_get_context` | `brainId`, `query` | Retrieve the raw matching wiki pages **without** generating an answer — your assistant reasons over them and cites by `slug`. Cheaper/faster than `ounie_ask_brain`. Not available on paid brains over REST — use `ounie_ask_brain` with `payWithCredits` instead. |
|
|
25
|
+
|
|
26
|
+
### Paid brains (`payWithCredits`)
|
|
27
|
+
|
|
28
|
+
Some public brains are **paid marketplace listings** (priced in Ounie credits per question).
|
|
29
|
+
Asking one without the flag returns a `payment_required` notice with the price and any free
|
|
30
|
+
previews; your assistant should confirm the charge with you, then retry the same call with
|
|
31
|
+
`payWithCredits: true` to spend your prepaid credits. Free previews never need the flag, and
|
|
32
|
+
a non-answer ("I don't have info on this") is never charged. Top up credits at
|
|
33
|
+
**Settings → Billing** (https://ounie.com/dashboard/settings/billing).
|
|
23
34
|
|
|
24
35
|
### Prefer `ounie_get_context` for answering
|
|
25
36
|
|
package/dist/index.js
CHANGED
|
@@ -318,7 +318,7 @@ const TOOLS = TOOL_SPECS.map((t) => ({
|
|
|
318
318
|
// --- Server --------------------------------------------------------------------
|
|
319
319
|
const server = new Server({
|
|
320
320
|
name: "ounie-mcp",
|
|
321
|
-
version: "0.6.
|
|
321
|
+
version: "0.6.1",
|
|
322
322
|
icons: [
|
|
323
323
|
{
|
|
324
324
|
src: "https://ounie.com/icon.png",
|