Obsidian Autom8
БесплатноНе проверенEnables AI agents to remotely access and interact with Obsidian vaults via MCP, supporting note operations, tag management, graph queries, and command execution
Описание
Enables AI agents to remotely access and interact with Obsidian vaults via MCP, supporting note operations, tag management, graph queries, and command execution.
README
obsidian-autom8 makes it easy to give your agents remote access to your Obsidian via the Model Context Protocol (MCP), built on top of the linuxserver/docker-obsidian image.
→ Full MCP tools reference · Architecture · Roadmap · Contributing
Security note: similarly to the linuxserver/docker-obsidian base image, this container has no HTTPS support and should not be exposed to an unsecured network. For secure deployments, place it behind a reverse proxy (e.g. Caddy, Nginx Proxy Manager, Traefik) that handles TLS termination.
Quickstart
1. Run the container
Option A — Pull from GHCR (recommended):
# podman run -d \
docker run -d \
--name obsidian-autom8 \
-p 3000:3000 \
-p 3002:3002 \
--shm-size="1gb" \
-v obsidian-config:/config \
-e CUSTOM_USER=admin \
-e PASSWORD=changeme \
-e OBSIDIAN_MCP_API_KEY=your-secret-key \
ghcr.io/dylansumser/obsidian-autom8:latest
To pin to a specific release instead of latest, replace the tag with a version number (e.g. ghcr.io/dylansumser/obsidian-autom8:1.0.0).
Option B — Build from source:
git clone https://github.com/dylansumser/obsidian-autom8.git
cd obsidian-autom8
# podman build -t obsidian-autom8 .
docker build -t obsidian-autom8 .
# podman run -d \
docker run -d \
--name obsidian-autom8 \
-p 3000:3000 \
-p 3002:3002 \
--shm-size="1gb" \
-v obsidian-config:/config \
-e CUSTOM_USER=admin \
-e PASSWORD=changeme \
-e OBSIDIAN_MCP_API_KEY=your-secret-key \
obsidian-autom8
2. Open Obsidian and enable the CLI
- Open
http://localhost:3000in your browser (log in with yourCUSTOM_USER/PASSWORD) - Login with Obsidian Sync and create your synced vault under the
configdirectory so your vault persists across container restarts, and wait for the sync to complete. - Go to Settings → General and enable Command line interface
- Follow the prompt to register the CLI — this writes the
obsidianbinary to/config/.local/bin/obsidian
Direct file access: If you want local agents or scripts on the host to read and write vault files directly alongside the MCP server, use a bind mount instead of a named volume (see Volumes below). This is useful for raw file operations that complement the MCP tools.
3. Connect an AI agent
The MCP server speaks standard HTTP — any MCP-compatible agent can connect. Below are examples for common CLI tools.
Claude Code:
claude mcp add --transport http -s project obsidian-autom8 http://localhost:3002/mcp \
--header "Authorization: Bearer your-secret-key"
Gemini CLI — add to ~/.gemini/settings.json:
{
"mcpServers": {
"obsidian-autom8": {
"httpUrl": "http://localhost:3002/mcp",
"headers": {
"Authorization": "Bearer your-secret-key"
}
}
}
}
Codex CLI — add to ~/.codex/config.toml:
[[mcp_servers]]
name = "obsidian-autom8"
url = "http://localhost:3002/mcp"
[mcp_servers.headers]
Authorization = "Bearer your-secret-key"
Why
The Obsidian CLI is excellent for local use by humans or closely supervised agents and obsidian-headless is excellent for remote backups of your vault via obsidian sync.
This project exists to give agents and automations remote, restrictable, and always available access to your vault beyond simple file based interfaces. By using obsidian's internal APIs from the CLI remotely, obsidian-autom8 lets your agents and automations:
- View and manage tags, bases, and properties
- Follow and manage your note graph
- Execute commands from your command palette (like obsidian-linter).
- And more!
How it works
The image layers two things on top of lscr.io/linuxserver/obsidian:latest:
Node.js + MCP server — compiled from this repo and registered as an s6-overlay service. It starts automatically alongside Obsidian and restarts on crash.
Obsidian CLI — the MCP server communicates with Obsidian by shelling out to the
obsidianCLI binary that Obsidian registers at/config/.local/bin/obsidianwhen you enable it in Settings. The CLI connects to the running Obsidian app over a Unix socket at/config/.XDG/.obsidian-cli.sock.
This means Obsidian must be running (i.e. the container must be up and you must have completed the CLI setup) before the MCP tools will work.
CLI setup persistence
The CLI registration is stored in /config, which is a named volume. This means you only need to enable it once — it persists across container restarts and image upgrades as long as the volume is not deleted.
If you recreate the volume or start fresh, repeat step 2 of the quickstart.
Docker Compose
services:
obsidian-autom8:
image: ghcr.io/dylansumser/obsidian-autom8:latest
container_name: obsidian-autom8
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
- CUSTOM_USER=admin
- PASSWORD=changeme
- OBSIDIAN_MCP_API_KEY=your-secret-key
- OBSIDIAN_VAULT=My Vault # optional: default vault name
volumes:
- obsidian-config:/config
ports:
- 3000:3000 # Selkies web UI
- 3002:3002 # MCP API
shm_size: 1gb
restart: unless-stopped
volumes:
obsidian-config:
Podman Quadlet
Create /etc/containers/systemd/obsidian-autom8.container:
[Unit]
Description=Obsidian Autom8 MCP Server
After=network-online.target
[Container]
Image=ghcr.io/dylansumser/obsidian-autom8:latest
ContainerName=obsidian-autom8
PublishPort=3000:3000
PublishPort=3002:3002
Volume=obsidian-config:/config
Environment=PUID=1000
Environment=PGID=1000
Environment=TZ=America/New_York
Environment=CUSTOM_USER=admin
Environment=PASSWORD=changeme
Environment=OBSIDIAN_MCP_API_KEY=your-secret-key
Environment=OBSIDIAN_VAULT=My Vault
ShmSize=1gb
[Service]
Restart=always
[Install]
WantedBy=default.target
Then enable it:
systemctl --user daemon-reload
systemctl --user enable --now obsidian-autom8
Configuration
Environment variables
| Variable | Required | Default | Description |
|---|---|---|---|
CUSTOM_USER |
Recommended | abc |
Username for the Selkies web UI |
PASSWORD |
Recommended | — | Password for the Selkies web UI |
OBSIDIAN_MCP_API_KEY |
Recommended | — | Bearer token required to call the MCP API. If unset, the API is unauthenticated. |
OBSIDIAN_VAULT |
No | — | Default vault name passed to every CLI call. If unset, Obsidian uses the currently active vault. |
MCP_PORT |
No | 3002 |
Port the MCP server listens on. |
PUID / PGID |
No | 1000 |
User/group ID to run as. Inherited from the linuxserver base image. |
TZ |
No | UTC |
Timezone. |
Ports
| Port | Description |
|---|---|
3000 |
Selkies remote desktop — access Obsidian in your browser |
3001 |
Selkies SSL (nginx) — used internally |
3002 |
MCP API — connects to Claude Code or other MCP clients |
Volumes
| Path | Description |
|---|---|
/config |
Obsidian config, vault data, and CLI registration. Persist this volume to survive container restarts. |
Named volume (default) — Docker manages the storage, simplest setup:
-v obsidian-config:/config
Bind mount (optional) — mounts a host directory directly, so local agents and scripts can access vault files alongside the MCP server. Your vault should live inside this directory (e.g. /path/to/your/config/my-vault):
-v /path/to/your/config:/config
MCP tool scope: The MCP server is optimized for note-level operations — reading, writing, searching, and modifying existing content. For larger filesystem operations like reorganizing or moving entire directory structures, direct file access via a bind mount is more reliable.
Установка Obsidian Autom8
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/dylansumser/obsidian-autom8FAQ
Obsidian Autom8 MCP бесплатный?
Да, Obsidian Autom8 MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Obsidian Autom8?
Нет, Obsidian Autom8 работает без API-ключей и переменных окружения.
Obsidian Autom8 — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Obsidian Autom8 в Claude Desktop, Claude Code или Cursor?
Открой Obsidian Autom8 на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Obsidian Autom8 with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
