# Stasho MCP tools

When an AI app connects to Stasho, it gets these tools. Each tool works only inside the one library the app is connected to. An app with read-only access can use only the read tools.

## Which tools only read?

| Tool | Title | What it does |
|---|---|---|
| `stasho_search` | Search memories | Searches by words and by meaning, best matches first. Can keep to one category. |
| `stasho_recall` | Recall memories for a task | Returns the best memories for a question as text the app can use right away. |
| `stasho_similar` | Find similar memories | Finds memories close in meaning to some text, for example to avoid saving the same thing twice. |
| `stasho_list` | List recent memories | Lists memories, the most recently changed first. |
| `stasho_status` | Show library status | Shows the library: memories per category, the categories, and whether search indexing has caught up. |

## Which tools change the library?

| Tool | Title | What it does |
|---|---|---|
| `stasho_remember` | Save a text memory | Saves plain text as a new memory, as a simple web page. |
| `stasho_remember_html` | Save an HTML page | Saves a complete web page as a new memory, exactly as given. |
| `stasho_update` | Update a memory | Changes one memory: its page, title, description, search text, category, subcategory or tags. |
| `stasho_forget` | Move a memory to the Trash | Moves a memory to the Trash. A person can restore it, or delete it for good, in Stasho. |
| `stasho_begin_upload` | Get an upload link for a big page | Gives a one-time upload link (valid 10 minutes) for a page too big to send inline. |

The save tools store only the content the app passes in that call, in your own library. Stasho never reads your chat history.

## What may each app change?

- A **contributor** (most apps) can save new memories, and change or trash the memories it saved.
- A **viewer** can only use the read tools.
- An **editor** key can change any memory and the categories.

You choose this when you allow an app or make a key. See [Authentication](/docs/authentication).

## Where do memories go?

Each memory gets a category (for example `note` or `research`), and optionally a subcategory and tags. The tools list the library's categories, so the app picks one that exists. A new memory counts toward your plan's limit: up to 500 memories and 100 MB per library on the Free plan, and 5,000 memories and 2 GB on Pro.
