You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doc: document concepts tool and resource in readme
Add get_dotvvm_concept_docs tool, dotvvm://concepts resource, concept
data sources, and concepts.ts to the README, which previously covered
only the control tools.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+16-4Lines changed: 16 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,15 @@ Restart Claude Desktop after editing the config.
68
68
|------|-------------|
69
69
|`list_dotvvm_controls`| Lists all discovered controls. Accepts optional `category` or `prefix` filter. |
70
70
|`get_dotvvm_control_docs`| Returns composed Markdown docs for a control (description, HTML output, code samples, ViewModels). |
71
+
|`get_dotvvm_concept_docs`| Returns Markdown docs for a DotVVM framework concept page. Takes a `path` like `data-binding/value-binding` or `routing/overview`. |
72
+
73
+
## MCP resources
74
+
75
+
| Resource URI | Description |
76
+
|--------------|-------------|
77
+
|`dotvvm://concepts`| Index of all DotVVM concept documentation pages, grouped by category and subcategory. Read this to discover valid `path` values for `get_dotvvm_concept_docs`. |
78
+
79
+
Concept documentation covers framework topics such as data binding (value binding, resource binding, binding context), routing (parameters, localization, redirection), validation (client-side, extensibility), viewmodels (filters, protection, caching), control development (markup controls, code-only controls, properties), layout (master pages, SPA), security (authentication, authorization), localization, and diagnostics.
71
80
72
81
### Control naming
73
82
@@ -101,8 +110,9 @@ Cache TTL is **30 days**. To force a refresh, delete the relevant `.json` file o
101
110
102
111
```
103
112
src/
104
-
├── index.ts # MCP server entry point, tool definitions
113
+
├── index.ts # MCP server entry point, tool + resource definitions
105
114
├── controls.ts # Control discovery via GitHub API + prefix resolution
115
+
├── concepts.ts # Concept page discovery + index formatting
106
116
├── fetcher.ts # Raw content fetcher + Markdown composition
107
117
└── cache.ts # File-based disk cache (30-day TTL)
108
118
```
@@ -144,7 +154,9 @@ To point an MCP client at your local checkout instead of the published package:
-**Concept raw content:**`https://raw.githubusercontent.com/riganti/dotvvm-docs/4.0/Pages/concepts/{category}/{page}.md`
149
161
150
-
Each control directory may contain `control.md`, `output.md`, and `sample{N}/` subdirectories with `page.dothtml`, `ViewModel.cs`, and `sample.md`.
162
+
Each control directory may contain `control.md`, `output.md`, and `sample{N}/` subdirectories with `page.dothtml`, `ViewModel.cs`, and `sample.md`. Concept pages are `.md` files organized into categories and subcategories.
0 commit comments