Commit a39f72c
feat: support proposed spec frontmatter in skill discovery
Parse both frontmatter formats for skill tool declarations:
- Proposed: metadata.io.modelcontextprotocol/tools (space-separated)
- Current: allowed-tools (YAML array)
Prefers the proposed format when both are present. This enables
mcpi-ext to work with servers adopting the skills-as-groups proposal
(github/github-mcp-server#2465) while maintaining backward compat
with the current allowed-tools format.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a40af58 commit a39f72c
1 file changed
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
79 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
80 | 99 | | |
81 | 100 | | |
0 commit comments