About MCP Obsidian Kotlin
MCP Obsidian Kotlin is a Kotlin-based MCP server that lets AI agents interact with Obsidian notes through the Local REST API plugin. It is intended for setups using Obsidian and that plugin.
Key features
- 01Kotlin MCP server implementation
- 02Obsidian note interaction
- 03Uses the Local REST API plugin
- 04Gradle build setup
Use cases
- 01Letting AI agents interact with Obsidian notes
- 02Connecting an MCP client to an Obsidian vault
MCP support
The project provides an MCP server for Obsidian, configured through an `mcp.json` entry. It uses Obsidian's Local REST API plugin to enable agent interaction with notes.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP 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
- Java
- Obsidian
- Local REST API plugin for Obsidian
Setup
-
Install the Local REST API plugin in Obsidian and configure an API key
-
Clone this repository:
git clone https://github.com/your-username/mcp-obsidian-kotlin.git cd mcp-obsidian-kotlin -
Build the project:
./gradlew build -
Set the MCP server in the
mcp.jsonfile:{ "mcpServers": { "obsidian": { "command": "java", "args": [ "-jar", "your-path/mcp-obsidian-kotlin/app/build/libs/app.jar" ] } } }
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.