- Accepts API calls from your agents (e.g. Telegram, Scraper, etc.)
- Writes Markdown or image files into your Obsidian vault
- Push this folder to GitHub (e.g. as
obsidian-mcp-server) - Go to https://render.com and click "New → Web Service"
- Connect your repo
- Set:
- Build Command:
npm install - Start Command:
npm start - Environment Variable:
OBSIDIAN_VAULT_PATH=/data
- Build Command:
- Hit Deploy
Your MCP endpoint will be:
https://your-render-app-name.onrender.com/mcp
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."
}- Python 3.8 or higher
- pip (Python package manager)
git clone https://github.com/darshd9941/obsidian-mcp-server.git
cd obsidian-mcp-serverpip install -r requirements.txt-
Copy the example environment file:
cp .env.example .env
-
Edit .env and add your API keys:
# Required for Claude vision features ANTHROPIC_API_KEY=your-api-key-here
streamlit run app.pypython main.py --helpfrom module import MainClass
# Initialize the tool
tool = MainClass()
# Use the tool
result = tool.process("input")
print(result)- .env - Environment variables (API keys, settings)
- config.yaml - Configuration file (if applicable)
See the examples/ directory for detailed usage examples.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
See LICENSE file for details.