Skip to main content
♊
Gemini CLI+Stompy

Three doors, one record, and it is yours

Whatever Gemini CLI works out can be read by the next tool, and by you

The Problem

A Gemini CLI session can work through a hard problem with you. When you close the terminal, what it worked out stays in that session.

The next session, in the same tool or another, starts again. You are the one carrying the decision from place to place.

How Stompy Helps

Stompy gives you one record with three ways in, and all three reach the same entries.

MCP. Add Stompy to Gemini CLI's settings and a session can read the project's brief, recall by topic and search by meaning.

The stompy command. stompy context lock, stompy context recall and stompy context search work from any shell, script or CI job.

REST. The project's contexts and search are served at api.stompy.ai/api/v1/projects/{name}/..., authenticated with a project API key. That is the door for anything that can make an HTTP request.

Lock something through one door and read it through another. You decide what is kept; the record keeps it, versions it and flags a clash with what is already there.

Integration Walkthrough

1

Door 1: add Stompy over MCP

Add this to ~/.gemini/settings.json (or .gemini/settings.json in a project), restart Gemini CLI, then run /mcp to sign in.

{
"mcpServers": {
"stompy": {
"httpUrl": "https://mcp.stompy.ai/mcp"
}
}
}
2

Reach the same record from a shell

The stompy command-line tool talks to the same project. Set a default project once, then lock, recall and search from any terminal or script.

stompy project use my-project
stompy context lock api_conventions --content "Decision: ... Why: ..." --priority important
stompy context recall api_conventions
stompy context search "how we handle authentication"
3

Door 3: use the REST API

Keep a decision and search the project with a project API key. A project API key is minted by the project's owner while signed in, and works for that one project only. Read the project's own contexts and search with it; managing the project still needs a signed-in user.

curl -X POST https://api.stompy.ai/api/v1/projects/my-project/contexts \
-H "Authorization: Bearer $STOMPY_PROJECT_KEY" \
-H "Content-Type: application/json" \
-d '{"topic": "deploy_config", "content": "Production runs three replicas. Why: ...", "priority": "important"}'
curl -G https://api.stompy.ai/api/v1/projects/my-project/search \
-H "Authorization: Bearer $STOMPY_PROJECT_KEY" \
--data-urlencode "query=deployment configuration"
4

Pick it up in the next session

Recall by name, or search by meaning when you do not remember the name.

recall_context(project="my-project", topic="api_conventions")
context_search(project="my-project", query="REST endpoint conventions")

What You Get

  • Three doors, one record: MCP, the stompy command and REST all reach the same entries
  • Search by meaning finds an entry when you do not remember its topic
  • Locking again saves a new version, so the history of a decision is kept
  • A project API key scopes scripts and CI to one project

Start your own record

Join the waitlist and we will tell you when your place is ready.