MCP Hub
Back to servers

obsidian-mcp-client

šŸ”Œ Proof-of-concept Obsidian plugin implementing a Model Context Protocol (MCP) client. Connect to MCP servers, browse resources, execute tools, and insert content directly into your notes. WebSocket support working, STDIO/HTTP planned. Claude Desktop config compatible.

Stars
3
Forks
1
Updated
Dec 16, 2025
Validated
Feb 5, 2026

Obsidian MCP Client

An Obsidian plugin for connecting to Model Context Protocol (MCP) servers.

Features

  • Multiple Transport Types: Connect to MCP servers via:

    • STDIO (local command execution)
    • WebSocket
    • Server-Sent Events (SSE)
    • Streamable HTTP
  • Plugin Architecture: Extensible transport system with hot-swappable plugins

  • Claude Desktop Compatible: Uses the same config format as Claude Desktop (~/.mcp-config.json)

  • Built-in Presets: Quick-add common MCP servers (Memory, Filesystem, Sequential Thinking, etc.)

Installation

From Obsidian Community Plugins (Coming Soon)

Search for "MCP Client" in Obsidian's community plugin browser.

Manual Installation

  1. Download the latest release from the Releases page
  2. Extract to your vault's .obsidian/plugins/obsidian-mcp-client/ directory
  3. Enable the plugin in Obsidian settings

Build from Source

git clone https://github.com/simplemindedbot/obsidian-mcp-client.git
cd obsidian-mcp-client
npm install
npm run build

Copy main.js, manifest.json, and styles.css to your vault's plugins directory.

Usage

  1. Open the MCP Client view via the ribbon icon or command palette
  2. Configure MCP servers in Settings > MCP Client
  3. Connect to servers and browse available tools, resources, and prompts

Configuration

The plugin reads from ~/.mcp-config.json by default (Claude Desktop compatible format):

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-memory"]
    },
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/dir"]
    }
  }
}

Development

# Install dependencies
npm install

# Development build with watch
npm run dev

# Production build
npm run build

Architecture

src/
ā”œā”€ā”€ main.ts                    # Plugin entry point
ā”œā”€ā”€ mcpclient/
│   ā”œā”€ā”€ core/
│   │   ā”œā”€ā”€ McpClient.ts       # Main client wrapper
│   │   ā”œā”€ā”€ PluginRegistry.ts  # Transport plugin registry
│   │   └── EventEmitter.ts    # Type-safe event system
│   ā”œā”€ā”€ plugins/
│   │   ā”œā”€ā”€ stdio/             # STDIO transport
│   │   ā”œā”€ā”€ websocket/         # WebSocket transport
│   │   ā”œā”€ā”€ sse/               # SSE transport
│   │   └── streamable-http/   # Streamable HTTP transport
│   └── types/                 # TypeScript definitions
└── ui/
    ā”œā”€ā”€ MCPView.ts             # Sidebar view
    ā”œā”€ā”€ MCPSettingsTab.ts      # Settings tab
    └── ToolParameterModal.ts  # Tool parameter input modal

License

MIT

Author

simplemindedbot

Reviews

No reviews yet

Sign in to write a review