Skip to content

How apps sign in to Stasho

Chat apps sign in with a Stasho page and you allow them; coding tools and scripts use a key. Each app gets access to one library.

Updated 2026-12-06

Stasho has two ways for an AI app to get into your library. Chat apps, like Claude and ChatGPT, sign in with a Stasho page. Coding tools and scripts, like Claude Code and Cursor, use a key. Either way, each app works in one library, with the rights you chose.

How does sign-in work for chat apps?

The app opens a Stasho page. You sign in with Google if you are not signed in, and the page shows which app asks and what it may do:

  • Read and search your memories (stasho:read). Every connected app gets this.
  • Save new memories and change the ones it saved (stasho:write). Turn it off to give read-only access.

When you select Allow, you go back to the app. Stasho uses OAuth 2.1 with PKCE for this, and only the owner of a library can allow an app into it. Signing in gives the app access through Stasho's MCP server only.

How do keys work?

A key starts with sto_. You make it in Stasho: open the library menu, choose Connect AI apps, and make a new key. Each key works in one library with one role:

Role What it may do
viewer Read and search only.
contributor Add memories, and edit and trash its own.
editor Change any memory and the categories.
owner Everything, including import.

The app sends the key in an Authorization: Bearer header. Stasho stores only a fingerprint (a SHA-256 hash) of each key, so it shows the key once, when you make it.

How do I remove an app or a key?

Open the library menu and choose Connect AI apps. The list shows every key and every app that connected by sign-in. Revoke one, and it stops working on its next request. An app that connects again keeps edit rights over the memories it saved before.

What else should I know?

  • Keep keys out of shared files, repositories and chats.
  • An app can only reach the one library it was allowed into.
  • Removing your account removes every key and every app's access.

This page as Markdown.