Logo Synabun

Synabun

Cộng đồng
danilokhury

Open-source persistent memory MCP server and self-hosted AI workspace for Claude Code, Codex and OpenCode. SynaBun Assistant coordinates their agents.

Nhà phát hànhdanilokhury
Kho mãSynabun
Ngôn ngữJavaScript
Bản fork
10
Sao
70
Công cụ có sẵn
0
Phương thức truyền tảistdio
Giấy phépApache-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Synabun cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    70 sao và 10 bản fork từ kho mã được liên kết.


SynaBun is an open-source, self-hosted AI workspace and persistent memory MCP server: SynaBun Assistant coordinates Claude Code, Codex and OpenCode agents. What you decided, fixed and explained in one session is there in the next one, in every project and every tool you connect, so you stop repeating yourself. It all lives in one SQLite file on your computer: no account, no cloud service, no API key.

bash
npm install -g synabun

synabun starts the app. synabun mcp is the MCP server on stdio, for any MCP client:

json
{
  "mcpServers": {
    "SynaBun": {
      "command": "npx",
      "args": ["-y", "synabun", "mcp"]
    }
  }
}

After the global install, "command": "synabun", "args": ["mcp"] runs the same server. Read the docs, or see how SynaBun compares with other memory tools.

It connects to Claude Code, Codex CLI, Gemini CLI and OpenCode with one switch each, and to Cursor, Windsurf or any other tool that supports MCP (the Model Context Protocol) with a config snippet you copy. It comes with the Neural Interface, a local web app where you see what your tools remember and run your coding agents.

What you can do with it

  • Keep context between sessions. Your assistant saves what it learned as it works and looks it up before the next task. Search matches meaning as well as keywords.
  • See what it knows. Browse, search, edit and delete memories in the Neural Interface, on a 3D map where related memories sit together.
  • Run Claude Code, Codex and OpenCode side by side. Each has a side panel in the Neural Interface, next to terminals, a file explorer and a whiteboard, all sharing the same memory.
  • Delegate. The SynaBun Assistant plans a task, proposes a model for it, hands it to a worker in Claude Code, Codex or OpenCode and reports the result. You can also message it from WhatsApp.
  • Automate. Save a task as a template, then run it as a loop or on a schedule.
  • Give agents a browser. Browser tools let an agent open pages, click, type and read in a browser you can watch.

Quick start

You need Node.js 22.19 or newer.

bash
npm install -g synabun
npm --prefix "$(npm root -g)/synabun/mcp-server" run setup:embeddings
synabun
  1. Install. The first command installs SynaBun. The second downloads the model that powers search by meaning; without it SynaBun still works, with keyword search only. In Windows Command Prompt, replace $(npm root -g) with the path that npm root -g prints.

  2. Start. synabun starts the Neural Interface at http://localhost:3344 and opens the setup wizard in your browser. The first start also installs a Chromium build for the browser tools.

  3. Connect your AI tool. In the wizard, add your projects and switch on the tools you use. SynaBun registers itself with Claude Code, Codex CLI, Gemini CLI and OpenCode, and installs a short set of rules that tell each tool when to recall and when to remember. For Cursor, Windsurf or another MCP tool, copy the config snippet shown in the same step. You can change the connections later in Settings → AI connections.

  4. Try it. Start a new session in your AI tool and say:

    Remember that we deploy from the release branch, never from main.

    Start another session and ask:

    What do you remember about how we deploy?

    Then open http://localhost:3344 to see the memory on the map. Press / to search, a to open the Assistant, and the ? button in the title bar for a tour.

Leave synabun running while you work: Claude Code reaches its memory through it. Stop it with Ctrl+C. If something looks wrong, synabun doctor reports the state of your data and your tool connections.

To run from source instead:

bash
git clone --depth=1 https://github.com/danilokhury/Synabun.git
cd Synabun
npm start

npm start installs dependencies, builds the MCP server and starts the app. Once it is up, run npm --prefix mcp-server run setup:embeddings in a second terminal to turn on search by meaning.

How it works

Your AI tool ── MCP ──▶ SynaBun MCP server ──▶ memory.db (SQLite) ◀── Neural Interface (localhost:3344)
  • A local database. Memories live in one SQLite file on your disk. Each one is indexed for keyword search and for search by meaning, using a model that runs on your machine.
  • An MCP server. It gives your AI tool the memory tools: remember, recall, reflect, forget, restore and a few more. Any MCP client can use it.
  • The Neural Interface. A local web app on port 3344 that reads the same database. It holds the memory map, settings, the side panels, the Assistant and your automations.
  • Rules and hooks. The installed rules tell each tool to recall before substantial work and to remember after it. In Claude Code, hooks add to that: they bring relevant memories into the session and remind the assistant to save its work.

Features

Memory

  • Keyword and meaning search. recall combines both and can return compact results sized to a token budget.
  • Categories you define. Each category's description tells the assistant what belongs there.
  • One memory for every project. Recall favours the project you are in and still finds what you learned elsewhere.
  • Hard to lose. Edits keep a revision history you can undo, deleted memories go to a trash you can restore from, and sync flags memories whose source files have changed.
  • Backups. Scheduled, checksum-verified backups in Settings → Memory & backups. synabun restore-backup --from <backup.zip> checks a backup, and adding --apply restores it.

