- Explore MCP Servers
- mcp-obsidian-docker
Mcp Obsidian Docker
What is Mcp Obsidian Docker
mcp-obsidian-docker is a containerized version of the MCP Obsidian server, designed to facilitate integration with Obsidian through the Local REST API community plugin.
Use cases
Use cases include automating note-taking processes, integrating external applications with Obsidian, and enhancing productivity through seamless API interactions.
How to use
To use mcp-obsidian-docker, ensure you have Docker and Docker Compose installed, configure the Local REST API plugin in Obsidian, obtain your API key, set it up in the environment file, and then build and start the container using ‘docker-compose up -d’.
Key features
Key features include Docker containerization for easy deployment, integration with Obsidian via the Local REST API, and secure API key management.
Where to use
mcp-obsidian-docker can be used in personal knowledge management, note-taking applications, and any environment where integration with Obsidian is beneficial.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Obsidian Docker
mcp-obsidian-docker is a containerized version of the MCP Obsidian server, designed to facilitate integration with Obsidian through the Local REST API community plugin.
Use cases
Use cases include automating note-taking processes, integrating external applications with Obsidian, and enhancing productivity through seamless API interactions.
How to use
To use mcp-obsidian-docker, ensure you have Docker and Docker Compose installed, configure the Local REST API plugin in Obsidian, obtain your API key, set it up in the environment file, and then build and start the container using ‘docker-compose up -d’.
Key features
Key features include Docker containerization for easy deployment, integration with Obsidian via the Local REST API, and secure API key management.
Where to use
mcp-obsidian-docker can be used in personal knowledge management, note-taking applications, and any environment where integration with Obsidian is beneficial.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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
.envfile:# 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
.envfile is listed in.gitignoreto 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
.envfile - 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
.envfile
Common Issues
- Authentication Failed: Double-check your API key in both Obsidian plugin settings and
.envfile - 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.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










