Skip to content

feat: pivot to obx CLI and multiplex MCP tools - #4

Merged
zach-snell merged 5 commits into
mainfrom
develop
Feb 23, 2026
Merged

feat: pivot to obx CLI and multiplex MCP tools#4
zach-snell merged 5 commits into
mainfrom
develop

Conversation

@zach-snell

Copy link
Copy Markdown
Owner

This PR merges the new obx CLI architecture, multiplexed MCP tools, dynamic vault switching, and updated documentation from the develop branch into main.

…g, lint fixes

Squashed from codex/token-envelope branch:
- Add HTTP Streamable MCP transport (--http flag / OBSIDIAN_ADDR env var)
- Add compact response mode with bounded token output for search/tasks
- Harden path safety with write guards and security tests
- Remove stale mark3labs/mcp-go dependency (fully on official go-sdk)
- Fix cyclomatic complexity in SearchRegexHandler
- Fix paramTypeCombine lint in compactResult
- Update README, configuration docs, FAQ for HTTP transport
…t issues

Extract helpers: writeSplitSections, readMergeContents, createNewNote
to reduce handler complexity below gocyclo threshold of 20.
@zach-snell
zach-snell force-pushed the develop branch 4 times, most recently from b9079f5 to 9d458e0 Compare February 22, 2026 22:51
This commits a massive architectural refactor to the project:
- **CLI Architecture**: Migrated from a single monolithic entrypoint to a robust Cobra-based CLI.
- **Dedicated Subcommands**: Added 'obx daily', 'obx search', and 'obx doctor' commands.
- **Global Vault Configuration**: Added internal/config and 'obx vault' allowing for persisted multi-vault setups.
- **MCP Tool Consolidation**: Reduced 70 distinct MCP tools to 14 multiplexed tool families (e.g. manage-notes). This maintains identical file functionality while preventing LLM token and API limit exhaustion on large graphs.
- **Security Check**: Added the '--disabled-tools' flag to strictly exclude MCP tools.
- **Dynamic Workspaces**: Added '--allow-vault-switching' flag to allow LLM agents to map remote vault targets autonomously.
- **Documentation**: Rewrote Astro website with granular CLI and MCP documentation.
@zach-snell
zach-snell merged commit 25eafa0 into main Feb 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant