Sandbox
@abcamus/obsidian-sync-vault-ce

Obsidian sync plugin with cloud MCP server

Sync Vault is an Obsidian plugin that connects a vault to cloud drives such as Baidu Netdisk, Aliyun Drive, Quark Drive, OneDrive, WebDAV, and S3. It supports bi-directional sync, backup, media preview, and cloud links inside notes. The built-in MCP server and CLI commands let Claude Code and Cursor read, search, and manage cloud files.

130 starsβ€’10 forksβ€’TypeScriptβ€’Updated 14d ago
Who it's for

Builders who keep an Obsidian vault in cloud storage and want agents to access those files.

What it delivers

You can sync notes across devices and let your agent read or manage cloud files without leaving Obsidian.

What it does

Cloud note linking

Creates `[]()` links and `![]()` embeds for cloud resources after rendering inside Obsidian notes.

MCP server

Exposes cloud file operations like list, read, create, delete, move, upload, download, and semantic search to MCP clients.

CLI commands

Adds Obsidian commands such as `sync-vault:list`, `sync-vault:search`, `sync-vault:read`, `sync-vault:info`, and `sync-vault:doctor`.

Multi-device sync

Supports one-way and bi-directional sync with conflict handling, recoverable deletes, large-file ignores, and plugin/theme sync.

Collaborative editing

Includes distributed collaborative editing for shared work across devices.

Cloud service support

Works with Baidu Netdisk, OneDrive, Aliyun Drive, 115 Drive, Quark Drive, Tencent COS, Nutstore, InfiniCloud, and 123 Pan.

How to get it

  1. 1Since Claude Desktop only supports STDIO method to connect MCP Server, you can choose a…
    npm install -g @mcpwizard/sse-bridge

README

🌟 Sync Vault

δΈ­ζ–‡

GitHub Stars License Obsidian Plugin Latest Release Total Downloads
Official Site Discord

The missing bridge between your 10 TB cloud drive and your AI brain. Access, sync, and link everythingβ€”images, PDFs, audio, videoβ€”across devices without filling up local storage.

Sync Vault Demo

Key Features

πŸ”— Link Notes and Cloud Resources

Generate links based on file ID and path, integrated into Obsidian notes after rendering.

  • []() format to link cloud resources.
  • ![]() format to embed cloud resources.

πŸ€– MCP Server

Built-in Model Context Protocol (MCP) Server, allowing LLMs / AI Agents to directly access and operate on files in your Cloud Storage.

  • Compatible with MCP-supported clients such as Claude Code and Cursor.
  • Provides real-time context access via SSE (Server-Sent Events).

πŸ› οΈ MCP Tool Capabilities

Tool NameDescriptionNote
get_cloud_account_infoGet cloud account and storage capacity info
list_cloud_filesList files and folders at a specified cloud path
read_cloud_fileRead cloud file content (supports streaming)
create_cloud_fileCreate a new file or folder in the cloud
delete_cloud_fileDelete a cloud file or folder
move_cloud_fileMove a cloud file or folder
rename_cloud_fileRename a cloud file or folder
download_cloud_fileDownload a cloud file to local storage
upload_cloud_fileUpload a local file to the cloud
semantic_searchGlobal search based on semanticsBaidu Netdisk only
sharelink_setSet/Create a sharing linkBaidu Netdisk only
upload_by_urlUpload via offline URL taskBaidu Netdisk only

πŸ’» CLI Commands (1.13.0)

Sync Vault provides Obsidian CLI commands for automation scripts and AI Agent workflows:

CommandPurposeCommon Parameters
sync-vault:helpShow CLI command helphelp=true
sync-vault:listList cloud directory files (pagination/filter/recursive)path cloud limit offset type minSize modifiedAfter recursive
sync-vault:searchSearch cloud files (with pagination/type filter)query cloud limit offset path type
sync-vault:readRead cloud file contentpath cloud maxLength
sync-vault:infoGet account and storage statuscloud
sync-vault:doctorDiagnose Sync Vault health statuscloud

Common examples:

obsidian sync-vault:list path=/ cloud=aliyun limit=100 offset=0
obsidian sync-vault:search query=obsidian cloud=quark type=markdown
obsidian sync-vault:read path=/Notes/Welcome.md cloud=onedrive maxLength=8192
obsidian sync-vault:info cloud=aliyun
obsidian sync-vault:doctor cloud=aliyun

