Skip to content

Bundle MCP server and add prerequisite check hook#4

Merged
mlieberman85 merged 4 commits intokusaridev:mainfrom
mlieberman85:005-plugin-mcp-bundling
Apr 9, 2026
Merged

Bundle MCP server and add prerequisite check hook#4
mlieberman85 merged 4 commits intokusaridev:mainfrom
mlieberman85:005-plugin-mcp-bundling

Conversation

@mlieberman85
Copy link
Copy Markdown
Contributor

Summary

  • Adds .mcp.json to the plugin so kusari-inspector (via kusari ai serve) starts automatically when the plugin is enabled — no separate MCP setup needed
  • Adds a SessionStart hook that checks for kusari CLI on PATH and provides install guidance if missing
  • Sets version to 0.2.0 (previously 1.0.0, but this isn't production-ready yet)
  • Documents both install paths in README: claude plugin install kusari and kusari ai install claude

Context

The plugin previously required users to configure the MCP server separately, creating a chicken-and-egg problem. Now the plugin is self-contained: install it, and the MCP server + skills + prerequisite check all come together.

The Kusari CLI remains the only external dependency (same pattern as LSP plugins requiring their language server binary).

Test plan

  • Verify .mcp.json is picked up by Claude Code plugin system
  • Verify SessionStart hook fires and detects missing/present CLI
  • Verify kusari ai serve starts correctly as the MCP server command
  • Verify skills still work end-to-end with bundled MCP config

🤖 Generated with Claude Code

@mlieberman85 mlieberman85 force-pushed the 005-plugin-mcp-bundling branch 2 times, most recently from abda518 to 5183446 Compare April 8, 2026 21:58
claude plugin install kusari
```

**Prerequisite**: [Kusari CLI](https://github.com/kusaridev/kusari-cli) v0.21.0+ installed and authenticated (`kusari auth login`).
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a place holder. I need to know what version of the cli actually has the mcp server.

@mlieberman85 mlieberman85 force-pushed the 005-plugin-mcp-bundling branch from 5183446 to 66c2025 Compare April 8, 2026 22:08
The plugin now ships a .mcp.json so kusari-inspector starts
automatically when the plugin is enabled via `kusari ai serve`.
A SessionStart hook verifies the Kusari CLI is installed and
provides setup guidance if missing. Version set to 0.2.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mlieberman85 mlieberman85 force-pushed the 005-plugin-mcp-bundling branch from 66c2025 to 6701894 Compare April 8, 2026 22:10
Copy link
Copy Markdown
Collaborator

@funnelfiasco funnelfiasco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have released a version with the support necessary (v1.0.0)

mlieberman85 and others added 2 commits April 9, 2026 15:44
Co-authored-by: Ben Cotton <bcotton@funnelfiasco.com>
Co-authored-by: Ben Cotton <bcotton@funnelfiasco.com>
Co-authored-by: Ben Cotton <bcotton@funnelfiasco.com>
@mlieberman85 mlieberman85 merged commit f86f918 into kusaridev:main Apr 9, 2026
1 check 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.

2 participants