Obsidian CLI MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OBSIDIAN_CLI_COMMAND | No | CLI executable name or absolute path. | obsidian |
| OBSIDIAN_LOCKED_VAULT | No | Lock server to specified vault, disallow enumerating all vaults. | |
| OBSIDIAN_DEFAULT_VAULT | No | Default vault to use when tool call doesn't specify vault. | |
| OBSIDIAN_CLI_TIMEOUT_MS | No | Single process execution timeout, range 1-300 seconds. | 30000 |
| OBSIDIAN_CLI_ALLOW_UNSAFE | No | Allow known high-impact commands. | false |
| OBSIDIAN_CLI_EXTRA_COMMANDS | No | Extra command names, comma separated; '*' allows all legal command names. | |
| OBSIDIAN_CLI_MAX_OUTPUT_BYTES | No | Maximum output for a single call, up to 10 MiB. | 1048576 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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