From f2077bec69d54d810219e00bebe88483f2eac30d Mon Sep 17 00:00:00 2001 From: Claude Code Date: Sun, 26 Apr 2026 00:39:45 +0000 Subject: [PATCH] fix(commands): add missing name and allowed-tools frontmatter to docs command The docs command frontmatter was missing the required `name` field and the `allowed-tools` declaration for the MCP tools it calls (`resolve-library-id` and `query-docs`). Without `name`, command registration may fail in strict plugin systems; without `allowed-tools`, hosts that enforce declared-tool allowlists will reject the MCP calls at runtime. Co-Authored-By: Claude Code --- plugins/claude/context7/commands/docs.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/claude/context7/commands/docs.md b/plugins/claude/context7/commands/docs.md index 8a2df781..fde20fd0 100644 --- a/plugins/claude/context7/commands/docs.md +++ b/plugins/claude/context7/commands/docs.md @@ -1,6 +1,8 @@ --- +name: docs description: Look up documentation for any library argument-hint: [query] +allowed-tools: [resolve-library-id, query-docs] --- # /context7:docs