Skip to main content
Glama
CHANGES.md7.83 kB
# 📋 Complete List of Changes This document lists all changes made to transform the Obsidian MCP into a multi-platform, easy-to-setup project. --- ## Core Functionality ### `index.js` **Changed:** - Added `import dotenv from "dotenv"` - Added `.env` file loading: `dotenv.config({ path: path.join(__dirname, ".env") })` - Environment variable support now works from both Amp config and local `.env` file **Impact:** MCP can now read configuration from `.env` file for local testing and development. --- ## Package Management ### `package.json` **Changed:** - Added `dotenv` dependency (v17.2.3) - Added npm scripts: - `npm run setup` - Interactive setup wizard - `npm test` - Configuration validator **Impact:** Simple, universal commands that work on all platforms. --- ## Configuration Files ### `.env.example` **Changed:** - Simplified and clarified with better examples - Removed unused `OBSIDIAN_DEFAULT_VAULT` option - Added note about `npm run setup` **Impact:** Clearer guidance for manual configuration. ### `obsidian-config.json` **Changed:** - Added comprehensive comments with platform-specific instructions - Included path format requirements and examples **Impact:** Better template for manual Amp configuration. --- ## Setup Scripts ### `setup.js` (NEW) **Created:** Cross-platform interactive setup wizard **Features:** - Detects platform automatically (Windows/macOS/Linux) - Prompts for vault path with examples - Creates `.env` file - Configures Amp automatically - Offers to create vault directory if it doesn't exist - Validates everything before completing **Impact:** One command (`npm run setup`) works everywhere. ### `test.js` (NEW) **Created:** Configuration validation script **Tests:** - `.env` file exists and is valid - Vault path is set and directory exists - Amp config file exists and is properly configured - `index.js` exists - Dependencies are installed - Node.js version is compatible **Impact:** Easy verification that setup is correct. ### `setup.ps1` **Updated:** - Changed path from `build/index.js` to `index.js` - Removed `npm run build` instructions - Still works for users who prefer PowerShell ### `setup.sh` **Updated:** - Changed path from `build/index.js` to `index.js` - Removed `npm run build` instructions - Still works for users who prefer shell scripts --- ## Documentation ### `README.md` **Completely rewritten:** - Platform-agnostic instructions - Emphasis on `npm run setup` as primary method - Clear prerequisites section - Simple 5-step quick start - Command reference table - Improved troubleshooting - Platform support section **Impact:** Clear, professional documentation that works for all users. ### `INSTALL.md` (NEW) **Created:** Comprehensive installation guide **Sections:** - Prerequisites with version checking - Step-by-step installation - Platform-specific notes (Windows/macOS/Linux) - Manual configuration instructions - Detailed troubleshooting - Uninstallation instructions **Impact:** Complete guide for any installation scenario. ### `QUICKSTART.md` (NEW) **Created:** 5-minute getting started guide **Content:** - Minimal steps to get running - Quick verification - First commands to try in Amp **Impact:** Gets users productive immediately. ### `SETUP.md` **Previously created, still valid:** - Detailed setup instructions - Multiple installation options - Troubleshooting guidance ### `SETUP_COMPLETE.md` (NEW) **Created:** Summary of changes for developers **Content:** - What changed and why - How the new system works - Migration notes - Benefits overview ### `CHANGES.md` (THIS FILE) **Created:** Complete change log --- ## Dependencies Added ### `dotenv` (v17.2.3) **Purpose:** Load environment variables from `.env` file **Why:** Enables local configuration and testing without modifying Amp config. **Usage:** Automatically loaded in `index.js` and helper scripts. --- ## File Structure ### Before ``` Obsidian-MCP/ ├── index.js ├── package.json ├── .env.example ├── setup.ps1 (referenced build/index.js) ├── setup.sh (referenced build/index.js) ├── obsidian-config.json └── README.md ``` ### After ``` Obsidian-MCP/ ├── index.js (updated with dotenv) ├── package.json (added scripts and dotenv) ├── .env.example (simplified) ├── setup.js (NEW - cross-platform wizard) ├── test.js (NEW - configuration validator) ├── setup.ps1 (updated paths) ├── setup.sh (updated paths) ├── obsidian-config.json (added comments) ├── README.md (rewritten) ├── INSTALL.md (NEW) ├── QUICKSTART.md (NEW) ├── SETUP.md (existing) ├── SETUP_COMPLETE.md (NEW) └── CHANGES.md (NEW - this file) ``` --- ## Platform Support Matrix | Platform | Setup Method | Config Location | Status | |----------|-------------|-----------------|---------| | Windows 10/11 | `npm run setup` | `%APPDATA%\Amp\mcp-config.json` | ✅ Tested | | macOS 10.15+ | `npm run setup` | `~/.config/amp/mcp-config.json` | ✅ Verified | | Linux (Ubuntu/Debian) | `npm run setup` | `~/.config/amp/mcp-config.json` | ✅ Verified | | Linux (Fedora/RHEL) | `npm run setup` | `~/.config/amp/mcp-config.json` | ✅ Verified | --- ## Installation Methods ### Method 1: Automated (Recommended) ```bash npm install npm run setup npm test ``` **Platforms:** Windows, macOS, Linux **Difficulty:** Easy **Time:** 2-3 minutes ### Method 2: Manual ```bash npm install cp .env.example .env # Edit .env # Edit Amp config manually npm test ``` **Platforms:** All **Difficulty:** Medium **Time:** 5-10 minutes ### Method 3: PowerShell Script (Legacy) ```powershell .\setup.ps1 ``` **Platforms:** Windows only **Difficulty:** Easy **Time:** 2-3 minutes ### Method 4: Shell Script (Legacy) ```bash ./setup.sh ``` **Platforms:** macOS, Linux **Difficulty:** Easy **Time:** 2-3 minutes --- ## Breaking Changes ### None! All existing configurations continue to work: - ✅ Existing `.env` files still work - ✅ Existing Amp configs still work - ✅ Old setup scripts still work (with updated paths) - ✅ No API changes to MCP tools --- ## Migration Guide ### If you used old setup: **No action required!** Your existing setup will continue to work. **Optional:** Run `npm test` to verify everything still works. ### If you want to use new setup: 1. Delete your old `.env` (if you want to reconfigure) 2. Run `npm install` to get `dotenv` 3. Run `npm run setup` to reconfigure 4. Run `npm test` to verify --- ## Testing ### Before Changes - Manual testing required - No validation script - Platform-specific setup only ### After Changes - `npm test` validates entire configuration - Automated platform detection - Clear pass/fail feedback - Helpful error messages --- ## Benefits Summary ✅ **Universal** - One setup process for all platforms ✅ **Simple** - Just `npm install` and `npm run setup` ✅ **Testable** - `npm test` validates everything automatically ✅ **Clear** - Better documentation and error messages ✅ **Maintainable** - Single source of truth (`.env` + `setup.js`) ✅ **Flexible** - Multiple installation methods supported ✅ **Professional** - Complete documentation suite ✅ **Reliable** - Validation ensures correct setup --- ## Future Improvements Possible enhancements for future versions: - [ ] Add `npm run update` to update Amp config - [ ] Add `npm run uninstall` to remove configuration - [ ] Support multiple vault profiles - [ ] Add config migration script for major changes - [ ] Add automated testing in CI/CD - [ ] Create video installation tutorial - [ ] Add troubleshooting diagnostic script --- **All changes complete and tested! 🎉** The Obsidian MCP is now ready for easy setup on Windows, macOS, and Linux.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kynlos/Obsidian-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server