0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

IBM BobからObsidianを操作する(MCP)

0
Last updated at Posted at 2026-06-13

目的

自分のPCで動いているObsidianをIBM BobからMCPで利用出来るようにする。

手順

ObsidianにLocal REST API with MCPプラグインをインストール

image.png

プラグインの設定

Local REST API with MCPプラグインを有効化してギアアイコンを選択する。

image.png

あくまでローカルPC内の通信に留めるのでEnable non-encrypted (HTTP) serverを有効化する。

image.png

もしWindows上のObsidianをWSLからアクセスしたい場合はバインドホストを127.0.0.1から0.0.0.0に変更する。

image.png

APIキーを確認する。

image.png

IBM Bobの設定

Bobの設定→MCP→グローバルまたはプロジェクトの設定で下記の定義を追記する。

{
    "mcpServers": {
        "obsidian": {
            "type": "streamable-http",
            "url": "http://<Obsidianが実行されているIP>:27123/mcp/",
            "headers": {
                "Authorization": "Bearer <APIキー>" 
            },
            "disabled": false,
            "alwaysAllow": []
        }
    }
}

typeが"streamable-http"であることに注意。Local REST API with MCPの公式ドキュメントのサンプル表記とは異なる。

動作確認

image.png

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?