Skip to main content
Glama

Obsidian Local REST API MCP Server

by j-shelfwood
MIT License

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging when set to 1
NODE_ENVNoEnvironment setting, set to 'development' for additional debugging
OBSIDIAN_API_KEYNoOptional bearer token for authentication with the Obsidian Local REST API
OBSIDIAN_API_URLNoThe URL of the Obsidian Local REST APIhttp://localhost:8000

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_files

List all files in the Obsidian vault

get_file

Get content of a specific file from the vault

create_file

Create a new file in the vault

update_file

Update content of an existing file

delete_file

Delete a file from the vault

list_notes

List all notes in the vault with metadata

get_note

Get a specific note with its content and metadata

create_note

Create a new note with optional frontmatter

update_note

Update a note's content and/or frontmatter

delete_note

Delete a note from the vault

search_notes

Search notes by content or metadata

get_metadata_keys

Get all available frontmatter keys from notes

get_metadata_values

Get all unique values for a specific frontmatter key

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/j-shelfwood/obsidian-local-rest-api-mcp'

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