Codex Vault
Provides tools for interacting with Obsidian-compatible Markdown vaults, including browsing and searching notes, wikilinks, tags, frontmatter, backlinks, orphan notes, broken links, knowledge graph views, and adding selected note content to chat context. Writes are supported but disabled by default.
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., "@Codex VaultList all orphan notes in my vault"
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.
Codex Vault
Codex Vault is a local plugin for the Codex desktop app that can read Obsidian-compatible Markdown vaults, search notes, view backlinks and knowledge graphs, and add selected content to chat context.
[!IMPORTANT] The project is still in early development and is only tested through the personal marketplace; it has not been publicly released yet.
Features
Browse and search Markdown, wikilinks, tags, and frontmatter.
Display backlinks, orphan notes, broken links, and knowledge graphs.
Select text and add it to the Codex composer as a note; it will not be sent automatically.
Accumulate multiple notes, each retaining the note path, text, and line number.
Read and write notes securely through MCP tools; writing is disabled by default.
Related MCP server: vault-master-mcp
Usage
After installation, create a new Codex task, select @Codex Vault, and enter "Open Vault Explorer". After the plugin is updated, you must use a new task; existing tasks will not hot-reload MCP tools.
To add a note:
Select text in the Markdown reader and click "Add to Chat".
Add any comments as needed, then click "Add to Chat" again.
Return to the composer and enter your question; the note will be sent to the model along with your input.
Notes only exist in the chat context and are not written back to the Markdown.
Capability Boundaries
This is a Codex plugin and MCP app, not a fork of the Codex app.
It cannot be installed as a fixed sidebar or model control menu in the Codex private UI.
Notes use the public
updateModelContext()API, not a private Codex note data model.It is currently mainly verified on macOS; other platforms have not been fully tested.
Development
Requirements: Node.js 22+, Yarn Classic 1.x, and a Codex app that supports Plugins/MCP Apps.
git clone https://github.com/Avery320/codex-vault.git
cd codex-vault
yarn install
yarn build
yarn workspace @foam/mcp test
yarn workspace @foam/graph-view test:unitAn environment with a personal marketplace configured can run:
codex plugin add codex-vault@personal
codex plugin listRunning ./scripts/launch_codex_vault_mcp directly only starts the stdio server and does not display the Codex UI. For the full update process, see the Development Guide.
Writing
Set CODEX_VAULT_ALLOW_WRITES=true, or make the content of
~/.config/codex-vault/allow-writes true, to enable writing tools.
To modify an existing note, you must first call preview_resource_update, then call
update_resource with the returned SHA-256; if the file has changed, it will return conflict and will not overwrite the new content.
Documentation
Fork and License
Codex Vault is derived from Foam, inheriting its Markdown, wikilink, and graph core, and adding a Codex plugin, MCP app, multi-vault management, and chat notes.
This project is licensed under the MIT License. Upstream, Microsoft-derived source, and third-party dependencies are attributed in NOTICE.md. Codex Vault is not an official product of OpenAI, Obsidian, or Foam.
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
- AlicenseAqualityDmaintenanceAn MCP server for managing Obsidian-style note vaults, providing tools for full-text search, note creation, and backlink tracking. It enables users to navigate, structure, and update their personal knowledge base through natural language.9MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that treats Obsidian vaults as knowledge graphs, enabling AI agents to traverse wikilinks, assemble token-budgeted context, and search with backlink awareness.31MIT
- FlicenseNot gradedqualityBmaintenanceMCP server that exposes an Obsidian vault (search, read, create, and update notes) via Streamable HTTP.
- FlicenseNot gradedqualityBmaintenanceMCP server that provides natural language access to an Obsidian vault, enabling reading, searching, listing, and creating notes.
Related MCP Connectors
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
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/Avery320/codex-vault'
If you have feedback or need assistance with the MCP directory API, please join our Discord server