MCP Obsidian Docker
Dockerized version of MCP Obsidian server for Obsidian Local REST API integration
kmackett
README
MCP Obsidian Docker
This is a containerized version of MCP Obsidian, a server that interacts with Obsidian via the Local REST API community plugin.
Prerequisites
- Docker and Docker Compose installed
- Obsidian with the Local REST API plugin installed and configured
- API key from the Local REST API plugin
API Key Configuration
Getting Your API Key
- Open Obsidian
- Go to Settings (gear icon in the bottom left)
- Select "Community Plugins" in the left sidebar
- Find "Local REST API" in your list of installed plugins
- Click the settings gear icon (⚙️) next to the plugin
- Look for the "API Key" field - this is your authentication key
Setting Up the API Key
-
Create your environment file by copying the example:
cp .env.example .env
-
Edit the
.env
file:# Open with your preferred editor nano .env # or vim .env # or any text editor
-
Replace the placeholder with your actual API key:
# Before: OBSIDIAN_API_KEY=your_api_key_here # After (example - use your actual key): OBSIDIAN_API_KEY=1234abcd5678efgh
Security Notes
- The
.env
file is listed in.gitignore
to prevent accidental commits - Never share your API key or commit it to version control
- If you need to change your API key:
- Generate a new key in Obsidian
- Update your
.env
file - Restart the container:
docker-compose restart
Setup
- Clone this repository
- Configure API key as described above
- Build and start the container:
docker-compose up -d
Usage
The MCP Obsidian server will be available at port 27124. Make sure this port matches the one configured in your Obsidian Local REST API plugin.
Verifying the Setup
-
Check if the container is running:
docker-compose ps
-
Check the logs for any issues:
docker-compose logs -f
-
If you see authentication errors, verify your API key is correctly set in the
.env
file
Common Issues
- Authentication Failed: Double-check your API key in both Obsidian plugin settings and
.env
file - Connection Refused: Ensure Obsidian is running and the Local REST API plugin is enabled
- Port Conflict: If port 27124 is already in use, you can modify the port mapping in
docker-compose.yml
Logs
Logs are stored in the ./logs
directory, which is mounted as a volume in the container.
Environment Variables
OBSIDIAN_API_KEY
: Your Obsidian Local REST API plugin API key (required)
License
This project is licensed under the MIT License - see the original MCP Obsidian repository for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.