Skip to content

MCP: 'Remove Help' resources for config volumes/labels/envs invoke wrong command #3711

Closed

Description

@xenonnn4w

Description

In pkg/mcp/mcp.go (lines 125, 129, 133), the "Remove Help" resources for config volumes/labels/envs remove are registered with "list" instead of "config" as the first command segment:

newHelpResource(s, "Volumes Remove Help", "help for 'config volumes remove'", "list",
"volumes", "remove")
newHelpResource(s, "Labels Remove Help",  "help for 'config labels remove'",  "list",
"labels",  "remove")
newHelpResource(s, "Envs Remove Help",    "help for 'config envs remove'",    "list",
"envs",    "remove")

newHelpResource passes these args to the func CLI with --help, so reading the resource runs func list volumes remove --help (and similar) not valid commands. The actualcommands live under func config ....

Impact

MCP clients requesting these three help resources get a CLI error instead of help text. Resource URIs are also wrong (func://help/list/... vs the intended func://help/config/...).

Activity

  1. thonmay commented on May 15, 2026

    @thonmay

    Hi, I'd like to work on this. I've been exploring the MCP server codebase and have a few PRs open already (#3736, #3737, #3738, #3739). Happy to fix the wrong help resource URIs for config volumes/labels/envs remove commands. Let me know if this is free to pick up.

  2. thonmay commented on May 15, 2026

    @thonmay

    /assign

  3. moved this from Planning to Done in Functions Traigeon Jun 2, 2026
  4. closed this as completedby moving to Done in Functions Traigeon Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions