Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_OBSIDIAN_CONFIG | No | Path to the configuration file. If omitted, the server uses the default config location (~/.config/mcp-obsidian/config.json on macOS/Linux or %APPDATA%/mcp-obsidian/config.json on Windows). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_vaults | List all accessible Obsidian vaults |
| get_vault_info | Get information about a specific vault |
| list_files | List files in a vault |
| get_file | Read a file from a vault |
| write_file | Write or update a file in a vault |
| append_content | Append content to an existing file |
| search_files | Search for text in vault files |
| get_metadata | Get metadata for a file (frontmatter, tags, links, word count) |
| execute_command | Execute an Obsidian command (requires REST API plugin) |
| open_file | Open a file in Obsidian UI (requires REST API plugin) |
| get_active_file | Get the currently active file in Obsidian (requires REST API plugin) |
| open_graph | Open graph view in Obsidian (requires REST API plugin) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |