Repository navigation
feat(plugin): first-class plugin distribution with MCP server (#476) - #477
Merged
admarble merged 5 commits intoMar 27, 2026
Merged
Conversation
…skill, CI hardening
- Add templates/mcp.json for plugin MCP server config (npx sequant@latest serve)
- Add .mcp.json to .gitignore (dev-only config has hardcoded paths)
- Update prepare-marketplace.ts: copy .mcp.json, validate it, check marketplace.json version sync
- Update marketplace.json description to mention MCP tools
- Rewrite setup skill v2.0: prerequisites check, .sequant/ config, PM/stack detection, manifest
- Mirror setup skill to templates/skills/setup/ and .claude/skills/setup/
- Harden plugin CI: remove fallback guards, add .mcp.json validation, version sync check, portable path check
- Update release workflow: sync marketplace.json version, run marketplace build
- Replace hardcoded /tmp/ with ${TMPDIR:-/tmp} in hooks for macOS/Linux portability
- Mirror hook changes to templates/hooks/
Closes #476
Plugin .mcp.json uses flat format (server name as top-level key), not the mcpServers wrapper used by project .mcp.json files. Updated template, marketplace validation, and CI to match.
1 of 39 tasks
…talls For `claude plugin install sequant@sequant-io/sequant` to discover the MCP server, .mcp.json must be at repo root and tracked in git. Force-added despite .gitignore (which prevents accidental dev overrides). Also adds --plugin-dir CI test and root .mcp.json to CI trigger paths.
- AC-8: Use CLAUDE_PLUGIN_DATA/logs/ for persistent log storage when
available, falling back to ${TMPDIR:-/tmp} for non-plugin environments
- AC-9: Fix skill dual-path support — replace CLAUDE_PLUGIN_ROOT/scripts/
with ./scripts/dev/ in fullsolve and testgen skills; use fallback
${CLAUDE_PLUGIN_ROOT:-./templates} in setup skill constitution path
- AC-7: CI now builds marketplace package and checks dist/ output version
in the 4-way version sync (package.json, plugin.json, marketplace.json,
dist/plugin.json)
README now shows both install paths: plugin (interactive) and npm (power users/CI), matching the marketplace README.
admarble
deleted the
feature/476-feat-fix-plugin-distribution-as-first-class-al
branch
March 27, 2026 21:14
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.mcp.jsontemplate for plugin MCP server distribution (npx -y sequant@latest serve)/sequant:setupskill v2.0: prerequisites,.sequant/config, PM/stack detection, manifestprepare-marketplace.ts: copy.mcp.json, validate format, check marketplace.json version sync.mcp.jsonvalidation, version sync check, portable path check/tmp/with${TMPDIR:-/tmp}in hooks for macOS/Linux portability.mcp.jsonto.gitignore(dev-only config has hardcoded paths)AC Coverage
Test plan
npm run buildpassesnpm run lintpassesnpm testpasses (2334/2335, 1 pre-existing flaky timeout)npm run prepare:marketplacevalidates .mcp.json in outputbash -nsyntax check/tmp/references in hooks (all use${TMPDIR:-/tmp})Closes #476