MCP Obsidian Kotlin

by ue-sho

271 downloads Not rated yet MIT license
GitHub

About

# MCP Obsidian Kotlin A Model Context Protocol (MCP) server implementation for Obsidian, written in Kotlin. This project uses the [Obsidian Local REST API](https://github.com/coddingtonbear/obsidian-local-rest-api) plugin to allow AI agents to interact with Obsidian notes. This project is inspired by [MCP…

Details

License
MIT license

Explore

- Kotlin-based MCP server for Obsidian
- Integrates via the Obsidian Local REST API plugin
- Alternative to the Python MCP Obsidian implementation
- Requires Java runtime for execution

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Obsidian Kotlin
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Java
- Obsidian
- Local REST API plugin for Obsidian

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

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

- Java
- Obsidian
- Local REST API plugin for Obsidian

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"
]
}
}
}

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.