Vector DB MCP
Assembly-accelerated DuckDB MCP server for code search, indexing, and symbol lookup.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
ghcr.io/kroq86/vector-db-mcp:0.1.1claude mcp add vector-db-mcp -- docker run -i --rm ghcr.io/kroq86/vector-db-mcp:0.1.1
{
"mcpServers": {
"vector-db-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kroq86/vector-db-mcp:0.1.1"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
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:
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:
git clone https://github.com/kroq86/fasm-mac
cd fasm-mac
./install.sh
export 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:
arch -x86_64 /usr/bin/true
If that fails:
softwareupdate --install-rosetta
Standalone Examples
These examples now use fasm/core/platform.inc instead of hardcoded Linux
syscall numbers:
fasm fasm/basic/fib.asm
./fasm/basic/fib
fasm fasm/basic/arg.asm
./fasm/basic/arg fasm/basic/lol.txt
cd fasm/basic
fasm mycat.asm
./mycat
cd ../advanced/binary_search
fasm bin_s.asm
./bin_s
Expected behavior:
fib.asmprints Fibonacci values.arg.asmprints the file passed as argv[1].mycat.asmprintsfasm/basic/lol.txt.bin_s.asmprints the found index.
Shared Library Examples
Simple C/Python native-library examples can now build .dylib files on macOS:
cd fasm/advanced/add
./run.sh
cd ../binary_search/wrapper
./run.sh
cd ../../oop_game
./build.sh
The build path is:
fasm --emit=macho-obj add.asm add.o
clang -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:
cd projects/vector-db
fasm --emit=macho-obj assembly/dot_product.asm dot_product.o
clang -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-Oformatter. - 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
.dylibfiles.
Original Lisp Interpreter
The repository also contains a small Lisp interpreter:
python projects/lisp-interpreter/main.py projects/lisp-interpreter/program.lisp
It supports recursive functions, lambda expressions, arithmetic, conditionals, and function calls.
Questions fréquentes
Qu'est-ce que Vector DB MCP ?
Assembly-accelerated DuckDB MCP server for code search, indexing, and symbol lookup.
Comment installer Vector DB MCP ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add vector-db-mcp -- docker run -i --rm ghcr.io/kroq86/vector-db-mcp:0.1.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Vector DB MCP ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
Vector DB MCP est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient Vector DB MCP ?
Il est publié par kroq86. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.