home / mcp / obsidian mcp server
An Obsidian MCP for Agentic Coding Agents
Configuration
View docs{
"mcpServers": {
"kynlos-obsidian-mcp": {
"command": "node",
"args": [
"/absolute/path/to/Obsidian-MCP/index.js"
]
}
}
}Connect Obsidian MCP Server to Amp to automate note creation, linking, and management inside your Obsidian vault. This server lets Amp run locally to interact with Obsidian data, enabling AI-powered note creation, templates, metadata management, and advanced vault operations from your preferred MCP client.
You connect a client to the Obsidian MCP Server to perform AI-assisted note actions directly in your vault. Use the MCP client to issue tasks like creating structured notes, generating templates, managing frontmatter, querying vault data, and producing export bundles. You can build knowledge graphs, analyze connections between notes, and automate routine formatting or maintenance tasks. Start by configuring the server, then run commands from your MCP client to perform actions such as creating notes, adding content, or generating reports.
Prerequisites you need before installing: Node.js v18 or higher, Amp installed, Obsidian installed.
Step-by-step installation and setup flow you should follow exactly as written.
1. Clone the repository and navigate into it.
git clone https://github.com/Kynlos/Obsidian-MCP.git
cd Obsidian-MCP2. Install dependencies.
npm install3. Run the setup wizard to configure everything automatically.
npm run setupThe setup wizard will prompt you for your Obsidian vault path, create an .env configuration file, and configure Amp for your platform.
4. Restart Amp to pick up the new MCP configuration.
5. Test the server to ensure it is working.
npm testConfigure Amp to load the Obsidian MCP Server. The setup instructions provide a ready-made stdio configuration that runs the server locally.
If you tailor the configuration manually, add a stdio MCP server that points to your local Obsidian MCP entry point.
The following example shows how Amp can start the Obsidian MCP Server as a local process using Node.
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/absolute/path/to/Obsidian-MCP/index.js"]
}
}
}Verify you can connect via the MCP client and that the server can access the Obsidian vault. Common checks include ensuring the vault path is correct, Amp can load the configuration, and Node.js is available.
If issues arise, restart Amp after changes and re-run tests to confirm environments are aligned.
The Obsidian MCP Server is designed to work with Windows, macOS, and Linux environments where Amp and Obsidian are installed. Use the setup wizard to configure platform-specific details automatically.
Create new Obsidian Canvas boards by generating and saving canvas JSON structures.
Add text or media cards to an existing Obsidian Canvas board.
Connect cards with lines or arrows to visualize relationships.
Group multiple canvas items for organized layout.
Parse and read the structure of a canvas board.
Modify properties of a canvas card.
Run Dataview-like queries against vault content and metadata.
Insert a formatted Dataview query block into a note.
Check syntax and validity of a Dataview query.
Build a knowledge graph from vault links with nodes and edges.
Identify groups of related notes based on connections.
Compute centrality scores to find influential notes.
Find the shortest link path between two notes.
Identify notes with few or no connections.
Create obsidian:// URIs for deep linking to notes or workspaces.
Generate a URI to open a specific workspace.
Create a URI to append text to a specific note.
Generate a URI to perform a vault-wide search.
List all media files stored in the vault.
Copy external files into the vaultโs attachments folder.
Remove attachment files from the vault.
Identify media files not referenced by notes.
Find which notes reference a given attachment.
Perform regex-based search and replace across notes.
Search within YAML frontmatter for specific fields or values.
Find notes by link style (wiki vs markdown) patterns.
Batch find/replace across multiple notes.
Edit a YAML frontmatter field without rewriting the whole note.
Update a metadata property across multiple notes.
Check frontmatter against a schema for consistency.
List all unique frontmatter properties used in the vault.
Rename a frontmatter property across all notes.
List all values for a given frontmatter property.
Create notes from templates with variable substitution.
Generate a structured book/literature note.
Generate a structured person/contact note.
Create meeting notes with agenda and actions.
Create a project planning note structure.
Filter tasks by status, due date, priority, and tags.
Relocate a task from one note to another.
Attach due dates, priorities, and tags to a task.
Generate a summary report of tasks.
Identify tasks waiting on dependencies.
Wrap selected text in an Obsidian callout block.
Programmatically generate a Markdown table.
Generate a TOC based on document headings.
Create Mermaid diagrams from data relationships.
Insert LaTeX math blocks into notes.
Normalize Markdown formatting across notes.
Detect similar or duplicate content across notes.
Identify notes with no content.
Find notes exceeding a size threshold.
Provide overall vault statistics and health insights.
Fix or remove broken links across notes.
Show diffs between two notes to track changes.
Analyze content similarity to suggest consolidations.
Compare note versions over time to capture edits.
Smart merge of notes with conflict resolution options.
Split a large note into smaller notes based on headings.
Save code snippets with syntax highlighting and metadata.
Store AI conversation summaries with key insights.
Create general knowledge notes with tags for quick retrieval.
Create daily entries with optional templates.
Read the full content of a note.
Update note content while preserving metadata.
Delete a note from the vault.
Append content to an existing note.
Rename a note file.