Skip to content

About

my own obsidian mcp server

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

obsidian-mcp-server

Obsidian MCP Server (Cloud Version)

What this does:

  • Accepts API calls from your agents (e.g. Telegram, Scraper, etc.)
  • Writes Markdown or image files into your Obsidian vault

How to deploy on Render:

  1. Push this folder to GitHub (e.g. as obsidian-mcp-server)
  2. Go to https://render.com and click "New → Web Service"
  3. Connect your repo
  4. Set:
    • Build Command: npm install
    • Start Command: npm start
    • Environment Variable: OBSIDIAN_VAULT_PATH=/data
  5. Hit Deploy

Your MCP endpoint will be:

https://your-render-app-name.onrender.com/mcp

Example request:

POST /mcp

{
  "action": "write",
  "path": "photo-log/2025-07-07-summary.md",
  "content": "---\ndate: 2025-07-07\ntags: [twitter]\n---\n\nSummary of the post here."
}

Installation

Prerequisites

  • Python 3.8 or higher
  • pip (Python package manager)

Clone the Repository

git clone https://github.com/darshd9941/obsidian-mcp-server.git
cd obsidian-mcp-server

Install Dependencies

pip install -r requirements.txt

Environment Setup

  1. Copy the example environment file:

    cp .env.example .env
  2. Edit .env and add your API keys:

    # Required for Claude vision features
    ANTHROPIC_API_KEY=your-api-key-here

Usage

Web App (if applicable)

streamlit run app.py

CLI Usage

python main.py --help

Python API

from module import MainClass

# Initialize the tool
tool = MainClass()

# Use the tool
result = tool.process("input")
print(result)

Configuration

  • .env - Environment variables (API keys, settings)
  • config.yaml - Configuration file (if applicable)

Examples

See the examples/ directory for detailed usage examples.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

See LICENSE file for details.

About

my own obsidian mcp server

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages