Back to Home
yejianye icon

ob-smart-connections-mcp

Verified Safe

by yejianye

Overview

Provides semantic search and connection discovery within Obsidian vaults, leveraging pre-generated embeddings, for both command-line users and AI agents via the Model Context Protocol (MCP).

Installation

Run Command
npx @yejianye/smart-connections-mcp

Environment Variables

  • OBSIDIAN_VAULT

Security Notes

The server and CLI operate on local, pre-indexed Obsidian vault data, performing only read operations. Robust path validation mechanisms (e.g., `fs.realpathSync`, `path.relative` checks) are implemented when handling user-provided note paths to prevent path traversal attacks, ensuring all operations remain strictly within the defined vault boundary. Embedding generation for queries uses `@xenova/transformers` locally, mitigating external network risks during inference. No direct `eval` usage or hardcoded sensitive information was found.

Similar Servers

Stats

Interest Score41
Security Score9
Cost ClassMedium
Avg Tokens50
Stars2
Forks0
Last Update2025-11-25

Tags

ObsidianSemantic SearchEmbeddingsAI Agent ToolLocal AI