Developer Guide • Obsidian MCP Setup • Updated: November 2026 • ASD-STE100 Standard • Raw Markdown (.md)
How to Connect Obsidian Vault to Claude Desktop, Cursor & AI Agents via MCP (2026)
Model Context Protocol (MCP) lets Claude Desktop, Cursor, and autonomous coding agents read your private Obsidian notes directly without manual copy-paste. ScrapLibra hosts a ready-to-use JSON-RPC 2.0 and SSE MCP gateway backed by your 20-folder vault and TOON compression (-36.7% to -45% tokens). Connect in under two minutes using a revocable HMAC-SHA256 bearer token.
Should you run a local Obsidian MCP plugin or a hosted cloud MCP gateway?
Local Obsidian MCP servers work only while your laptop and Obsidian desktop app stay online. A hosted cloud MCP gateway gives Claude, Cursor, and remote agents 24/7 read access to pre-cleaned atomic notes with TOON token compression.
Local filesystem MCP plugins often return raw, bloated Markdown dumps with broken formatting that burn context windows quickly.
ScrapLibra indexes pre-triaged notes across 20 flat folders, letting your AI agent filter by category before loading full note text.
| Capability | Local Filesystem MCP | ScrapLibra Hosted MCP |
|---|---|---|
| Setup effort | Node/Python runtime + local path config | Paste JSON endpoint + bearer token (2 min) |
| 24/7 cloud agent access | Requires laptop awake | Always-on HTTPS JSON-RPC 2.0 & SSE |
| Token payload format | Verbose JSON / raw full files | TOON format (-36.7% to -45% tokens) |
| Pre-cleaned bookmarks & YouTube | Manual clipping required | Automated via @telelibra_ai_bot & Web |
How do you connect ScrapLibra MCP to Claude Desktop or Cursor in four steps?
Generate an HMAC-SHA256 bearer token in your ScrapLibra Dashboard. Add the MCP server block to Claude Desktop or Cursor, restart the client, and test search_vault.
All credentials are scoped strictly to your isolated tenant SQLite ledger and can be revoked instantly.
- Open ScrapLibra Dashboard and generate a personal MCP bearer token.
- Open claude_desktop_config.json or Cursor MCP settings on your machine.
- Add the ScrapLibra MCP endpoint URL with your Authorization bearer header.
- Restart Claude or Cursor and run a test query against your vault.
Frequently Asked Questions
Which AI clients work with the ScrapLibra MCP gateway?
Claude Desktop, Cursor, Windsurf, Google Antigravity, and any custom agent supporting standard Model Context Protocol JSON-RPC 2.0 or SSE.
Can an AI agent modify or delete my original Obsidian notes over MCP?
By default, ScrapLibra MCP prioritizes safe read-and-retrieve tools plus explicit note ingestion without destructive vault deletion.
Why does TOON format matter when querying an Obsidian Vault from Claude?
TOON removes repeated JSON keys and braces, reducing token usage by 36.72% on 100-note payloads and up to 45% on nested metadata.