# StashBase [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/liliu-z/stashbase  
**GitHub Stars:** 1442  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/stashbase-2

## Description
An open-source, local-first writing workspace where you can write with Claude Code and Codex, drawing on your own sources and past work.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/liliu-z/stashbase), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew install --cask liliu-z/stashbase/stashbase
```

2. Install:

```sh
git clone https://github.com/liliu-z/stashbase
```

3. Run:

```sh
cd stashbase
```

4. Install:

```sh
pnpm install
```

## Documentation

## What StashBase does

StashBase provides a local workspace for writing with AI agents and exposes the active project through MCP. External MCP clients can access supported files in the selected project without requiring those files to be moved into a hosted knowledge base.

The MCP connection supports three core operations: reading files, searching project content, and editing files. StashBase’s built-in Chat connects to these tools automatically; external clients use the MCP configuration shown in the application.

## How it works

Open or create a local project in StashBase, then keep the application running while an external MCP client connects. In StashBase, open `Settings → Advanced → External apps (MCP)` and copy the connection configuration into the client. The configuration includes the connection details and access settings needed for the client to work with the selected project.

The Documents area provides a file tree and editor for the same project used by Chat and MCP access. Agents can therefore search or edit files while the user reviews the results in StashBase. Supported document processing, including PDF and Word text extraction and OCR, runs locally; required components are downloaded on first use.

## Setup and configuration

Install StashBase on macOS 12 or later, Windows 10 or later, or a community-supported Linux x86_64 system running Debian 12 or Ubuntu 22.04 or later. macOS packages are available through Homebrew or the latest release downloads. Windows and Linux packages are also provided through the release downloads.

After launching the application:

1. Open or create a project folder.
2. Select the project that the external client should access.
3. Open `Settings → Advanced → External apps (MCP)`.
4. Copy the displayed configuration into the MCP client.
5. Keep StashBase running while the client uses the connection.

## Tools and capabilities

- Read supported files from the selected local project.
- Edit supported files through an external MCP client.
- Work with notes, PDFs, Word documents, and scans processed in the local workspace.
- Share the same project between StashBase Chat, the Documents editor, and external agents.

## Limitations and notes

MCP access is tied to the project selected in the running StashBase application. Removing a project from StashBase does not delete its files, but the files remain under the user’s local filesystem management.

The MCP client must use the connection configuration supplied by StashBase, and the application needs to remain open. File support depends on the formats StashBase can process. On Intel Macs, local search and PDF or image text extraction require macOS 15 or later; older supported systems can still open projects and edit files.

Agent conversations may send prompts and relevant context to model services, depending on the agent being used. Usage statistics and error diagnostics are enabled by default for packaged builds and source runs, excluding document and conversation content; this can be disabled in `Settings → General → Privacy`.

_Full upstream README: https://allmcps.com/mcp/stashbase-2/readme_