Neural Interface

  • Memory map. A 3D map of everything stored: top-level categories are continents, categories are islands, and similar memories sit side by side.
  • Workspace. Terminals, a file explorer and a whiteboard next to your memories.
  • Settings you can search, in English and Brazilian Portuguese.
  • A workspace tour behind the ? button.
  • Showcase mode for screenshots. Open the interface with ?showcase=1 and it loads your layout without saving any change to it, and blurs your own content: memories, session titles, transcripts, terminal output, account names and anything that looks private (emails, home folder paths, ids, keys, phone numbers, the names of your other projects). ?lang=en or ?lang=pt-BR sets the language for that page only. Map labels drawn on the canvas cannot be blurred one by one, and the whiteboard and memory positions you drag still save.

Coding agents

  • Side panels for Claude Code, Codex and OpenCode. Streaming answers, tool calls, approvals, plans and resumable sessions, on your own accounts. Gemini CLI and plain shells open as terminal tabs.
  • SynaBun Assistant. One assistant that recalls memory on every turn, proposes where a task should run, dispatches it to a worker and reads back a structured result. Budget caps and a token gauge keep spending visible.
  • WhatsApp Link. Message the Assistant from your phone as a linked device, with three permission levels. See docs/whatsapp.md.
  • Computer use on macOS. The Assistant can see and operate desktop apps, behind guards and stop controls.
  • Style Guide. A brand and design system per project, saved as DESIGN.md and design tokens. Agents read it and can only propose changes. See docs/style-guide.md.

Automations and tools

  • Automation Studio and schedules. Task templates you run as loops or on a schedule.
  • Browser tools. Navigate, click, type, read and take screenshots, or batch several actions into one call. See docs/browser-v2.md.
  • Integrations. Tool groups for Discord, Google Search Console, YouTube Studio, Leonardo.ai and Bluesky, and readers for X, Facebook, Instagram, LinkedIn, TikTok and WhatsApp Web. Tool profiles limit a session to the groups it needs.
  • Skills. /synabun brainstorms from memory, audits memories against your code, saves a conversation and creates schedules. /leonardo guides image and video prompts.
  • Claude Code hooks. How they are installed, isolated and measured: docs/hook-integrity.md.
  • AI decisions (optional). With your own TypeSafe API key, SynaBun asks for a judgment where a fixed rule would guess: is this memory a duplicate, does it hold a secret, is it stale. Every judgment has a local fallback, and nothing is sent without a key. See docs/judgments.md.

Requirements

  • Node.js 22.19 or newer.
  • macOS, Windows or Linux. Computer use is macOS only.
  • The coding tools you want to use, installed and signed in with your own accounts. SynaBun does not include model access.
  • Optional: C/C++ build tools. Terminals use a native module. If it has no prebuilt binary for your system, it is compiled during install; if that fails, everything except terminals still works.
  • Optional: credentials for integrations such as Discord, YouTube or AI decisions. You enter them in Settings when you turn the feature on.

Updating

bash
npm install -g synabun@latest
npm --prefix "$(npm root -g)/synabun/mcp-server" run setup:embeddings

SynaBun also offers new versions inside the app. Either way, run the second command after each update: the search model is kept inside the installed package, which the update replaces. If recall reports Local embeddings unavailable; keyword retrieval used., this is the fix.

Coming from 2026.x? Run npm i -g synabun@latest once by hand. Versions used to be dates (2026.9.5) and are now plain semver (2.0.0), so the in-app update check of an older install does not offer 2.0.0. From 2.0.0 on, the in-app updater works as before.

Running from source? git pull --ff-only, then npm run mcp:build and npm start.

Before a new version starts for the first time, SynaBun takes a verified snapshot of your data and keeps it in backups/updates in your data folder. If it cannot take the snapshot, it stops instead of starting.

Your data and privacy

Everything SynaBun stores is in one folder outside the app: ~/.synabun on macOS and Linux, %APPDATA%\synabun on Windows. Set SYNABUN_DATA_HOME to use another place.

~/.synabun/
├── .env                 # settings and credentials for integrations
├── data/                # interface state, schedules, logs
├── backups/             # backups and pre-update snapshots
└── mcp-data/memory.db   # your memories
  • Your memories stay on your machine. The database is a local file and the search model runs locally.
  • What does leave it. Your AI tools send your prompts, and the memories they recall, to their own providers. Optional features (AI decisions, WhatsApp, Discord, the browser) talk to their services once you set them up. SynaBun checks npm and GitHub for new versions, and the interface loads web fonts and one script from public CDNs.
  • Keep it on a network you trust. The Neural Interface has no login and listens on all network interfaces. Do not expose port 3344 to the internet. The full security model is in SECURITY.md.
  • Back up from the app. Copying memory.db by hand while SynaBun is running can miss recent writes.

Links

License

Licensed under the Apache License, Version 2.0.

You are free to use, modify, and distribute SynaBun under Apache 2.0. Premium features and enterprise extensions may be offered under a separate commercial license. See LICENSE-COMMERCIAL.md for details. Third-party notices are in NOTICE and THIRD-PARTY-LICENSES.md.

Trademark Notice

"SynaBun" is a trademark of its authors. The license does not grant permission to use the SynaBun name, trademarks, service marks, or branding. If you fork this project, you must use a different name for your derivative work.

Dùng MCP Synabun với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Synabun, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Synabun làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Synabun.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "synabun": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Synabun, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Synabun.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Synabun giúp tôi làm việc này không?
Synabun
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Synabun.

Câu hỏi thường gặp

Máy chủ MCP Synabun dùng để làm gì?

Synabun là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Synabun với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Synabun với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Synabun với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Synabun, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Synabun với TypingMind?

Synabun hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Synabun cung cấp những công cụ nào trong TypingMind?

Synabun cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Synabun không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Synabun yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