AgentHubAgentHub

obsidian-sync-mcp

MCP ServerMCP Registry官方收录

io.github.es617/obsidian-sync-mcp · v0.5.2

Give AI agents access to your Obsidian vault via local files or Self-hosted LiveSync.

概览

obsidian-sync-mcp 是一个MCP Server,收录自 官方 MCP Registry。支持 streamable-http 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "obsidian-sync-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "obsidian-sync-mcp"
      ]
    }
  }
}

环境变量

VAULT_PATH可选

Path to your Obsidian vault directory (filesystem mode)

COUCHDB_URL可选

CouchDB server URL (CouchDB mode)

COUCHDB_USER可选

CouchDB username

COUCHDB_PASSWORD可选secret

CouchDB password (required in CouchDB mode)

COUCHDB_DATABASE可选

CouchDB database name

COUCHDB_PASSPHRASE可选secret

LiveSync E2E encryption passphrase (must match plugin setting)

COUCHDB_OBFUSCATE_PROPERTIES可选

Set to 'true' if 'Obfuscate Properties' is enabled in LiveSync (obfuscates file paths, sizes, dates)

VAULT_NAME可选

Vault name for deep links and index storage

MCP_AUTH_TOKEN可选secret

Password for OAuth authentication

BASE_URL可选

Public URL for OAuth callbacks (required when using a tunnel)

PORT可选

HTTP port

相关资源

统一 Manifest

{
  "id": "io.github.es617/obsidian-sync-mcp",
  "type": "mcp-server",
  "version": "0.5.2",
  "displayName": "obsidian-sync-mcp",
  "description": "Give AI agents access to your Obsidian vault via local files or Self-hosted LiveSync.",
  "repository": {
    "url": "https://github.com/es617/obsidian-sync-mcp.git",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "obsidian-sync-mcp",
        "version": "0.5.2",
        "transport": "streamable-http",
        "environmentVariables": [
          {
            "name": "VAULT_PATH",
            "description": "Path to your Obsidian vault directory (filesystem mode)"
          },
          {
            "name": "COUCHDB_URL",
            "description": "CouchDB server URL (CouchDB mode)"
          },
          {
            "name": "COUCHDB_USER",
            "description": "CouchDB username"
          },
          {
            "name": "COUCHDB_PASSWORD",
            "description": "CouchDB password (required in CouchDB mode)",
            "isSecret": true
          },
          {
            "name": "COUCHDB_DATABASE",
            "description": "CouchDB database name"
          },
          {
            "name": "COUCHDB_PASSPHRASE",
            "description": "LiveSync E2E encryption passphrase (must match plugin setting)",
            "isSecret": true
          },
          {
            "name": "COUCHDB_OBFUSCATE_PROPERTIES",
            "description": "Set to 'true' if 'Obfuscate Properties' is enabled in LiveSync (obfuscates file paths, sizes, dates)"
          },
          {
            "name": "VAULT_NAME",
            "description": "Vault name for deep links and index storage"
          },
          {
            "name": "MCP_AUTH_TOKEN",
            "description": "Password for OAuth authentication",
            "isSecret": true
          },
          {
            "name": "BASE_URL",
            "description": "Public URL for OAuth callbacks (required when using a tunnel)"
          },
          {
            "name": "PORT",
            "description": "HTTP port"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.es617/obsidian-sync-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.es617%2Fobsidian-sync-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
obsidian-sync-mcp — MCP Server 安装与配置 · AgentHub