Skip to main content
Glama
husitao

Obsidian CLI MCP Server

by husitao

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OBSIDIAN_CLI_COMMANDNoCLI executable name or absolute path.obsidian
OBSIDIAN_LOCKED_VAULTNoLock server to specified vault, disallow enumerating all vaults.
OBSIDIAN_DEFAULT_VAULTNoDefault vault to use when tool call doesn't specify vault.
OBSIDIAN_CLI_TIMEOUT_MSNoSingle process execution timeout, range 1-300 seconds.30000
OBSIDIAN_CLI_ALLOW_UNSAFENoAllow known high-impact commands.false
OBSIDIAN_CLI_EXTRA_COMMANDSNoExtra command names, comma separated; '*' allows all legal command names.
OBSIDIAN_CLI_MAX_OUTPUT_BYTESNoMaximum output for a single call, up to 10 MiB.1048576

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
obsidian_statusA

Check whether the Obsidian CLI is reachable and return its version.

obsidian_helpA

Return official CLI help. Optionally provide a command to inspect its current parameters and flags.

obsidian_listC

List vaults, files, or folders known to Obsidian.

obsidian_read_noteC

Read a note from an Obsidian vault by vault-relative path.

obsidian_write_noteA

Create a note or append/prepend content. Existing files are overwritten only when overwrite=true.

obsidian_searchC

Search note contents and return matching files or contextual matches.

obsidian_cliA

Advanced escape hatch for official Obsidian CLI features not covered by a dedicated tool. Arguments are passed directly without a shell.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/husitao/MCP-ObsidianCli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server