Tip: all sub-commands support help=true to show command-specific usage.

✨ Backup

Introduction

  • Easily upload data to various cloud drives.
  • Freely switch cloud vaults and backup data to multiple directories.

πŸ”„ Multi-device Auto Sync

Baidu Netdisk Bi-directional Sync Demo

  • Supports bi-directional and one-way sync, automatically identifies file deletion & move operations.
  • Automatic merge of content conflicts.
  • File deletion is recoverable.
  • Ignore large files, ignore files by name using regular expressions.
  • Sync third-party plugins and themes.
  • End-to-end encryption for Markdown files.

🀝 Collaborative Editing

Distributed collaborative editing, Demo.

πŸ“± Cloud Service Features

No.Cloud ServiceSupported Features
1Baidu NetdiskBackup, Sync, Online Image Preview, Online PDF Reading, Video Playback, Audio Playback, Cloud Link
2OneDriveBackup, Sync, Online Image Preview, Online PDF Reading, Audio Playback, Video Playback, Cloud Link
3Aliyun DriveBackup, Sync, Online Image Preview, Online PDF Reading, Audio Playback, Video Playback, Cloud Link
4115 DriveOnline Image Preview, Online PDF Reading, Audio Playback, Video Playback, Cloud Link
5Quark DriveBackup, Sync, Online Image Preview, Online PDF Reading, Cloud Link
6Tencent COSBackup, Sync
7NutstoreBackup, Sync
8InfiniCloudBackup, Sync
9123 PanBackup, Sync

βš™οΈ Installation and Usage

Install from Plugin Market

Search for sync vault ce in the plugin market, or click here to install quickly.

Get Started

  1. Click the ☁️ icon in the sidebar to open the dashboard, then find the "Beginner Guide" button in the Quick Actions card.
  2. Click the Beginner Guide button and follow the prompts to complete cloud drive login and sync mode settings.

Configure MCP (SSE)

Claude Code CLI

Add the following code in .claude/mcp.json (Note: change 3000 to the actual port):

{
  "mcpServers": {
    "sync-vault-mcp": {
      "type": "sse",
      "url": "http://127.0.0.1:3000/sse"
    }
  }
}

Claude Desktop

Since Claude Desktop only supports STDIO method to connect MCP Server, you can choose a bridge to connect Sync Vault MCP. Here you can choose sse-bridge.

  1. npm install -g @mcpwizard/sse-bridge
  2. In Claude Desktop [Settings] - [Developer], click the edit configuration button, copy and paste the following code.
{
  "mcpServers": {
    "sync-vault-mcp": {
      "command": "npx",
      "args": [
        "@mcpwizard/sse-bridge",
        "http://127.0.0.1:3000/sse"
      ]
    }
  }
}

Cursor/Trae

In Cursor/Trae's MCP settings, choose to manually add MCP Server (Sync Vault MCP defaults to http://127.0.0.1:3000/sse).

{
  "mcpServers": {
    "sync-vault-mcp": {
      "type": "sse",
      "url": "http://127.0.0.1:3000/sse"
    }
  }
}

πŸ—ΊοΈ Roadmap

  • 🌐 More Cloud Services
  • 🏠 Collaborative Editing
  • 🎨 Better User Experience
  • βŽ” Zotero Support
  • πŸ€– AI Infrastructure

πŸ”— Quick Links

❀️ Special Thanks

Files in the repo

Repository payloadβ€’25 top-level entries
  • .github
  • assets
  • doc
  • scripts
  • src
  • test
  • .editorconfig
  • .gitignore
  • .npmrc
  • CHANGELOG.md
  • esbuild.config.mjs
  • eslint.config.mts
  • jest.config.ts
  • LICENSE
  • main.ts
  • manifest.json
  • package-lock.json
  • package.json
  • README_ZH.md
  • README.md
  • styles.css
  • tsconfig.build.json
  • tsconfig.json
  • version-bump.mjs
  • versions.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More plugins

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

138k
1 add

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

82k
code-yeongyu/
oh-my-openagent

OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.

69k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

94k

Opinionated Oxlint rules for rejecting low-evidence TypeScript and JavaScript patterns

4.3k