Skip to content

Commit 31dc6e9

Browse files
claude[bot]claude
andcommitted
fix(plugin): add missing name and allowed-tools to docs command frontmatter
Command was missing the required `name` field (needed for reliable plugin registration and /help discoverability) and the `allowed-tools` declaration for the MCP tools it calls (`resolve-library-id` and `query-docs`); hosts that enforce tool allowlists would silently reject those calls at runtime. Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent 5d284f2 commit 31dc6e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • plugins/claude/context7/commands

plugins/claude/context7/commands/docs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2+
name: docs
23
description: Look up documentation for any library
34
argument-hint: <library> [query]
5+
allowed-tools: mcp__context7__resolve-library-id, mcp__context7__query-docs
46
---
57

68
# /context7:docs

0 commit comments

Comments
 (0)