Commit e405041
fix: MCP resource name should be the display name, not the description sentence
The manifest set each skill resource's `name` to `skill.name`, which is the
full description sentence. Clients that mint one tool per MCP resource derive
the tool name from `name`; the sentence-length names overflow Anthropic's
128-char tool-name limit, and one invalid name 400s the entire request — so an
agent connected in CLI mode makes zero tool calls (a no-op run).
Use the short `displayName` for the resource `name` instead. The agent-facing
skill-menu still carries the descriptive `skill.name` for skill selection, so
this only shortens the MCP resource name — no menu or selection change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent e0f5fb9 commit e405041
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
126 | 131 | | |
127 | | - | |
| 132 | + | |
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
| |||
0 commit comments