Package as a Claude Code plugin and marketplace - #53
Merged
Merged
Conversation
Add .claude-plugin/plugin.json (registers the sudo-proxy MCP server inline and ships a skill) and .claude-plugin/marketplace.json (a single-plugin marketplace named "tarides"), so the repo can be added and installed with: /plugin marketplace add tarides/sudo-proxy /plugin install sudo-proxy@tarides Declare mcpServers inline in plugin.json rather than shipping a root .mcp.json: a project-root .mcp.json auto-loads whenever the repo itself is opened in Claude Code, prompting every developer for MCP approval. Inline registration loads the server only when the plugin is installed. The plugin does not install the sudo-proxy-mcp binary; that stays a documented prerequisite, since a human-consent tool should not install itself silently. The skill tells the model to reach for sudo-proxy only for privileged or remote work, start the server before executing, and write a clear per-command description for the approval prompt. Also add plugin.json to the version-bump checklist in CLAUDE.md alongside the pre-existing hardcoded version strings in server.json and the mcpb manifest. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Makes the repo installable as a Claude Code plugin and its own marketplace:
What's added
.claude-plugin/plugin.json— registers thesudo-proxyMCP server inline and ships the skill..claude-plugin/marketplace.json— a single-plugin marketplace namedtarides(so install readssudo-proxy@tarides).skills/run/SKILL.md— invocable as/sudo-proxy:run; also model-invoked via its description. Tells the model to reach for sudo-proxy only for privileged or remote work (Bash otherwise), start the server before executing, and write a clear per-command description for the approval prompt.Notes
.mcp.json.mcpServersis declared inline inplugin.json. A project-root.mcp.jsonauto-loads whenever the repo itself is opened in Claude Code, prompting every developer for MCP approval; inline registration loads the server only when the plugin is installed.sudo-proxy-mcpbinary — it stays a documented prerequisite (cargo install/cargo binstall), since a human-consent tool should not install itself silently.README.mdgains a plugin-install section;CLAUDE.md's version-bump checklist now listsplugin.jsonalongside the pre-existing hardcoded version strings inserver.jsonand the mcpb manifest.🤖 Generated with Claude Code