Vector DB MCP

io.github.kroq86由 GitHub 帳號 kroq86 發布v0.1.1更新於 Oct 24, 2026

Assembly-accelerated DuckDB MCP server for code search, indexing, and symbol lookup.

已驗證STDIO僅桌面資料庫開發者工具

概覽

AI 產生的概覽

以 DuckDB 為基礎的本機 MCP 伺服器,用於程式碼搜尋、索引與符號查詢,並以組譯加速向量運算。

可以做什麼
透過 DuckDB 支援的向量儲存搜尋與索引程式碼,並在已索引的程式碼庫中查詢符號。登錄描述將其用途概括為程式碼搜尋、索引與符號查詢,未列出個別工具。README 描述了一個 vector-db 專案,會載入由組譯建置的原生內積函式庫,載入失敗時退回較慢的路径。
適用情境
如果你希望助理搜尋或索引本機程式碼庫並查詢符號,且願意執行容器化的本機程序,可以考慮使用。專案尚新,建議先與更簡單的程式碼搜尋方案比較。
執行需求
以本機 stdio 程序形式從 OCI 映像(ghcr.io/kroq86/vector-db-mcp:0.1.1)執行,需要容器執行環境。README 中 vector-db 的建置流程使用 FASM 與 clang 產生原生函式庫,在 Apple Silicon 上目標為 x86_64,需要 Rosetta 與 x86_64 的 Python 執行環境。未宣告環境變數或身分驗證。
安裝前請注意
README 主要在說明 Lisp 與組譯實驗場,而非此伺服器,文件偏少,描述的行為可能與打包映像不一致。原生函式庫在 macOS 上為 x86_64 建置,載入失敗時可能默默退回。不要求憑證,但伺服器會讀取本機程式碼,請只指向你願意被索引的目錄。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Vector DB MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Plojure

Plojure is a playground for Lisp, Python, and x86_64 assembly experiments. The current hybrid branch also contains a macOS porting path for the FASM examples.

The target workflow on macOS is intentionally boring:

sh
fasm fasm/basic/fib.asm./fasm/basic/fib

No Docker command in the hot path, no exec format error, no Linux ELF binary pretending to be a macOS program.

macOS FASM Setup

Install the companion fasm shim from kroq86/fasm-mac:

sh
git clone https://github.com/kroq86/fasm-maccd fasm-mac./install.shexport PATH="$HOME/.local/bin:$PATH"

The installed command is named fasm.

On Apple Silicon it produces x86_64 Mach-O binaries, so Rosetta is required:

sh
arch -x86_64 /usr/bin/true

If that fails:

sh
softwareupdate --install-rosetta

Standalone Examples

These examples now use fasm/core/platform.inc instead of hardcoded Linux syscall numbers:

sh
fasm fasm/basic/fib.asm./fasm/basic/fib
fasm fasm/basic/arg.asm./fasm/basic/arg fasm/basic/lol.txt
cd fasm/basicfasm mycat.asm./mycat
cd ../advanced/binary_searchfasm bin_s.asm./bin_s

Expected behavior:

  • fib.asm prints Fibonacci values.
  • arg.asm prints the file passed as argv[1].
  • mycat.asm prints fasm/basic/lol.txt.
  • bin_s.asm prints the found index.

Shared Library Examples

Simple C/Python native-library examples can now build .dylib files on macOS:

sh
cd fasm/advanced/add./run.sh
cd ../binary_search/wrapper./run.sh
cd ../../oop_game./build.sh

The build path is:

sh
fasm --emit=macho-obj add.asm add.oclang -arch x86_64 -dynamiclib wrapper.c add.o -o mylib.dylib

On Apple Silicon, Python ctypes needs an x86_64/Rosetta Python to load these libraries. The default Homebrew Python is usually arm64 and cannot load an x86_64 .dylib.

Vector DB

projects/vector-db now looks for .dylib on Darwin and .so on Linux. The macOS build path is:

sh
cd projects/vector-dbfasm --emit=macho-obj assembly/dot_product.asm dot_product.oclang -arch x86_64 -dynamiclib dot_product.o assembly/wrapper.c -o dot_product.dylib

If the native library cannot be loaded, the Python code keeps the existing fallback behavior where available.

What Still Is Not Done

  • fasm classic itself still has no upstream-style format Mach-O formatter.
  • Native arm64 assembly output is not part of this port.
  • The Mach-O object converter rejects ELF relocations for now.
  • Coroutines are intentionally left for a later pass because they switch stacks manually and cross Python callback boundaries.
  • Python examples on Apple Silicon need an x86_64 Python runtime if they load x86_64 .dylib files.

Original Lisp Interpreter

The repository also contains a small Lisp interpreter:

sh
python projects/lisp-interpreter/main.py projects/lisp-interpreter/program.lisp

It supports recursive functions, lambda expressions, arithmetic, conditionals, and function calls.

來源:readme.md,提交 956da61

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。