Files
obsidian-mcp/manifest.json
Peter.Morton c577c07877 refactor: update search tool to match Obsidian CLI spec
Removed obsidian_search_with_context tool (not in CLI spec)
Updated obsidian_search to use exact CLI parameter names:
- query (required) - Search query text
- path (optional) - Limit search to folder path
- limit (optional) - Max number of files to return
- total (optional) - Return match count instead of file list
- case (optional) - Case sensitive search
- format (optional) - Output format: text or json (default: text)

Changed parameter names to match CLI:
- folder → path
- caseSensitive → case
- Added: total flag for match counts
- Removed: contextLines (not in CLI)

Files updated:
- src/tools/search.ts: Simplified to single search tool
- src/validation/schemas.ts: Updated searchSchema parameters
- manifest.json: Removed search_with_context, updated description
- tasks.md: Marked T048 as REMOVED

Total tools: 20 (was 21)
- User Story 1: 9 tools
- User Story 2: 11 tools (was 12)

Build:  0 errors
Validation:  Manifest passes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-22 12:26:17 -05:00

119 lines
4.8 KiB
JSON

{
"manifest_version": "0.3",
"name": "obsidian-mcp",
"version": "1.0.0",
"display_name": "Obsidian CLI Bundle",
"description": "MCP Bundle for Obsidian CLI - Enable AI assistants to manage Obsidian vaults through conversational interface",
"author": {
"name": "Obsidian MCP Contributors",
"url": "https://github.com/obsidian-mcp/obsidian-mcp-bundle"
},
"homepage": "https://github.com/obsidian-mcp/obsidian-mcp-bundle",
"license": "MIT",
"icon": "assets/icon.png",
"server": {
"type": "node",
"entry_point": "dist/index.js",
"mcp_config": {
"command": "node",
"args": [
"${__dirname}/dist/index.js"
],
"env": {
"OBSIDIAN_VAULT": "${user_config.vault_name}",
"MCP_LOG_LEVEL": "info"
}
}
},
"user_config": {
"vault_name": {
"type": "string",
"title": "Vault Name",
"description": "Name of the Obsidian vault to manage (case-sensitive)",
"required": true
}
},
"tools": [
{
"name": "obsidian_create_note",
"description": "Create a new note in the Obsidian vault. Optionally specify path, content, template, and whether to overwrite existing notes or open after creation."
},
{
"name": "obsidian_read_note",
"description": "Read the content of a note from the Obsidian vault. Specify either the note name (file) or full path (path)."
},
{
"name": "obsidian_append_to_note",
"description": "Append content to the end of an existing note. Specify either file name or path, and the content to append. Use inline flag to append without a new line."
},
{
"name": "obsidian_prepend_to_note",
"description": "Prepend content to the beginning of an existing note. Specify either file name or path, and the content to prepend."
},
{
"name": "obsidian_delete_note",
"description": "Delete a note from the Obsidian vault. By default moves to trash; use permanent flag for permanent deletion. Specify either file name or path."
},
{
"name": "obsidian_move_note",
"description": "Move a note to a different location in the vault. Specify the current note (file or path) and the new path (newPath)."
},
{
"name": "obsidian_rename_note",
"description": "Rename a note in the vault. Specify the current note (file or path) and the new name (newName)."
},
{
"name": "obsidian_open_note",
"description": "Open a note in the Obsidian application. Specify either file name or path. Use newtab flag to open in a new tab."
},
{
"name": "obsidian_get_file_info",
"description": "Get metadata and information about a note file. Specify either file name or path. Returns file size, dates, path, and other metadata."
},
{
"name": "obsidian_search",
"description": "Search vault for text. Returns matching files and optionally match counts. Supports path filtering, result limits, case sensitivity, and multiple output formats (text/json)."
},
{
"name": "obsidian_get_backlinks",
"description": "Get all backlinks (incoming links) to a note. Shows which notes reference this note. Optionally include link counts."
},
{
"name": "obsidian_get_outgoing_links",
"description": "Get all outgoing links from a note. Shows which notes this note references. Useful for understanding note connections."
},
{
"name": "obsidian_list_unresolved_links",
"description": "List all unresolved (broken) wikilinks in the vault. Shows links pointing to notes that don't exist. Useful for finding content gaps."
},
{
"name": "obsidian_list_deadends",
"description": "List all dead-end notes (notes with no outgoing links). These notes don't connect to anything else in the vault."
},
{
"name": "obsidian_list_orphans",
"description": "List all orphan notes (notes with no incoming links/backlinks). These notes aren't referenced by any other notes."
},
{
"name": "obsidian_list_tags",
"description": "List all tags in the vault or in a specific note. Optionally include usage counts and sort by frequency or name."
},
{
"name": "obsidian_get_tag_info",
"description": "Get detailed information about a specific tag, including which notes use it and how many times."
},
{
"name": "obsidian_list_aliases",
"description": "List all aliases in the vault or for a specific note. Aliases are alternative names for notes."
},
{
"name": "obsidian_list_properties",
"description": "List all properties used in the vault. Shows property keys and optionally their types and usage counts."
},
{
"name": "obsidian_get_property_count",
"description": "Get the usage count for a specific property across the vault. Shows how many notes use this property."
}
]
}