Skip to main content
Glama

vault-mcp

Serveur MCP unifié du vault Obsidian : lecture, recherche sémantique (hybride), graphe et écriture soumise à consentement. Pensé pour exposer un vault de connaissances à des agents IA (Claude, Codex, ChatGPT…) derrière une passerelle d'authentification.

Version courante : 2.0.0 (pyproject.toml).

Fonctionnalités

  • Lecture / recherche lexicale + vectorielle (moteur hybride par fusion à rang réciproque).

  • Graphe de notes (backlinks, liens sortants, liens non résolus).

  • Écriture par lots d'intentions : consentement, détection de conflits, spool.

  • Serveur MCP streamable-http + serveur HTTP séparé (server_http.py historique, non inclus).

Related MCP server: Semantic Notes Vault MCP

Structure

vault_mcp/          paquet principal (serveur, store, index, chunk, spool, auth, oauth…)
scripts/            utilitaires d'exploitation (reindex, parité)
tests/              suites pytest (+ jeu de requêtes de référence queries.json)
pyproject.toml      métadonnées + config ruff (bandit activé) et mypy strict

Exécution

pip install -r requirements.txt
python -m vault_mcp.server          # service MCP (variables via l'environnement)
pytest                              # tests

Variables d'environnement : voir .env.example (aucune valeur réelle n'est versionnée — le fichier d'env du service vit hors Git, en 0600).

Déploiement

Service systemd dédié (User=<compte de service>, ProtectSystem=strict, PrivateTmp=yes…), alimenté par un miroir CouchDB du vault ; l'écriture remonte par spool vers l'instance de référence. Voir scripts/reindex.py (reconstruction de l'index) et scripts/parite.py (vérification de parité miroir ↔ source).

Maintenance

ActivityMaintained
ResponsivenessWithin a week

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Connects AI assistants to an Obsidian vault as a semantic knowledge graph, enabling graph navigation, semantic search, and content operations through MCP.
    10 npm
    463
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    Enables local hybrid search over Obsidian and Markdown vaults via MCP, combining vector retrieval, full-text search, reranking, graph navigation, and safe CRUD while keeping data local.
    43
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables hybrid search, reading, writing, and managing a local Obsidian vault through MCP tools and a REST API, including section patching, appending, moving notes with link rewriting, and frontmatter updates.
    AGPL 3.0