# Obsidian MCP Server Plugin - User Manual
**Turn your Obsidian Vault into a powerful Model Context Protocol (MCP) server.**
This plugin allows AI tools like **Claude Desktop**, **Cursor** (via Antigravity), and others to **directly read, search, and write** to your local Obsidian notes. It works completely locally (localhost), ensuring your data remains private and secure.
---
## ๐ Installation & Setup
1. **Install the Plugin:**
* Currently, this plugin needs to be installed manually or via BRAT until it's available in the Community Plugins list.
2. **Enable the Plugin:**
* Go to **Settings** > **Community Plugins** and toggle it ON.
3. **Start the Server:**
* The MCP server starts automatically by default.
* You can verify its status in the **Status Bar** (bottom-right: `MCP: On`).
* Click the ribbon icon (server icon) to open the **Dashboard**.
---
## ๐ Connection Guides
### 1. Connecting to Claude Desktop App
The Claude Desktop App supports MCP natively. You need to configure a local JSON file to tell Claude where to find your Obsidian server.
1. Open the **Obsidian MCP Dashboard** (Ribbon Icon).
2. Look for the **"Connection Helper"** section.
3. Click the **"Copy Config to Clipboard"** button.
4. Open your Claude config file:
* **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
* **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
5. Paste the configuration inside the `mcpServers` object. It should look like this:
```json
{
"mcpServers": {
"obsidian": {
"url": "http://127.0.0.1:51234/mcp",
"type": "sse"
}
}
}
```
6. Restart Claude Desktop. You should now see a ๐ icon indicating the connection.
### 2. Connecting to Antigravity (Cursor)
Antigravity (and Cursor's upcoming features) can also interact with local MCP servers.
1. Ensure the Obsidian MCP plugin is running.
2. Locate your Antigravity or Cursor MCP configuration file (`mcp.json` or similar in your settings profile).
3. Add the same server configuration as above:
```json
"my-obsidian-vault": {
"url": "http://127.0.0.1:51234/mcp",
"type": "sse"
}
```
4. **Note:** Make sure the port (`51234` or similar) matches what is shown in your Obsidian Dashboard.
---
## ๐ก๏ธ Tips & Troubleshooting
* **Write Permissions:** By default, the plugin is in **Read-only** mode. If you want AI to write notes:
* Go to **Settings** > **Obsidian MCP Server**.
* Change **Write Mode** to **"Confirm each write"**.
* **Connection Issues:** Use the **"Run Self-Test"** button in the Dashboard to verify that the server is responding correctly.
---
# ์ต์๋์ธ MCP ์๋ฒ ํ๋ฌ๊ทธ์ธ - ์ฌ์ฉ์ ์ค๋ช
์
**์ต์๋์ธ ๋ณผํธ๋ฅผ ๊ฐ๋ ฅํ MCP(Model Context Protocol) ์๋ฒ๋ก ๋ณ์ ์ํค์ธ์.**
์ด ํ๋ฌ๊ทธ์ธ์ **Claude Desktop**, **Cursor**(Antigravity), ๊ทธ๋ฆฌ๊ณ ๋ค๋ฅธ AI ๋๊ตฌ๋ค์ด ์ฌ๋ฌ๋ถ์ ๋ก์ปฌ ์ต์๋์ธ ๋
ธํธ๋ฅผ **์ง์ ์ฝ๊ณ , ๊ฒ์ํ๊ณ , ์์ฑ**ํ ์ ์๊ฒ ํด์ค๋๋ค. ๋ชจ๋ ํต์ ์ ๋ก์ปฌ(localhost)์์ ์ด๋ฃจ์ด์ง๋ฏ๋ก, ์ฌ๋ฌ๋ถ์ ๋ฐ์ดํฐ๋ ์์ ํ๊ฒ ๋ณดํธ๋ฉ๋๋ค.
---
## ๐ ์ค์น ๋ฐ ์์ํ๊ธฐ
1. **ํ๋ฌ๊ทธ์ธ ์ค์น:**
* ์ปค๋ฎค๋ํฐ ํ๋ฌ๊ทธ์ธ ๋ชฉ๋ก์ ๋ฑ๋ก๋๊ธฐ ์ ๊น์ง๋ ์๋ ์ค์น ํน์ BRAT์ ํตํด ์ค์นํด์ฃผ์ธ์.
2. **ํ๋ฌ๊ทธ์ธ ํ์ฑํ:**
* **์ค์ (Settings)** > **์ปค๋ฎค๋ํฐ ํ๋ฌ๊ทธ์ธ(Community Plugins)**์์ ํ์ฑํ ์ค์์น๋ฅผ ์ผญ๋๋ค.
3. **์๋ฒ ์์:**
* ๊ธฐ๋ณธ์ ์ผ๋ก Obsidian ์คํ ์ ์๋ฒ๊ฐ ์๋์ผ๋ก ์์๋ฉ๋๋ค.
* ํ๋จ ์ํ ํ์์ค์์ **`MCP: On`** ๋ฌธ๊ตฌ๋ฅผ ํ์ธํ์ธ์.
* ์ข์ธก ๋ฆฌ๋ณธ ๋ฉ๋ด์ ์๋ฒ ์์ด์ฝ์ ํด๋ฆญํ์ฌ **๋์๋ณด๋**๋ฅผ ์ด ์ ์์ต๋๋ค.
---
## ๐ ์ฐ๋ ๊ฐ์ด๋
### 1. Claude(ํด๋ก๋) ๋ฐ์คํฌํ ์ฑ ์ฐ๋
Claude ๋ฐ์คํฌํ ์ฑ์ MCP๋ฅผ ๊ธฐ๋ณธ์ ์ผ๋ก ์ง์ํฉ๋๋ค. ์ค์ ํ์ผ์ ์ด ์๋ฒ ์ ๋ณด๋ฅผ ์ถ๊ฐํ๋ฉด ๋ฉ๋๋ค.
1. Obsidian์์ **MCP ๋์๋ณด๋**๋ฅผ ์ฝ๋๋ค.
2. **"Connection Helper"** ์น์
์ ์ฐพ์ต๋๋ค.
3. **"Copy Config to Clipboard"** ๋ฒํผ์ ๋๋ฌ ์ค์ ์ ๋ณต์ฌํฉ๋๋ค.
4. Claude ์ค์ ํ์ผ์ ์ฝ๋๋ค:
* **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
* **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
5. `mcpServers` ํญ๋ชฉ ์์ ๋ณต์ฌํ ๋ด์ฉ์ ๋ถ์ฌ๋ฃ์ผ์ธ์. ๋๋ต ์๋์ ๊ฐ์ต๋๋ค:
```json
{
"mcpServers": {
"obsidian": {
"url": "http://127.0.0.1:51234/mcp",
"type": "sse"
}
}
}
```
6. Claude ์ฑ์ ์ฌ์์ํ๋ฉด ์ฐ๊ฒฐ ์์ด์ฝ(๐)์ด ๋จ๋ ๊ฒ์ ํ์ธํ ์ ์์ต๋๋ค.
### 2. Antigravity (Cursor) ์ฐ๋
Antigravity๋ Cursor๋ฅผ ํตํด์๋ ๋ก์ปฌ Obsidian๊ณผ ๋ํํ ์ ์์ต๋๋ค.
1. Obsidian MCP ์๋ฒ๊ฐ ์ผ์ ธ ์๋์ง ํ์ธํฉ๋๋ค.
2. ์ฌ์ฉ ์ค์ธ Antigravity ํน์ Cursor์ MCP ์ค์ ํ์ผ(`mcp.json`)์ ์ฐพ์ต๋๋ค.
3. ์๋์ ๊ฐ์ด ์๋ฒ ์ ๋ณด๋ฅผ ์ถ๊ฐํฉ๋๋ค:
```json
"my-obsidian-vault": {
"url": "http://127.0.0.1:51234/mcp",
"type": "sse"
}
```
4. **์ฃผ์:** ํฌํธ ๋ฒํธ(`51234` ๋ฑ)๊ฐ Obsidian ๋์๋ณด๋์ ํ์๋ ์ซ์์ ์ผ์นํ๋์ง ๊ผญ ํ์ธํ์ธ์.
---
## ๐ก๏ธ ํ & ๋ฌธ์ ํด๊ฒฐ
* **์ฐ๊ธฐ ๊ถํ (Write Permissions):** ๊ธฐ๋ณธ์ ์ผ๋ก **์ฝ๊ธฐ ์ ์ฉ(Read-only)** ๋ชจ๋๋ก ์ค์ ๋์ด ์์ต๋๋ค. AI๊ฐ ๋
ธํธ๋ฅผ ์ฐ๊ฒ ํ๋ ค๋ฉด:
* **์ค์ ** > **Obsidian MCP Server**๋ก ์ด๋ํ์ธ์.
* **Write Mode**๋ฅผ **"Confirm each write"** (๋งค๋ฒ ํ์ธ) ๋ฑ์ผ๋ก ๋ณ๊ฒฝํ์ธ์.
* **์ฐ๊ฒฐ ๋ฌธ์ :** ๋์๋ณด๋์ ์๋ **"Run Self-Test"** (์๊ฐ ์ง๋จ) ๋ฒํผ์ ํตํด ์๋ฒ๊ฐ ์ ์ ์๋ ์ค์ธ์ง ์์ฒด ํ
์คํธํด๋ณผ ์ ์์ต๋๋ค.