Skip to content

Commit 9fedfd8

Browse files
authored
Merge pull request #24 from umbraco/feature/tooling-additions
Add comprehensive Umbraco MCP tooling for multiple endpoint groups
2 parents 808402b + 79dfb05 commit 9fedfd8

File tree

289 files changed

+12400
-1021
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+12400
-1021
lines changed

β€Ž.claude/agents/endpoint-group-planner.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: endpoint-group-planner
3-
description: Proactively use this agent to find existing similar endpoint groups that can be used as copy templates for new Umbraco Management API endpoint implementations for testing including builders and helpers. This agent identifies the best existing patterns to replicate.\n\nExamples:\n- <example>\n Context: User wants to implement tools for a new API endpoint group\n user: "I need to implement Segment endpoint tools - what similar existing endpoints should I copy from?"\n assistant: "I'll use the endpoint-group-planner agent to find the most similar existing implementations to use as templates"\n <commentary>\n The user needs to find existing patterns to copy from, so use the endpoint-group-planner to identify similar implementations.\n </commentary>\n</example>\n- <example>\n Context: User is starting work on a new endpoint group and needs reference implementations\n user: "What existing endpoint groups are most similar to Webhook management that I can copy from?"\n assistant: "Let me use the endpoint-group-planner to find the closest existing implementations to use as templates"\n <commentary>\n User needs reference implementations to copy from, perfect use case for finding similar patterns.\n </commentary>\n</example>
3+
description: Proactively use this agent to find existing similar endpoint groups that can be used as copy templates for new Umbraco Management API endpoint implementations for testing including builders and helpers. This agent identifies the best existing patterns to replicate. It can also be used for incomplete endpoint groups to help plan completion by understanding other similar endpoints in other groups.\n\nExamples:\n- <example>\n Context: User wants to implement tools for a new API endpoint group\n user: "I need to implement Segment endpoint tools - what similar existing endpoints should I copy from?"\n assistant: "I'll use the endpoint-group-planner agent to find the most similar existing implementations to use as templates"\n <commentary>\n The user needs to find existing patterns to copy from, so use the endpoint-group-planner to identify similar implementations.\n </commentary>\n</example>\n- <example>\n Context: User is starting work on a new endpoint group and needs reference implementations\n user: "What existing endpoint groups are most similar to Webhook management that I can copy from?"\n assistant: "Let me use the endpoint-group-planner to find the closest existing implementations to use as templates"\n <commentary>\n User needs reference implementations to copy from, perfect use case for finding similar patterns.\n </commentary>\n</example>\n- <example>\n Context: User wants to complete missing endpoints in a partially implemented group\n user: "I need to complete the remaining 3 Media endpoints to reach 100% coverage"\n assistant: "I'll use the endpoint-group-planner to analyze what's missing and find similar implementations to copy from"\n <commentary>\n User needs gap analysis and completion planning for existing group, perfect use case for identifying missing endpoints and finding copy templates.\n </commentary>\n</example>
44
tools: Glob, Grep, Read, Edit, MultiEdit, Write, NotebookEdit, BashOutput, KillBash
55
model: sonnet
66
color: yellow
@@ -9,7 +9,7 @@ color: yellow
99
You are a pattern-matching expert who finds the best existing endpoint group implementations to use as copy templates for new Umbraco Management API endpoints.
1010

1111
**Primary Goal:**
12-
Find existing similar endpoint groups that can be directly copied and adapted for new implementations.
12+
Find existing similar endpoint groups that can be directly copied and adapted for new implementations, or analyze gaps in partially implemented groups and plan their completion.
1313

1414
**Core Process:**
1515
1. **Analyze the Target**: Understand the new endpoint group's characteristics (CRUD operations, hierarchical structure, search capabilities, etc.)
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# /analyze-coverage
2+
3+
Regenerates the Umbraco MCP endpoint coverage analysis report by comparing implemented tools against the full API endpoint list.
4+
5+
## Usage
6+
```
7+
/analyze-coverage
8+
```
9+
10+
## Description
11+
This command analyzes the current state of MCP tool implementation and generates a comprehensive coverage report showing:
12+
- Overall coverage statistics
13+
- Coverage breakdown by API group
14+
- Missing endpoints for each group
15+
- Priority recommendations for implementation
16+
- Quick wins (nearly complete sections)
17+
18+
## Steps Performed
19+
1. **Regenerate API endpoint list** from the Orval-generated Umbraco client
20+
- Parse `src/api/umbraco/client.ts` to extract all API methods
21+
- Group endpoints by API category/tag from the OpenAPI spec
22+
- Update `docs/analysis/api-endpoints-analysis.md` with the complete endpoint list
23+
2. Scan all implemented MCP tools in `src/umb-management-api/tools/`
24+
3. Match implemented tools against API endpoints
25+
4. Calculate coverage percentages per API group
26+
5. Generate formatted report with statistics and recommendations
27+
6. Save report to `docs/analysis/UNSUPPORTED_ENDPOINTS.md`
28+
29+
## Output
30+
The command updates the `UNSUPPORTED_ENDPOINTS.md` file with:
31+
- Total endpoint count and coverage percentage
32+
- Alphabetically organized API groups with coverage status
33+
- List of missing endpoints for incomplete groups
34+
- Priority recommendations for implementation
35+
- Quick wins section highlighting nearly complete groups
36+
37+
## Example Output
38+
```
39+
πŸ” Analyzing Umbraco MCP endpoint coverage...
40+
πŸ“– Parsing API endpoints from documentation...
41+
Found 37 API groups
42+
πŸ”§ Scanning implemented MCP tools...
43+
Found 269 implementations
44+
πŸ“Š Calculating coverage statistics...
45+
πŸ“ Generating coverage report...
46+
βœ… Coverage report generated successfully!
47+
Output: docs/analysis/UNSUPPORTED_ENDPOINTS.md
48+
49+
πŸ“ˆ Summary:
50+
Total Endpoints: 393
51+
Implemented: 269
52+
Coverage: 68%
53+
Missing: 124
54+
```
55+
56+
## Notes
57+
- The command uses the `api-endpoints-analysis.md` as the source of truth for available endpoints
58+
- Coverage is calculated by matching tool implementations against endpoint names
59+
- The report is organized alphabetically by API group for easy navigation
60+
- Status indicators: βœ… Complete (100%), ⚠️ Nearly Complete (80%+), ❌ Not Implemented (0%)

0 commit comments

Comments
Β (0)