Skip to main content
Glama

Obsidian MCP Second Brain Server

by CoMfUcIoS
development.md1.23 kB
# Development & Storage Architecture ## Table of Contents - [Development](#development) - [Storage Architecture](#storage-architecture) ## Development ```bash # Install dependencies npm install # Watch mode (auto-rebuild on changes) npm run watch # Build npm run build # Start server npm start # Run tests npm test # Run tests with coverage npm test:coverage # Lint code npm run lint # Auto-fix lint issues npm run lint:fix ``` **Note:** - All server logs and error messages are printed to stderr. ## Storage Architecture The server uses **SQLite database storage by default** for efficient indexing and persistent caching: - **Database Mode (Default):** Stores indexed notes in `.obsidian-mcp/notes.db` within your vault - Persistent indexing (survives server restarts) - Efficient for large vaults (1000+ notes) - Full-text search with SQLite FTS5 - Lower memory usage - **Memory Mode (Optional):** Use `--use-memory` flag for in-memory storage - Faster for small vaults (<100 notes) - No disk I/O overhead - Useful for development and testing - Uses Fuse.js for fuzzy search See [`docs/architecture.mmd`](architecture.mmd) and [`docs/database-schema.mmd`](database-schema.mmd) for diagrams.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CoMfUcIoS/obsidian-mcp-sb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server