feat: implement Obsidian MCP Bundle MVP (Phase 1-3)

- Complete project setup with TypeScript, Jest, MCPB manifest
- Implement foundational infrastructure (CLI executor, logger, error handler)
- Add 9 file operation tools for User Story 1
- Full MCP protocol compliance with stdio transport
- Input validation and sanitization for security
- Comprehensive error handling with actionable messages
- Constitutional compliance: all 6 principles satisfied

MVP includes:
- obsidian_create_note, read, append, prepend, delete, move, rename, open, file_info
- Zod validation schemas for all parameters
- 30s timeout configuration with per-command overrides
- Stderr-only logging with sanitized output
- Graceful shutdown handling

Build:  0 errors, 0 vulnerabilities
Tasks: 48/167 complete (MVP milestone)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-22 11:21:38 -05:00
parent e9e0112240
commit 622b28e42c
35 changed files with 5139 additions and 35 deletions

31
.mcpbignore Normal file
View File

@@ -0,0 +1,31 @@
# Development files
tests/
.git/
node_modules/
src/
tsconfig.json
jest.config.js
# Build artifacts
*.map
*.tsbuildinfo
# IDE and OS files
.vscode/
.idea/
.DS_Store
Thumbs.db
# Logs and temp files
*.log
*.tmp
*.swp
# Environment files
.env
.env.*
# Documentation (keep only README in bundle)
specs/
.specify/
.github/