Loredex MCP Server
Provides tools to browse, search, and manage notes in a loredex knowledge vault within Obsidian, enabling AI agents to read and file information into the vault.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Loredex MCP Serversearch for notes related to API design decisions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ฎ Loredex for Obsidian
The Obsidian and MCP dashboard layer for loredex โ shared memory, handoffs, and focused views for coding-agent teamwork.
loredex ecosystem ยท ๐ loredex (CLI + core) ยท ๐ฅ๏ธ Desktop app ยท ๐ฎ Obsidian plugin (you are here)
Part of the loredex ecosystem โ the CLI, Claude Code plugin, vault spec, and all core logic live in the main repo: ahmedtawfeeq1/loredex. This plugin embeds that package as a library and re-hosts it inside Obsidian.
Loredex is the universal control system for coding-agent teamwork across products and projects. This plugin is the visual dashboard and in-app MCP layer that lets teams browse shared memory, track handoffs, and work from focused views inside Obsidian:
๐ Quick Actions
I want to... | Go here |
Install the plugin fast | |
Connect my agent to Obsidian's local MCP server | |
Understand how this fits into the full loredex framework | |
See the visual story behind the product | |
Check security and localhost network behavior |
Related MCP server: Obsidian MCP Server
๐ Table of Contents
๐งญ Why This Plugin Exists
Use the main | Use |
Routing markdown into the vault, running | Opening the dashboard, syncing the vault from inside Obsidian, watching handoffs, and exposing |
Setting the shared knowledge structure | Making that structure visible and agent-accessible where you actually read it |
๐ Native dashboard โ one click (ribbon or command) opens
_index/Dashboard.base, the Obsidian Bases database loredex generates: latest notes, open handoffs, by-project cards, stale list. Sortable, filterable, 100% native UI.๐ Handoff badge โ the status bar shows how many cross-team handoffs are open across the product. Click it to open the dashboard.
โ Vault sync โ one command pulls the shared vault repo (rebase + autostash), rebuilds the indexes, commits, and pushes. Same conflict-free merge driver the CLI uses for generated files.
๐ค MCP server inside Obsidian โ serves the vault to coding agents (Claude Code, Cursor, Codex CLI) over Streamable HTTP on localhost. All six loredex MCP tools (
vault_search,vault_note,handoffs_open,handoff_consume,product_state,vault_store) plus one only Obsidian can provide:active_noteโ the note you're looking at right now.
Requirements
Obsidian โฅ 1.9 (the dashboard uses the core Bases plugin) ยท desktop only (
isDesktopOnlyโ the plugin shells out togitand reads the vault through Nodefs)A loredex vault (
npx loredex initโ see the main repo)
Network use disclosure
When the MCP server is enabled (default: on), the plugin listens on 127.0.0.1 only โ it never binds a public interface and never makes outbound network requests. Every request must carry a bearer token generated on first load (Settings โ Loredex). Turn the server off in settings and the plugin opens no sockets at all. Git sync runs git against whatever remote you configured for your vault repo; the plugin adds no remotes.
Install
Not yet in the community plugin directory. Two options:
BRAT (recommended โ auto-updates): install BRAT, then Add beta plugin โ ahmedtawfeeq1/loredex-obsidian.
Manual: grab main.js + manifest.json from the latest release, drop them in <vault>/.obsidian/plugins/loredex/, reload Obsidian, enable the plugin.
Setup
Open your loredex vault (
~/Loredexby default) as an Obsidian vault, if you haven't already.Enable the plugin. A bearer token is generated automatically.
Run the command โLoredex: Copy MCP server config for coding agentsโ and add it to your agent. Recommended: user-scope config so the token never lands in a committed
.mcp.json:
claude mcp add --scope user --transport http loredex-obsidian \
http://127.0.0.1:28428/mcp --header "Authorization: Bearer <your-token>"Agents connected this way search and file into the vault while Obsidian is open โ no separate process. (Without Obsidian running, agents use the CLI's stdio server instead: npx -y loredex mcp. Same tools, minus active_note.)
Commands
Command | What it does |
Open product dashboard | Opens |
Sync vault | git pull โ rebuild indexes โ commit โ push |
Copy MCP server config for coding agents | Clipboard-ready snippet with your port + token |
Restart MCP server | Rebind after changing port/token |
Settings
Setting | Default | |
MCP server | on | Streamable HTTP on localhost |
Port | 28428 | |
Bearer token | generated | regenerate any time (then re-add the agent config) |
Git sync | on | pull/commit/push during sync command |
Handoff check interval | 5 min | status-bar badge refresh |
Security model
The vault is treated as untrusted input end to end โ same rules as the loredex CLI. Note content returned to agents is framed as data, never instructions, control characters are stripped, and lengths are bounded. Note paths are resolved with realpath and must land inside the vault (symlink escapes rejected). The server is stateless: every request gets a fresh MCP server instance reading current vault state.
Development
npm install # installs the loredex core from npm
npm run typecheck
npm run build # bundles src/main.ts โ main.js (CJS, obsidian external)
npm run smoke # boots the HTTP server against a temp vault, drives a real MCP session
npm run dev # esbuild watch modenpm run smoke is the fast loop โ it proves auth, initialize, tools/list, and a real vault_search without launching Obsidian.
Related
loredex โ the main repo: CLI, Claude Code plugin, MCP server, vault spec, and all core logic (this plugin embeds it as a library)
License
MIT ยฉ Ahmed Tawfeeq โ PM & Head of AI, Founder @ genudo.ai
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceTurns your Obsidian vault into an MCP-enabled workspace with tools for reading/writing notes, managing folders, running semantic searches, and maintaining long-term memoryโall while keeping data local to your vault.Last updated192,890149MIT
- Alicense-qualityDmaintenanceEnables AI assistants to search, read, and append content to notes in an Obsidian vault via the MCP protocol.Last updated2,001BSD Zero Clause
- AlicenseBqualityBmaintenanceBridges Obsidian vaults with MCP-compatible AI tools, enabling read/write/search of notes, task management, and vault operations through 34 tools and prompt templates.Last updated34611MIT
- Alicense-qualityBmaintenanceEnables AI agents to remotely access and interact with Obsidian vaults via MCP, supporting note operations, tag management, graph queries, and command execution.Last updated3GPL 3.0
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Shared long-term memory vault for AI agents with 20 MCP tools.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ahmedtawfeeq1/loredex-obsidian'
If you have feedback or need assistance with the MCP directory API, please join our Discord server