Obsidian Vault MCP
A local desktop VS Code extension and MCP server: retrieve project knowledge,
manage tasks and notes through reviewable changes, and capture coding outcomes.
Optional personal instructions guide agents to consult your vault across sessions.
Independent project, not an official Obsidian product.
Install and start
- Install Obsidian Vault MCP by GuillaumePrvost from the VS Code
Extensions Marketplace, or run Extensions: Install from VSIX... and
select
obsidian-vault-mcp-0.6.0.vsix.
- The extension reads Obsidian's own registered-vault list. It selects the only
registered vault or the uniquely open vault; it does not scan the computer
for Markdown files.
- To select a vault explicitly, run Obsidian MCP: Switch Vault. This pins
your choice and disables auto-detection until you re-enable it in settings.
Saved project associations take precedence over this editor default.
Use Obsidian MCP: Configure Vault and Project to create/connect folders,
save project mappings, choose a persistent default, or disconnect the agent.
- Open a trusted coding workspace, then use MCP: List Servers to start and
trust Obsidian Vault. Enable its tools in agent chat.
- Writes are off by default. Enable
obsidianVault.enableWrites if wanted and
restart the server. Existing users' chosen write permissions are retained.
On first activation in a trusted workspace, a Get Started notification opens
a walkthrough with vault selection, agent connection, optional persistent
instructions, and troubleshooting actions. Reopen it at any time with
Obsidian MCP: Get Started. Dismissing the notification does not disable the
MCP or change your permissions. Walkthrough checkmarks indicate commands opened,
not verified successful connections; use the status and real tool-call checks.
The packaged extension uses VS Code's Node runtime; no separate Node installation
is needed. VS Code Web is unsupported. The extension is designated to run locally
in Remote SSH/WSL/container scenarios; vaults must be accessible on the desktop.
Windows is the validated development platform. macOS/Linux and remote UI/client
integration remain experimental until their desktop acceptance checks are run.
No manual server path is needed for the extension-provided server, including
after an extension update.
On first activation in a trusted desktop workspace, the extension also registers
the managed server for Copilot agent sessions automatically, if no
obsidian-vault entry exists. Existing custom registrations are never replaced
automatically. VS Code's MCP trust/tool approval prompts still apply.
In the Agents window, ask "Use Obsidian MCP get_readiness, then help me connect
a vault and save this project's target." The agent can inspect setup,
create/connect folders, save project associations, list/select vaults, and
preview linking instructions without editor commands.
It must show the global change and obtain your approval before applying.
No selected vault is needed to start the server or access onboarding tools.
If Obsidian has no registered vault, connect/create a folder through setup or
open an existing vault in Obsidian.
Vault setup, project routing and optional structure
Setup changes use preview_workspace_setup, then apply_workspace_setup after
approval. cancel_workspace_setup discards a preview. Setup previews are
session-local, expire after ten minutes, reject changed destinations/settings,
and cannot be replayed. Review their complete action, absolute paths and file
contents. Setup is available in read-only mode; it is explicit configuration
approval, not permission for ordinary note edits.
Supported change actions:
| Action |
Inputs |
Effect |
connect |
root, starter |
Connect an existing local folder |
create |
root, starter |
Create a new folder under an existing parent and connect it |
starter |
root |
Add optional starter notes/templates, refusing any overwrite |
project |
workspaceUri, target or null |
Save or remove a project mapping |
default |
root or null |
Save or clear the explicit fallback |
companion |
root |
Install/update bundled companion files, retaining settings and backups |
disconnect |
none |
Remove this managed agent registration and suppress automatic registration |
Project target fields are root and optional note, folder, capture.
Note/capture paths are vault-relative Markdown paths. Note/folder associations
must exist; capture may name a future note. Setup rejects symbolic-link paths,
reserved names and traversal. A creation failure attempts rollback of only the
new files and empty folders; incomplete recovery is reported, never hidden.
File-based workflows work without Obsidian running. Creating a folder does not
register it inside Obsidian: open it as a vault in Obsidian yourself. The MCP
never edits Obsidian's private registry or installs/updates the application.
Mappings live in ~/.copilot/obsidian-vault/state.json, outside repositories.
No meta vault is required. Local file: and vscode-remote: workspace URIs have
different identities. Clients that advertise MCP roots use their single root;
with multiple roots or no roots, call resolve_project with an explicit
workspaceUri. An explicit workspace selection is retained for that MCP session.
Global agent registration never inherits the last editor's workspace URI.
Resolution: explicit operation arguments / expected vault guard, session switch,
saved project, saved default, configured editor vault, unambiguous discovery.
An expected vaultId guards the current selection; it does not silently switch.
switch_vault selects one vault for this session only. Missing mapped vaults
are reported without silently falling back. Switching does not retarget previews.
Combined cross-vault search is not provided.
Saved project folders scope search, query and task defaults. An explicit folder
overrides that default (use "" to search the entire selected vault). Project
context uses the saved entry note if note is omitted; capture uses the saved
destination if path is omitted. No destination is inferred when none is saved.
Optional starter structure:
Home.md
Projects/Example/Overview.md
Standards/
Concepts/
Templates/
Archive/
Templates cover project overview, decision, runbook, reusable standard and
handoff. Existing vaults need no migration. Metadata such as type, project,
status, updated, aliases and supersededBy is a convention, not mandatory.
Prefer coherent notes, descriptive sections, explicit scope and source links.
Keep historical logs separate from current decisions. No arbitrary word-count
rules, automatic restructuring or AI-readiness scores are imposed.
Guided workflows and readiness
Eight MCP prompts are included: project_context, compare_decisions,
project_tasks, session_handoff, prepare_note, vault_health, rename_note,
recover_change. They take task and optional workspaceUri.
If your client does not surface prompts, ask it to call run_vault_workflow.
This returns a workflow and resolved context; it does not claim actions ran.
The assistant must perform the indicated retrieval and review steps.
get_readiness reports actual file-index access, effective routing, broken
project entry/folder paths, write setting, instruction linking, templates/daily
settings, companion versions/connectivity and embedding configuration.
probeEmbeddings: true sends a fixed no-note-content probe to the configured
local endpoint. Optional failures appear separately instead of blocking retrieval.
Show Status uses the same readiness implementation in the editor.
Registry availability is not executable detection, a running app, or a live
connection; application launching is not claimed or performed.
For example:
Use the project_context workflow to find the current architecture decisions.
Compare this implementation with accepted decisions; show conflicting and superseded sources.
Preview a session handoff using this project's saved destination.
Check vault readiness and preview installing or updating the companion.
Capabilities
| Area |
Tools |
| Vault discovery/targeting |
list_obsidian_vaults, get_vault_status, switch_vault |
| Retrieval |
search_notes, query_notes, read_note, read_note_excerpt, get_note_links, get_project_context |
| Tasks and templates |
list_tasks, list_templates, preview_task_update, preview_template_note |
| Rich editing |
preview_note_update, preview_note_edit, apply_note_update, cancel_note_update |
| Rename/recovery |
preview_note_rename, list_change_history, preview_undo |
| Knowledge workflows |
check_vault_health, preview_session_capture, semantic_search |
| Setup and readiness |
get_readiness, resolve_project, preview_workspace_setup, apply_workspace_setup, cancel_workspace_setup |
| Review and guidance |
get_change_review, run_vault_workflow, get_copilot_setup, preview_copilot_setup, apply_copilot_setup, read_copilot_instruction |
| Live Obsidian (optional companion) |
get_live_obsidian_context, native rename mode; resolve_obsidian_link prefers the companion and falls back to file-based resolution when Obsidian is closed |
The nine note preview/apply/cancel tools are only registered with writes enabled.
Onboarding, review and readiness tools are always available. Instruction setup is a separate,
explicitly approved global configuration change, not permission to edit notes.
Note results identify the selected vault and its stable vaultId. Optional
vaultId inputs on reads/previews reject unexpected targets. Apply requires the
exact vaultId, proposalId and expectedRevision from its preview.
Search, properties and exact excerpts
- Keyword search supports all-term matching, exact phrases, folder, tag, heading,
and exact frontmatter-property filters. Results include paths and line ranges.
query_notes filters exact property values, folder and tags without requiring
a keyword. It never evaluates JavaScript or Dataview queries.
- Read a whole note with pagination or retrieve a unique heading/block ID.
Ambiguous names/headings are errors, not guesses.
get_project_context collects bounded one-hop linked/backlink notes.
- Health checks suggest repairs for broken links/anchors, orphan notes,
duplicate titles, missing required properties and superseded notes without a
replacement reference. Nothing is auto-deleted. Metadata/status is returned
but does not automatically rank authority or exclude historical sources.
- Keyword/semantic excerpts retain metadata, heading context and source bounds.
Semantic chunks include identity/context in embeddings. Truncation is explicit;
fetch the original note/section for complete evidence. No relevance improvement
is claimed for arbitrary vaults without evaluation.
Examples:
Find active project notes under Projects, then read the Decisions section.
List unfinished tasks for this project and preview completing the first one.
Check for broken links and notes missing the status property. Suggest fixes.
Editing, visual review and undo
preview_note_edit supports:
replace_note: replace the entire Markdown content.
replace_section: retain a unique heading and replace its section body.
replace_text: replace an exact string that occurs once.
properties: set/remove frontmatter keys while retaining YAML comments where possible.
Text/property edits require the latest note revision from read_note.
Task updates require the exact line and revision from list_tasks.
The existing append tool still supports a note, unique section, or daily date.
- Ask the agent to prepare a preview and show all changed files and target vault.
- Run Obsidian MCP: Review Pending Changes for side-by-side VS Code diffs.
- Choose Apply Reviewed Changes, Cancel Proposal, or Keep Pending.
The agent can also apply after your approval through the MCP confirmation flow.
- Run Obsidian MCP: Undo Change to preview restoring an applied operation.
Previews are vault-bound, expire after ten minutes, and survive server restarts.
get_change_review exposes every file's before/after content with character
offsets and a nextOffset; read every relevant page before approval. Invalid
file indexes/offsets are errors, not empty-success responses.
Approval for MCP tools is mediated by the client/model: the server cannot prove
that a human clicked approval. Configure host tool confirmations; annotation
hints and instructions alone are not an authorization boundary.
They live under .obsidian-mcp/proposals. Complete before/after snapshots,
operation status and backups live under .obsidian-mcp/history and backups.
These hidden folders are excluded from note tools. Backups/history remain until
you remove them; expired proposal files are pruned when preparing new ones.
Undo is itself a preview and needs approval. It refuses if any affected note has
changed since the operation. Undoing creation removes only the unchanged file
that operation created. There is no arbitrary delete or automatic cleanup tool.
Old version 0.2 backups remain in .obsidian-mcp-backups; they are not migrated
into the new operation history.
Rename and move
File-mode rename previews changes to the note and references across indexed
notes. It retains wikilink aliases, heading anchors and basic Markdown links,
adjusts outgoing relative references, and ignores common fenced/inline code.
It supports undo using the same operation history.
It is a lightweight Markdown implementation, not complete Obsidian parser
parity. Excluded notes and attachments are not indexed for incoming links.
Case-only renames are rejected. Review all changed files before applying.
For Obsidian's exact internal behavior, use native: true with the companion.
Templates, daily notes and session capture
By default, tools read .obsidian/templates.json and daily-notes.json to use
your actual Templates folder, daily-note folder, date format and template.
Without these files, defaults are Templates, Daily, and YYYY-MM-DD.
Set useObsidianSettings to false to use extension defaults.
Template variables support {{title}}, {{date}}, {{date:FORMAT}},
{{time}}, {{time:FORMAT}}, and explicit user variables. Date/time formatting
uses Moment tokens. Missing variables fail explicitly. Templates do not execute
Templater scripts or arbitrary code.
preview_session_capture takes an explicit summary, date, decisions, changed
file references and follow-up tasks. It previews a structured append; it does
not monitor chats, git, or editors in the background.
Explicit vault targeting
The registry is Obsidian's application-maintained obsidian.json (Windows:
%APPDATA%\obsidian\obsidian.json; macOS: Application Support; Linux: XDG config).
Its saved open flag is not a live application connection.
switch_vault accepts an available registered/connected vaultId and switches this MCP session only.
It does not change VS Code settings, move previews, or retarget existing edits.
To review a proposal in another vault, switch the extension to that same vault.
Applying with a mismatched vault ID fails.
An MCP process stays bound to its selection until explicitly switched or
restarted; it never silently redirects a pending write because Obsidian changed
the active vault. Obsidian MCP: Switch Vault pins the extension's selection.
Optional live Obsidian companion
The VSIX bundles a separate desktop Obsidian plugin. It is not installed or
enabled in your vault automatically.
- Run Obsidian MCP: Install or Update Companion Plugin in VS Code,
or ask the agent to preview a
companion workspace setup change.
- Review the target vault and confirm installation.
- In Obsidian, reload plugins and enable Obsidian Vault MCP Companion under
Community plugins (Restricted Mode must permit community plugins).
- Keep Obsidian open for live context and native renames. Obsidian does not
need to be open for any other tool.
- For native renames, enable Allow confirmed vault renames in the plugin's
settings too. Each native apply additionally displays a confirmation in Obsidian.
Updates preserve data.json (including the user's existing write setting) and
back up replaced companion files beside their originals with a proposal-specific
suffix. Inspect the preview for version changes before approval. Reload the plugin
after updating: the installed file version and running version can differ.
get_readiness reports both and only marks exact bundled versions compatible.
Its authenticated /status probe does not read the current note or selection.
The plugin serves bounded current-note and selected-text context, resolves
links through Obsidian's live metadata cache, and delegates confirmed renames to
Obsidian's file manager. It binds only to 127.0.0.1 on a random port, uses a
random bearer token, and rejects browser Origin headers.
When the companion is not running (no descriptor, or a stale one after a crash),
resolve_obsidian_link resolves from the file index instead and reports
resolver: "files". That mode strips #heading/|alias parts, accepts aliases,
rejects ambiguous note names rather than choosing one, and resolves Markdown
notes only. Companion results report resolver: "obsidian". Security and
not-found errors from a running companion are never masked by the fallback.
The connection descriptor is .obsidian/plugins/obsidian-vault-mcp/bridge.json.
Keep it private. The plugin removes its own descriptor on unload and checks for
a stale crashed instance on startup. It never exposes an unauthenticated HTTP API.
Native rename previews are explicitly pre-rename snapshots and scope, not
predicted post-rename diffs: Obsidian applies links according to its automatic
link-update setting. Native proposals are limited to 32 affected Markdown notes
and 1 MB of snapshots, and destination folders must already exist. Changed
revisions/scope are rejected. Native backups live inside the companion plugin's
backups directory; they are separate from file-mode history/undo. Native
rename failures report recovery locations and rollback status. Native undo is
performed by previewing the reverse native rename or restoring those backups.
Standard .obsidian configuration directories are supported by the VS Code
discovery client/installer. Custom Obsidian config directories are not yet
supported there. The bundled companion README contains manual installation
and protocol details.
Optional semantic search (local embeddings)
Semantic search is implemented but disabled until you configure a local model:
- Install and run Ollama locally, if you choose to use it.
- Install an embedding model, for example
ollama pull nomic-embed-text.
- Set
obsidianVault.semanticSearch.enabled to true and restart the server.
- Ask for meaning-based retrieval using
semantic_search.
The default endpoint is http://127.0.0.1:11434/api/embed. Only literal loopback
HTTP endpoints (127.0.0.1 or [::1]) are accepted; redirects are rejected.
The extension never installs/downloads models automatically and has no cloud
embedding fallback. Chunks and queries are sent to your local service only.
Review that service's own retention/security settings.
Embeddings are cached in memory by note revision, up to 500 indexed notes and
eight 40-line / 4,000-character chunks per note. Results report index limits and
omitted notes. This bounded retrieval is not an exhaustive semantic index of
very large vaults. A missing model/service or malformed response is an explicit
error. Ordinary search does not use embeddings.
Use the vault as Copilot's instructions source
Keep your coding standards in the vault and have Copilot follow them in every
project. Run Obsidian MCP: Use Vault as Copilot Instructions Source (the
extension also offers it once per vault on first trusted launch after the welcome,
or when vault settings change). Approval is required before any instruction file
or personal-instructions link is created. Dismissing or declining the offer does
not cause repeated reminders; the command remains available for later setup.
- The vault's
.github/instructions/ folder is linked to
~/.copilot/instructions/obsidian-<vault name>, Copilot's personal
instructions folder. On Windows this is a directory junction (no administrator
rights). Nothing is copied: edits in the vault apply immediately.
- If the vault has no
*.instructions.md files yet, you choose its home/index
note and a starter obsidian-vault-knowledge.instructions.md, displayed as
Vault Knowledge Reflexes, is created after approval. It tells agents to
check readiness/project routing and retrieve only relevant notes with bounded
reads, leaving unrelated topics unloaded. Existing instruction files are
preserved, not regenerated or overwritten. Obsidian hides .github, so edit
instruction files in VS Code.
- A configured link proves filesystem setup, not host recognition or inclusion
in a request. Start a new session and use Chat: Configure Instructions in
the editor to verify recognition. First-launch setup requires a trusted normal
editor window; an Agents-only window cannot activate the extension.
- Files with
applyTo globs apply automatically to matching files in every
project (for example **/*.py); files without one load when their
description matches the task. Review applyTo: "**/*.md"-style rules that
were written only for the vault itself.
- The vault's own
.github/copilot-instructions.md is not linked; it still
applies only when the vault is the open workspace.
- Obsidian MCP: Stop Using Vault as Copilot Instructions Source removes only
the link. Existing folders or links at that path are never replaced.
Anyone who can edit the vault folder (for example a shared OneDrive or
SharePoint library) can change Copilot's instructions in all your projects.
~/.copilot/instructions is read by Copilot CLI and the Copilot agent harness
in VS Code; start a new chat session after setup.
Settings
All settings use the user/application scope, not workspace-controlled vault access.
Setting under obsidianVault |
Default |
vaultPath |
Empty; auto-detected or explicitly selected |
autoDetectVault |
true; explicit Switch Vault pins selection |
enableWrites |
false |
excludedFolders |
.obsidian, .git, node_modules, .trash, .obsidian-mcp-backups |
dailyNotesFolder |
Daily (fallback when no native setting is used) |
useObsidianSettings |
true |
semanticSearch.enabled |
false |
semanticSearch.endpoint |
http://127.0.0.1:11434/api/embed |
semanticSearch.model |
nomic-embed-text |
copilotInstructions.suggest |
true; suggests linking the vault's instructions for Copilot |
Restart MCP after changing settings. Tool paths are vault-relative with /
separators, even on Windows. Vault roots are absolute OS paths.
Agents windows and standalone clients
Some Copilot agent-session windows don't use third-party extension providers.
The extension registers their managed server automatically on activation in a
trusted workspace. This requires the extension to run in the normal editor at
least once: an Agents-only window cannot activate extension UI commands.
New sessions reuse the registration; no repeated setup command is needed.
For repairing an older custom registration:
- Open a trusted desktop workspace with the extension enabled.
- Run Obsidian MCP: Set Up Copilot Agent Sessions.
- Review the vault and write permissions, then confirm Configure.
- Restart the
obsidian-vault server or start a new Copilot agent session.
Setup adds or replaces only obsidian-vault in ~/.copilot/mcp-config.json.
Other servers, additional registration fields, environment variables and existing
tool restrictions are retained. Replacing an existing custom entry requires
confirmation; creating a previously absent entry is automatic.
Malformed JSON is reported and never overwritten.
A bundled server copy and its dependency notices live in the extension's
VS Code global storage, outside versioned installation folders. Once set up,
the extension refreshes that copy and the selected-vault/write/model settings
on activation and settings changes in a trusted workspace. The previous copy
remains usable when an old extension installation is removed. Open a trusted
workspace with the extension enabled after installing an update to refresh it.
Running MCP processes keep their settings until restarted.
Global instruction linking from the Agents window is a two-step preview/apply
operation. Previews expire after ten minutes and are bound to the selected vault.
Changes to the instruction files or link invalidate the preview. Linking persists
on disk across new sessions; it does not schedule background work or guarantee
that a model calls tools. switch_vault remains session-local; pin your default
vault with the extension's Switch Vault command for an unambiguous future default.
The copy uses VS Code's runtime, not a separately installed Node executable.
Keep VS Code installed; moving its installation or changing VS Code profiles
may require running setup again. Uninstalling the extension does not remove
the Copilot registration or copy automatically. Remove the obsidian-vault
entry from Copilot's MCP configuration when no longer wanted. Prefer the approved
disconnect setup action to suppress automatic re-registration. Reconnect using
Set Up Copilot Agent Sessions. Disconnect leaves the copy and personal
instruction links intact; remove a link through a separate approved instruction
setup preview. Other profiles' or custom registrations are not removed.
Global-storage paths can differ by VS Code profile. A registration belonging to
another profile is treated as custom, not silently moved. An explicit repair can
replace it after review. Concurrent updates use lock files and stale preview
checks. After a crash, inspect named .lock files before removing stale locks;
never remove a lock for an operation still running.
Migrating old registrations
An older manual registration may contain a path such as
replace-with-your-publisher.obsidian-vault-mcp-0.3.0/dist/server.cjs.
After updating the extension, that folder no longer exists and Node reports
MODULE_NOT_FOUND. Run the setup command above to replace the stale entry
with the managed location. Do not create another entry for each release.
Remove temporary entries such as obsidian-vault-direct after verifying the
managed server works. Avoid enabling both a manual server and the extension
provider in the same chat. Proposals/history are shared on disk, so the VS Code
review commands can review file-mode previews prepared by either server when
both target the same vault.
Diagnostics
Run Obsidian MCP: Show Diagnostics to open the Obsidian Vault MCP log.
It records extension version, packaged server location, provider/setup errors,
and managed-server refreshes; it does not log note contents or environment values.
For process stderr, use MCP: List Servers → select the server → Show Output.
In Copilot agent sessions, startup errors can instead appear in the agent-host
log. A successful extension activation alone does not prove the MCP server started.
Marketplace visibility
The VS Code Extensions Marketplace distributes the VSIX. The @mcp server
gallery is a separate catalog: publishing or installing this VSIX does not
automatically list it there. This release supports local VSIX installation and
extension publication; no standalone npm or MCP Registry publication is included.
Safety, persistence and limitations
- File tools have no HTTP listener; only the optional companion and explicitly
enabled local embeddings use loopback networking.
- Only selected-vault Markdown is exposed. Traversal, symlinks/junctions, hidden
paths, reserved filenames and configured excluded folders are rejected.
Hidden Obsidian settings/companion/state files are accessed only by dedicated,
narrowly scoped code, not generic note tools.
- Notes/selections are untrusted data. Agent instructions are not a guarantee
against every prompt-injection attempt.
- Content returned to an AI agent may be sent to its configured model service.
Local note storage does not mean local-only AI inference.
- Preflight revisions, per-vault MCP locks, atomic replacement of existing notes,
backups and rollback protect against common conflicts. Obsidian/sync tools do
not share the MCP lock; avoid editing the same notes during apply. Multi-file
edits are not filesystem-wide atomic transactions.
- Failed operations are recorded. Rollback refuses to overwrite unexpected
concurrent changes and reports incomplete recovery. On process/power failure,
inspect pending history, backups and
.obsidian-mcp/apply.lock before removing
a stale lock. Keep independent vault backups.
- Indexing refreshes before reads and reuses unchanged contents. Notes over
1 MiB are skipped and reported; malformed YAML and filesystem errors are explicit.
- No automatic deletion, background AI rewrites, remote embeddings, Dataview
evaluation, arbitrary command execution or attachment-text extraction.
Develop, validate and package
Requires Node.js 22+ and npm:
npm ci
npm --prefix companion ci
npm run check
npm run package
Builds bundle the extension, server and companion. Tests use disposable fixture
vaults, a local mock embedding API, and mocked VS Code/Obsidian UI contracts.
They verify real stdio/HTTP communication, consented registration and upgrades
after old installation removal, review/apply/undo, revisions, rollback,
queries, templates, tasks and vault switching. New fixture evaluations measure
keyword recall@3 for exact identifiers, decisions, historical sources and long
notes; they are not real-world relevance benchmarks. Semantic tests use a mock
local endpoint, not a claim of semantic-quality improvement.
Interactive desktop behavior and your actual Ollama model remain manual
acceptance checks.
Release acceptance gates
Before publishing, install the candidate VSIX in a test profile and verify:
- Fresh install and upgrade in editor and Agents, including MCP trust prompts.
- Restricted/trusted workspaces, multiple roots, and clients without roots.
- Create/connect, optional starters and saved project routing across sessions.
- Read-only retrieval, approved preview/apply/cancel/undo in a disposable vault.
- Companion absent, connected, disconnected and updated with settings retained.
- Disabled/unavailable embeddings; a real local model if claiming its support.
- Spaces/non-ASCII paths and an upgrade with the old install directory removed.
- Walkthrough controls, rendered review pages and prompt discovery/fallback.
Packaging/tests do not satisfy these interactive gates. Until completed, treat
the artifact as a release candidate rather than a universally production-verified
release. macOS/Linux and remote UI integration need their own acceptance passes.
Press F5 for a VS Code Extension Development Host.
Publish
The VSIX is installable locally without Git or publishing credentials:
- Run
npm run check, then npm run package.
- Install the resulting VSIX with Extensions: Install from VSIX....
- In a trusted desktop workspace, verify the extension-provided server and
the agent-session setup command. Test an upgrade without creating a new entry.
- Verify a note read, a preview, and a user-approved apply in a disposable vault.
To publish the same VSIX to the Extensions Marketplace without Git, sign in to
https://marketplace.visualstudio.com/manage under publisher GuillaumePrvost,
select Obsidian Vault MCP, and use Update to upload the VSIX.
For a first release, use New extension → Visual Studio Code instead.
Publication requires a new version number for each upload. No credentials
belong in the source, VSIX or chat.
The Obsidian companion is a separate plugin; bundling it does not automatically
publish it to Obsidian's community plugin directory.