Skip to content

Plugin Format

Stuart Jackson edited this page Nov 22, 2026 · 5 revisions

Plugin Format

Where each field lives in .claude-plugin/marketplace.json and in each plugin's .claude-plugin/plugin.json, which one wins, and what Anthropic's plugin directory requires. The short version: the marketplace file stays minimal, and each plugin's metadata lives in its own plugin.json.

Field behaviour on this page was checked against claude plugin validate (Claude Code 2.1.330) and the official marketplace reference and plugin manifest reference. Re-check with the validator before relying on a field the docs have since changed.

Marketplace file

The marketplace file MUST hold name (augur), description, owner, and plugins. owner carries name, email, and url; url is where the marketplace links to www.simpleapps.com. A top-level homepage is not a field: the validator warns and Claude Code ignores it.

The marketplace file MUST NOT set version, at the top level or on any plugin entry. Versions live only in plugin.json (see Versioning).

Optional top-level fields, added only when needed:

Field Use when
forceRemoveDeletedPlugins: true Retiring a plugin: removing it from plugins then uninstalls it from users
renames Renaming a plugin: maps the old name to the new one (or to null for a removed plugin) so existing installs follow
metadata.pluginRoot Never here: lets source drop the ./plugins/ prefix, needs Claude Code 2.1.239+, and saves nothing
$schema Never here: the URL Anthropic's own marketplace uses returns 404 and Claude Code ignores the field

Plugin entry vs plugin.json

Each plugin entry in marketplace.json MUST carry name and source (./plugins/<name>), and SHOULD carry category. It MAY carry tags. Those fields exist only in the entry: plugin.json has no category or tags.

Everything else about the plugin MUST live in plugin.json, so one file is the source and Anthropic's directory reads it:

