Skip to content

Feature Request: Support for Multiple Obsidian Vaults #63

Description

@fobert789

Summary

I would like to request support for connecting to multiple Obsidian vaults simultaneously, or at least an easier way to switch between different vaults without reconfiguring the MCP server.

Current Situation

Currently, the MCP server connects to a single Obsidian instance via the Local REST API plugin using one API key, host, and port. This means users can only access one vault at a time and need to:

  1. Switch vaults manually in Obsidian
  2. Or reconfigure the MCP server settings
  3. Or run multiple Obsidian instances on different ports

Use Case

I have multiple Obsidian vaults for different purposes:

  • A main work/knowledge vault
  • A personal projects vault
  • Potentially other specialized vaults

Being able to access multiple vaults would greatly improve workflow efficiency, especially when working with AI assistants that could help organize and cross-reference information across different knowledge domains.

Possible Solutions

I see a few potential approaches:

  1. Multiple vault configuration: Allow specifying multiple vault configurations in the MCP settings, perhaps with vault identifiers
  2. Vault switching command: Add a tool/command to switch between pre-configured vaults
  3. Multi-instance support: Better documentation on running multiple Obsidian instances with different ports

Related Work

I noticed that StevenStavrakis/obsidian-mcp seems to support multiple vault paths in their configuration:

{
  "command": "node",
  "args": ["<path>/build/main.js", "/path/to/vault1", "/path/to/vault2"]
}

Additional Context

This is my first issue on GitHub, so please let me know if I should provide any additional information or if there's a better way to structure this request.

Configuration example I'm currently using:

\"mcp-obsidian\": {
  \"command\": \"uvx\",
  \"args\": [\"mcp-obsidian\"],
  \"env\": {
    \"OBSIDIAN_API_KEY\": \"...\",
    \"OBSIDIAN_HOST\": \"127.0.0.1\",
    \"OBSIDIAN_PORT\": \"27124\"
  }
}

Thank you for this great MCP server! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions