Persistent knowledge workspace for AI agents. Versioned files, search, and MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A file-system inspired context store for AI agents.
Built to replace the databases of the web era. Open source. File-first. SQL-compatible.
Databases were designed for transactions β they reduce nuance to fit a schema. Agents think deeply, then forget everything when the session ends. sayou is where reasoning persists, context accumulates, and knowledge compounds over time.
token_budget. Returns summaries with section pointers when content exceeds the budget.pip install sayou[api].From within Claude Code:
Or from the terminal:
One command. This installs the plugin with lifecycle hooks (workspace context on session start, passive activity capture, session summaries) and skills (/ws, /save, /recall). If sayou isn't installed yet, the plugin auto-installs it on first run.
Cloud mode: To sync your workspace via Sayou Drive, run
sayou authafter installing and paste your API key from Settings.
This installs sayou and configures ~/.claude/mcp.json. You get the 11 MCP tools but no hooks or skills. You can also use --cursor or --windsurf, or run sayou init without flags to get the config snippet to paste manually.
To verify either method, run sayou status β you should see your workspace path, database location, and 11 tools registered. If you see errors, jump to Troubleshooting.
Open Claude Code and paste any of these prompts. Each one triggers a different MCP tool β no setup beyond the Quick Start above.
| Prompt | What happens | Tool |
|---|---|---|
| "Save a note about our Q1 goals with status: draft" | Creates a versioned file with YAML frontmatter | workspace_write |
| "What files are in my workspace?" | Lists all files and subfolders | workspace_list |
| "Search for anything tagged status: draft" | Filters files by frontmatter metadata | workspace_search |
| "Read the Q1 goals note" | Retrieves file content with token-budget awareness | workspace_read |
| "Update the status to reviewed" | Writes a new version (old version preserved) | workspace_write |
| "Show me the diff between versions" | Compares two versions with unified diff | workspace_history |
| "Store a setting: theme = dark" | Saves a key-value pair (with optional TTL) | workspace_kv |
| "Find all markdown files in research/" | Matches files by glob pattern | workspace_glob |
| "Search file contents for the word 'budget'" | Grep-style content search with context | workspace_grep |
Every write creates a new version. Nothing is overwritten. You can always go back.
A short conversation showing sayou in action across sessions:
You: Research competitor pricing for our enterprise tier and save your findings.
Claude Code: I'll research this and save my findings to the workspace.
[Uses workspace_write to create research/competitor-pricing.md]
Saved to
research/competitor-pricing.mdwith frontmatter: status: draft, topic: competitor-pricing
You (next day, new session): What did we learn about competitor pricing?
Claude Code: Let me check our workspace.
[Uses workspace_search with query "competitor pricing"]
Found
research/competitor-pricing.md(saved yesterday):
- Competitor A: $99/seat/month
- Competitor B: $149/seat/month (includes support)
- Competitor C: $79/seat/month (limited features)
You: Update the status to "reviewed" and show me the diff.
Claude Code: [Uses workspace_write to create version 2, then workspace_history to diff]
The key insight: Claude Code remembered the research across sessions because sayou persisted it as a versioned file β not a chat message that disappears.
This adds sayou to .cursor/mcp.json in your current working directory.
This adds sayou to ~/.codeium/windsurf/mcp_config.json.
sayou is a standard MCP server. Run sayou init (no flag) to get the config snippet, then paste it into your editor's MCP config. The entry is always the same β just "command": "sayou".
The agent gets 11 tools (12 with embeddings enabled):
| Tool | Description |
|---|---|
workspace_write | Write or update a file (text or binary with YAML frontmatter) |
workspace_read | Read latest or specific version, with optional line range |
workspace_list | List files and subfolders with auto-generated index |
workspace_search | Search by full-text query, frontmatter filters, or chunk-level |
workspace_delete | Soft-delete a file (history preserved) |
workspace_history | Version history with timestamps, or diff between two versions |
workspace_glob | Find files matching a glob pattern |
workspace_grep | Search file contents with context lines |
workspace_kv | Key-value store (get/set/list/delete with optional TTL) |
workspace_links | File links and knowledge graph (get or add links) |
workspace_chunks | Chunk outline or read a specific chunk by index |
workspace_semantic_search | Vector similarity search (requires SAYOU_EMBEDDING_PROVIDER) |
See examples/quickstart.py for a runnable version.
| Example | What it shows |
|---|---|
quickstart.py | Hello World β write, read, search, list in 30 lines |
kv_config.py | KV store for config, feature flags, caching with TTL |
version_control.py | Version history, diff, time-travel reads |
file_operations.py | Move, copy, binary files, glob patterns |
multi_agent.py | Multi-agent collaboration with shared workspace |
research_agent.py | All methods exercised β the comprehensive reference |
sayou ships with a reference agent server β a multi-turn assistant that can search, read, write, and research using your workspace. It's a complete working example of building an agent on sayou.
The agent runs on http://localhost:9008 with a streaming SSE endpoint at POST /chat/stream.
| Capability | How it works |
|---|---|
| Answer questions | Searches workspace first, falls back to web search |
| Research topics | Multiple web searches, extracts facts, saves structured findings |
| Store knowledge | Writes files with YAML frontmatter, section headings, source citations |
| Execute code | Optional E2B sandbox for Python and bash (set SAYOU_AGENT_E2B_API_KEY) |
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sayou)<a href="https://allmcps.com/mcp/sayou"><img src="https://allmcps.com/api/badge/sayou?style=directory" alt="Sayou on AllMCPs" /></a>