Field Value for augur plugins
name Matches the directory and the entry
displayName Human name shown in place of name
description What it does, for whom. Shown in /plugin and in claude.ai Customize > Plugins
version CalVer, see [[Versioning
author {"name": "SimpleApps", "email": "info@simpleapps.com", "url": "https://www.simpleapps.com"}. The validator warns when author is missing
homepage https://www.simpleapps.com (MUST parse as a URL)
repository https://github.com/simpleapps-com/augur-plugins
license MIT (SPDX id)
keywords A few discovery terms
icon Path to the icon, see [[Plugin directory
privacyPolicyUrl MUST NOT be set. claude.ai's marketplace sync rejects it ("unrecognized key in plugin.json: 'privacyPolicyUrl' (stripped)", 2026-11-22), so every plugin shows a warning. Put a Privacy section with the link in the plugin README instead: the directory check reads it from there and only notes the field is missing

Why plugin.json and not the entry. For displayName, description, author, homepage, repository, license, and keywords, an entry value overrides plugin.json for display. A copy in both places means the entry silently wins when they drift. version is the exception: plugin.json always wins over the entry. icon and the other directory listing fields (documentationUrl, supportUrl, privacyPolicyUrl, termsOfServiceUrl) are valid only in plugin.json. Claude Code's validator accepts them, but claude.ai's sync does not know privacyPolicyUrl (see above); check the sync warnings on claude.ai before adding any of the others.

Category. Free text, but SHOULD come from the set Anthropic's own marketplace uses, so it groups sensibly. The common ones are development, productivity, database, monitoring, security, deployment, design, and automation.

Fields to avoid

  • engines MUST NOT be used. Claude Code 2.0.15 through 2.1.75 reject the whole marketplace file if any entry has it, which breaks every plugin for those users, not just one.
  • relevance MUST be an object with topic and signals if used at all. A string is ignored with a warning.
  • strict stays at its default (true). It governs component fields (commands, agents, skills, hooks, outputStyles, themes), not metadata; with false, an entry that declares any component fails to load.

Connectors

A plugin's remote MCP connector MUST be declared in .mcp.json at the plugin root, keeping plugin.json to metadata. augur-intelligence is the reference.

  • One server, type: http, a fixed https:// URL. sse is deprecated; a url without type is a config error.

  • The URL MUST be on the augur-mcp.com domain (<service>.augur-mcp.com/mcp). SimpleApps is moving every hosted MCP server there; older hosts on other domains are retiring.

  • Naming (house rule, follows Anthropic's own plugins). The server key MUST be the service's display name, and the entry MUST carry a matching title and a one-sentence description of what the service does:

    "Augur Intelligence": {
      "type": "http",
      "url": "https://intelligence.augur-mcp.com/mcp",
      "title": "Augur Intelligence",
      "description": "Ask plain-language questions about your company's ERP data."
    }

    Use the same name everywhere a user or Claude meets the service: the key and title, the name the server reports for itself, and the name an Owner types when adding the connector by hand. One name lets a user say "use Augur Intelligence" and be understood on every surface. Current names: Augur Intelligence, Augur API, SimpleApps Basecamp.

  • In Claude Code the key shows as plugin:<plugin>:<key> and prefixes the tool names (mcp__plugin_<plugin>_<key>__<tool>), so renaming a key renames every tool. Skills MUST NOT hardcode those names.

  • MUST NOT carry credentials, headers, oauth, or ${user_config.*}. The augur services sign users in with standard MCP OAuth and register Claude as a client themselves, so the URL is all a plugin declares. Chat ignores a connector whose URL uses ${user_config.*}, and anything in the file ships to every installer.

  • The plugin README MUST have a Privacy section linking https://www.simpleapps.com/privacy (not privacyPolicyUrl, see the table above), and MUST give the connector URL so a Team or Enterprise Owner can add it (Platform-Support#connectors).

.mcp.json fields

There is no published JSON schema. These are the fields the MCP docs, plugin components, and manifest reference document (read 2026-11-22). Re-read those pages before relying on a field; claude plugin validate does not check server fields, so a typo or an unknown field passes silently.

The file is {"mcpServers": {"<key>": {…}}}; no other top-level key is documented.

Field Server types Meaning
type all http (alias streamable-http), stdio, ws, sse (deprecated). Omitted means stdio
url http, sse, ws Server address. Required
headers http, sse, ws Static request headers
headersHelper http, sse, ws Shell command printing JSON headers, run per connection
oauth http, sse clientId, callbackPort, authServerMetadataUrl, scopes, for servers without dynamic client registration
timeout all Per-tool-call limit in ms (values under 1000 ignored)
alwaysLoad all true loads the tools at startup instead of deferring them (Claude Code)
command, args, env stdio Local process; does not run in chat or Cowork
title, description all Undocumented, see below. Human name and one-line purpose

${VAR}, ${VAR:-default}, ${CLAUDE_PLUGIN_ROOT}, and ${user_config.KEY} expand in most string fields. Augur connectors use none of them: only type, url, title, and description, since the servers handle sign-in.

Undocumented but used by Anthropic. Anthropic's own claude-for-legal plugins (2026-05) key each server by its display name ("Google Drive", with a space) and add title and description per server, plus a top-level recommendedCategories array. knowledge-work-plugins also uses spaced keys ("google calendar"). No docs page says what reads title or description; the validator accepts them (and prints a spaced key in quotes). Which label the claude.ai Connectors tab shows is to be confirmed by the Desktop install test. We do not use recommendedCategories: its effect is unknown.

Skills

Skills live in plugins/<name>/skills/<skill-name>/SKILL.md. How to write them, including the chat-safe frontmatter, progressive disclosure, and the rules every augur skill MUST follow, is on Skill-Authoring.

Versioning

Each plugin has its own version, set only in its plugin.json. The format is CalVer YYYY.MM.N: year, month, and a release counter (for example 2026.11.1). Claude Code does not check the format; it treats any change to the string as an update.

  • A plugin's version MUST change on every release. A plugin whose version is pinned gets no new commits to users until the string changes.
  • A plugin without a version falls back to the commit SHA of its directory, so every commit becomes an update. Plugins here MUST set one.

The release steps are in Deployment#publish.

Plugin directory

Anthropic's plugin directory is the catalog plugins can be submitted to. claude plugin validate plugins/<name> prints its checks as advice; --profile directory makes them fail. Every augur plugin SHOULD pass them, so a submission is possible later:

  • README, at least 40 words, saying what the plugin does, how to use it, and any setup. A README in the plugin folder is the listing summary when plugin.json has no description. The repo-root README also counts.
  • License: license in plugin.json, or a LICENSE file. The repo-root LICENSE counts.
  • Icon: a square PNG or JPEG, 512 to 2048 px per side, under 2 MB, at .claude-plugin/icon.png or set by icon. SVG and WebP are refused. The listing takes the icon only the first time the plugin is saved or submitted in the developer portal, so it MUST be final before then.

The directory also runs a safety scan and a policy review that the validator does not.

Clone this wiki locally