Skip to content

feat(glyph): obsidian vault filesystem MCP server#479

Merged
stackptr merged 1 commit intomainfrom
glyph/feat-obsidian-vault-mcp
Apr 29, 2026
Merged

feat(glyph): obsidian vault filesystem MCP server#479
stackptr merged 1 commit intomainfrom
glyph/feat-obsidian-vault-mcp

Conversation

@stackptr
Copy link
Copy Markdown
Owner

@stackptr stackptr commented Apr 29, 2026

Summary

  • Adds obsidian-vault-mcp NixOS module: wraps pkgs.mcp-server-filesystem with mcp-proxy to expose the Obsidian vault as a streamable-HTTP MCP server on port 8096, registered with mcpjungle as obsidian-vault
  • Refactors obsidian-sync off the mu user onto a dedicated obsidian system user (/var/lib/obsidian); both services share this user so obsidian-vault-mcp has native read/write access to vault files
  • Vault path moves from ~/vault/var/lib/obsidian/vault

Deployment

After switching, the obsidian-sync service will be broken until re-initialized under the new user. Run:

# Re-run sync setup as the new system user
sudo -u obsidian HOME=/var/lib/obsidian ob sync-setup --path /var/lib/obsidian/vault

Then restart the service:

sudo systemctl restart obsidian-sync

The old vault data at ~/vault can be removed once sync is confirmed working.

Test plan

  • obsidian-sync service starts and syncs vault to /var/lib/obsidian/vault
  • obsidian-vault-mcp service starts and responds on port 8096
  • mcpjungle registers obsidian-vault server
  • Claude on iPad can read/write vault files via mcpjungle remote MCP

@stackptr stackptr changed the title refactor(glyph): run obsidian services as shared system user feat(glyph): obsidian vault filesystem MCP server Apr 29, 2026
Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Move obsidian-sync off the 'mu' user account onto a dedicated
'obsidian' system user (/var/lib/obsidian). obsidian-vault-mcp
runs as the same user, so it has native read/write access to vault
files without ACLs or permission hacks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@stackptr stackptr force-pushed the glyph/feat-obsidian-vault-mcp branch from 0270fac to 5f42e5d Compare April 29, 2026 00:34
@stackptr stackptr marked this pull request as ready for review April 29, 2026 00:43
@stackptr stackptr merged commit 63be300 into main Apr 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant