MCP Obsidian Kotlin

MCP Obsidian Kotlin avatar

by ue-sho

obsidianmcp-serverBrowser Automation

What is MCP Obsidian Kotlin

MCP Obsidian Kotlin

A Model Context Protocol (MCP) server implementation for Obsidian, written in Kotlin. This project uses the Obsidian Local REST API plugin to allow AI agents to interact with Obsidian notes.

This project is inspired by MCP Obsidian (Python implementation) but reimplemented in Kotlin.

Prerequisites

Setup

  1. Install the Local REST API plugin in Obsidian and configure an API key

  2. Clone this repository:

    git clone https://github.com/your-username/mcp-obsidian-kotlin.git
    cd mcp-obsidian-kotlin
    
  3. Build the project:

    ./gradlew build
    
  4. Set the MCP server in the mcp.json file:

    {
       "mcpServers": {
          "obsidian": {
                "command": "java",
                "args": [
                   "-jar",
                   "your-path/mcp-obsidian-kotlin/app/build/libs/app.jar"
                ]
          }
       }
    }
    

Leave a Comment

Comments section will be available soon. Stay tuned!

Frequently Asked Questions

What is MCP?

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.

What are MCP Servers?

MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.

How do MCP Servers work?

MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.

Are MCP Servers secure?

Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.