mvp24hours-dotnet-mcp 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/CONTRIBUTING.md +217 -0
  2. package/LICENSE +21 -0
  3. package/README.md +221 -0
  4. package/dist/index.d.ts +10 -0
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/index.js +1454 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/tools/ai-implementation.d.ts +28 -0
  9. package/dist/tools/ai-implementation.d.ts.map +1 -0
  10. package/dist/tools/ai-implementation.js +1251 -0
  11. package/dist/tools/ai-implementation.js.map +1 -0
  12. package/dist/tools/architecture-advisor.d.ts +42 -0
  13. package/dist/tools/architecture-advisor.d.ts.map +1 -0
  14. package/dist/tools/architecture-advisor.js +442 -0
  15. package/dist/tools/architecture-advisor.js.map +1 -0
  16. package/dist/tools/containerization-patterns.d.ts +18 -0
  17. package/dist/tools/containerization-patterns.d.ts.map +1 -0
  18. package/dist/tools/containerization-patterns.js +819 -0
  19. package/dist/tools/containerization-patterns.js.map +1 -0
  20. package/dist/tools/core-patterns.d.ts +18 -0
  21. package/dist/tools/core-patterns.d.ts.map +1 -0
  22. package/dist/tools/core-patterns.js +1039 -0
  23. package/dist/tools/core-patterns.js.map +1 -0
  24. package/dist/tools/cqrs-guide.d.ts +18 -0
  25. package/dist/tools/cqrs-guide.d.ts.map +1 -0
  26. package/dist/tools/cqrs-guide.js +2777 -0
  27. package/dist/tools/cqrs-guide.js.map +1 -0
  28. package/dist/tools/database-advisor.d.ts +39 -0
  29. package/dist/tools/database-advisor.d.ts.map +1 -0
  30. package/dist/tools/database-advisor.js +598 -0
  31. package/dist/tools/database-advisor.js.map +1 -0
  32. package/dist/tools/get-started.d.ts +20 -0
  33. package/dist/tools/get-started.d.ts.map +1 -0
  34. package/dist/tools/get-started.js +254 -0
  35. package/dist/tools/get-started.js.map +1 -0
  36. package/dist/tools/get-template.d.ts +17 -0
  37. package/dist/tools/get-template.d.ts.map +1 -0
  38. package/dist/tools/get-template.js +605 -0
  39. package/dist/tools/get-template.js.map +1 -0
  40. package/dist/tools/infrastructure-guide.d.ts +18 -0
  41. package/dist/tools/infrastructure-guide.d.ts.map +1 -0
  42. package/dist/tools/infrastructure-guide.js +1078 -0
  43. package/dist/tools/infrastructure-guide.js.map +1 -0
  44. package/dist/tools/messaging-patterns.d.ts +18 -0
  45. package/dist/tools/messaging-patterns.d.ts.map +1 -0
  46. package/dist/tools/messaging-patterns.js +718 -0
  47. package/dist/tools/messaging-patterns.js.map +1 -0
  48. package/dist/tools/modernization-guide.d.ts +23 -0
  49. package/dist/tools/modernization-guide.d.ts.map +1 -0
  50. package/dist/tools/modernization-guide.js +1072 -0
  51. package/dist/tools/modernization-guide.js.map +1 -0
  52. package/dist/tools/observability-setup.d.ts +23 -0
  53. package/dist/tools/observability-setup.d.ts.map +1 -0
  54. package/dist/tools/observability-setup.js +592 -0
  55. package/dist/tools/observability-setup.js.map +1 -0
  56. package/dist/tools/reference-guide.d.ts +18 -0
  57. package/dist/tools/reference-guide.d.ts.map +1 -0
  58. package/dist/tools/reference-guide.js +890 -0
  59. package/dist/tools/reference-guide.js.map +1 -0
  60. package/dist/tools/security-patterns.d.ts +18 -0
  61. package/dist/tools/security-patterns.d.ts.map +1 -0
  62. package/dist/tools/security-patterns.js +898 -0
  63. package/dist/tools/security-patterns.js.map +1 -0
  64. package/dist/tools/testing-patterns.d.ts +18 -0
  65. package/dist/tools/testing-patterns.d.ts.map +1 -0
  66. package/dist/tools/testing-patterns.js +1151 -0
  67. package/dist/tools/testing-patterns.js.map +1 -0
  68. package/dist/utils/doc-loader.d.ts +28 -0
  69. package/dist/utils/doc-loader.d.ts.map +1 -0
  70. package/dist/utils/doc-loader.js +88 -0
  71. package/dist/utils/doc-loader.js.map +1 -0
  72. package/docs/ai-context/ai-decision-matrix.md +216 -0
  73. package/docs/ai-context/ai-implementation-index.md +333 -0
  74. package/docs/ai-context/api-versioning-patterns.md +597 -0
  75. package/docs/ai-context/architecture-templates.md +794 -0
  76. package/docs/ai-context/containerization-patterns.md +633 -0
  77. package/docs/ai-context/database-patterns.md +575 -0
  78. package/docs/ai-context/decision-matrix.md +329 -0
  79. package/docs/ai-context/error-handling-patterns.md +727 -0
  80. package/docs/ai-context/home.md +298 -0
  81. package/docs/ai-context/messaging-patterns.md +547 -0
  82. package/docs/ai-context/modernization-patterns.md +756 -0
  83. package/docs/ai-context/observability-patterns.md +594 -0
  84. package/docs/ai-context/project-structure.md +264 -0
  85. package/docs/ai-context/security-patterns.md +662 -0
  86. package/docs/ai-context/structure-complex-nlayers.md +982 -0
  87. package/docs/ai-context/structure-minimal-api.md +668 -0
  88. package/docs/ai-context/structure-simple-nlayers.md +754 -0
  89. package/docs/ai-context/template-agent-framework-basic.md +1159 -0
  90. package/docs/ai-context/template-agent-framework-middleware.md +519 -0
  91. package/docs/ai-context/template-agent-framework-multi-agent.md +1187 -0
  92. package/docs/ai-context/template-agent-framework-workflows.md +1234 -0
  93. package/docs/ai-context/template-clean-architecture.md +858 -0
  94. package/docs/ai-context/template-cqrs.md +938 -0
  95. package/docs/ai-context/template-ddd.md +1053 -0
  96. package/docs/ai-context/template-event-driven.md +884 -0
  97. package/docs/ai-context/template-hexagonal.md +922 -0
  98. package/docs/ai-context/template-microservices.md +788 -0
  99. package/docs/ai-context/template-sk-chat-completion.md +816 -0
  100. package/docs/ai-context/template-sk-planners.md +859 -0
  101. package/docs/ai-context/template-sk-plugins.md +793 -0
  102. package/docs/ai-context/template-sk-rag-basic.md +890 -0
  103. package/docs/ai-context/template-skg-chain-of-thought.md +981 -0
  104. package/docs/ai-context/template-skg-chatbot-memory.md +785 -0
  105. package/docs/ai-context/template-skg-checkpointing.md +1314 -0
  106. package/docs/ai-context/template-skg-document-pipeline.md +1110 -0
  107. package/docs/ai-context/template-skg-graph-executor.md +777 -0
  108. package/docs/ai-context/template-skg-human-in-loop.md +1179 -0
  109. package/docs/ai-context/template-skg-multi-agent.md +901 -0
  110. package/docs/ai-context/template-skg-observability.md +1020 -0
  111. package/docs/ai-context/template-skg-react-agent.md +742 -0
  112. package/docs/ai-context/template-skg-streaming.md +930 -0
  113. package/docs/ai-context/testing-patterns.md +715 -0
  114. package/docs/application-services.md +883 -0
  115. package/docs/broker-advanced.md +738 -0
  116. package/docs/broker.md +188 -0
  117. package/docs/caching-advanced.md +666 -0
  118. package/docs/core/entity-interfaces.md +412 -0
  119. package/docs/core/exceptions.md +439 -0
  120. package/docs/core/functional-patterns.md +382 -0
  121. package/docs/core/guard-clauses.md +385 -0
  122. package/docs/core/home.md +109 -0
  123. package/docs/core/infrastructure-abstractions.md +386 -0
  124. package/docs/core/smart-enums.md +327 -0
  125. package/docs/core/strongly-typed-ids.md +352 -0
  126. package/docs/core/value-objects.md +356 -0
  127. package/docs/cqrs/api-reference.md +433 -0
  128. package/docs/cqrs/behaviors.md +215 -0
  129. package/docs/cqrs/best-practices.md +300 -0
  130. package/docs/cqrs/commands.md +267 -0
  131. package/docs/cqrs/concepts-comparison.md +208 -0
  132. package/docs/cqrs/domain-events.md +244 -0
  133. package/docs/cqrs/event-sourcing/aggregate.md +303 -0
  134. package/docs/cqrs/event-sourcing/event-store.md +292 -0
  135. package/docs/cqrs/event-sourcing/home.md +182 -0
  136. package/docs/cqrs/event-sourcing/projections.md +312 -0
  137. package/docs/cqrs/event-sourcing/snapshots.md +316 -0
  138. package/docs/cqrs/extensibility.md +473 -0
  139. package/docs/cqrs/getting-started.md +163 -0
  140. package/docs/cqrs/home.md +81 -0
  141. package/docs/cqrs/integration-caching.md +238 -0
  142. package/docs/cqrs/integration-events.md +257 -0
  143. package/docs/cqrs/integration-rabbitmq.md +304 -0
  144. package/docs/cqrs/integration-repository.md +235 -0
  145. package/docs/cqrs/integration-unitofwork.md +224 -0
  146. package/docs/cqrs/mediator.md +232 -0
  147. package/docs/cqrs/migration-mediatr.md +304 -0
  148. package/docs/cqrs/multi-tenancy.md +473 -0
  149. package/docs/cqrs/notifications.md +234 -0
  150. package/docs/cqrs/observability/audit.md +300 -0
  151. package/docs/cqrs/observability/telemetry.md +290 -0
  152. package/docs/cqrs/observability/tracing.md +284 -0
  153. package/docs/cqrs/queries.md +263 -0
  154. package/docs/cqrs/resilience/circuit-breaker.md +341 -0
  155. package/docs/cqrs/resilience/idempotency.md +200 -0
  156. package/docs/cqrs/resilience/inbox-outbox.md +450 -0
  157. package/docs/cqrs/resilience/retry.md +238 -0
  158. package/docs/cqrs/saga/compensation.md +311 -0
  159. package/docs/cqrs/saga/home.md +199 -0
  160. package/docs/cqrs/saga/implementation.md +422 -0
  161. package/docs/cqrs/scheduled-commands.md +537 -0
  162. package/docs/cqrs/specifications.md +580 -0
  163. package/docs/cqrs/validation-behavior.md +287 -0
  164. package/docs/cronjob-advanced.md +921 -0
  165. package/docs/cronjob-observability.md +369 -0
  166. package/docs/cronjob-resilience.md +378 -0
  167. package/docs/cronjob.md +343 -0
  168. package/docs/database/efcore-advanced.md +765 -0
  169. package/docs/database/mongodb-advanced.md +716 -0
  170. package/docs/database/nosql.md +226 -0
  171. package/docs/database/relational.md +145 -0
  172. package/docs/database/use-context.md +97 -0
  173. package/docs/database/use-entity.md +72 -0
  174. package/docs/database/use-repository.md +120 -0
  175. package/docs/database/use-service.md +58 -0
  176. package/docs/database/use-unitofwork.md +34 -0
  177. package/docs/documentation.md +186 -0
  178. package/docs/getting-started.md +163 -0
  179. package/docs/home.md +76 -0
  180. package/docs/index.md +175 -0
  181. package/docs/logging.md +301 -0
  182. package/docs/mapping.md +163 -0
  183. package/docs/migration.md +411 -0
  184. package/docs/modernization/aspire.md +393 -0
  185. package/docs/modernization/channels.md +440 -0
  186. package/docs/modernization/dotnet9-features.md +281 -0
  187. package/docs/modernization/generic-resilience.md +373 -0
  188. package/docs/modernization/http-resilience.md +250 -0
  189. package/docs/modernization/hybrid-cache.md +431 -0
  190. package/docs/modernization/keyed-services.md +383 -0
  191. package/docs/modernization/migration-guide.md +657 -0
  192. package/docs/modernization/minimal-apis.md +407 -0
  193. package/docs/modernization/native-openapi.md +426 -0
  194. package/docs/modernization/options-configuration.md +404 -0
  195. package/docs/modernization/output-caching.md +454 -0
  196. package/docs/modernization/periodic-timer.md +315 -0
  197. package/docs/modernization/problem-details.md +432 -0
  198. package/docs/modernization/rate-limiting.md +385 -0
  199. package/docs/modernization/source-generators.md +219 -0
  200. package/docs/modernization/time-provider.md +303 -0
  201. package/docs/observability/exporters.md +556 -0
  202. package/docs/observability/home.md +186 -0
  203. package/docs/observability/logging.md +589 -0
  204. package/docs/observability/metrics.md +504 -0
  205. package/docs/observability/migration.md +337 -0
  206. package/docs/observability/tracing.md +453 -0
  207. package/docs/pipeline.md +383 -0
  208. package/docs/release.md +253 -0
  209. package/docs/specification.md +130 -0
  210. package/docs/telemetry.md +189 -0
  211. package/docs/validation.md +205 -0
  212. package/docs/webapi-advanced.md +1188 -0
  213. package/docs/webapi.md +401 -0
  214. package/package.json +68 -0
@@ -0,0 +1,217 @@
1
+ # Contributing to Mvp24Hours .NET MCP Server
2
+
3
+ First off, thank you for considering contributing to Mvp24Hours .NET MCP Server! 🎉
4
+
5
+ It's people like you that make this project such a great tool for the .NET community.
6
+
7
+ ## Table of Contents
8
+
9
+ - [Code of Conduct](#code-of-conduct)
10
+ - [How Can I Contribute?](#how-can-i-contribute)
11
+ - [Reporting Bugs](#reporting-bugs)
12
+ - [Suggesting Enhancements](#suggesting-enhancements)
13
+ - [Your First Code Contribution](#your-first-code-contribution)
14
+ - [Pull Requests](#pull-requests)
15
+ - [Development Setup](#development-setup)
16
+ - [Style Guidelines](#style-guidelines)
17
+ - [Community](#community)
18
+
19
+ ## Code of Conduct
20
+
21
+ This project and everyone participating in it is governed by our [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [kallebelins@gmail.com](mailto:kallebelins@gmail.com).
22
+
23
+ ## How Can I Contribute?
24
+
25
+ ### Reporting Bugs
26
+
27
+ Before creating bug reports, please check the existing issues to avoid duplicates. When you create a bug report, include as many details as possible:
28
+
29
+ - **Use a clear and descriptive title**
30
+ - **Describe the exact steps to reproduce the problem**
31
+ - **Provide specific examples** (code snippets, configuration files)
32
+ - **Describe the behavior you observed and what you expected**
33
+ - **Include your environment details** (Node.js version, OS, etc.)
34
+
35
+ ### Suggesting Enhancements
36
+
37
+ Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion:
38
+
39
+ - **Use a clear and descriptive title**
40
+ - **Provide a detailed description of the proposed enhancement**
41
+ - **Explain why this enhancement would be useful**
42
+ - **Include examples of how the feature would be used**
43
+
44
+ ### Your First Code Contribution
45
+
46
+ Unsure where to begin? Look for issues labeled:
47
+
48
+ - `good first issue` - Simple issues perfect for newcomers
49
+ - `help wanted` - Issues that need community help
50
+ - `documentation` - Documentation improvements
51
+
52
+ ### Pull Requests
53
+
54
+ 1. **Fork the repository** and create your branch from `main`
55
+ 2. **Follow the setup instructions** below
56
+ 3. **Make your changes** following our style guidelines
57
+ 4. **Add tests** if applicable
58
+ 5. **Update documentation** if needed
59
+ 6. **Submit your pull request**
60
+
61
+ #### Pull Request Checklist
62
+
63
+ - [ ] Code follows the project's style guidelines
64
+ - [ ] Self-review completed
65
+ - [ ] Documentation updated (if applicable)
66
+ - [ ] Tests added/updated (if applicable)
67
+ - [ ] All tests pass
68
+ - [ ] No new warnings
69
+
70
+ ## Development Setup
71
+
72
+ ### Prerequisites
73
+
74
+ - Node.js 18.0.0 or higher
75
+ - npm or yarn
76
+
77
+ ### Installation
78
+
79
+ ```bash
80
+ # Clone your fork
81
+ git clone https://github.com/YOUR-USERNAME/mvp24hours-dotnet-mcp.git
82
+ cd mvp24hours-dotnet-mcp
83
+
84
+ # Install dependencies
85
+ npm install
86
+
87
+ # Build the project
88
+ npm run build
89
+
90
+ # Start development mode (watch for changes)
91
+ npm run dev
92
+ ```
93
+
94
+ ### Testing Your Changes
95
+
96
+ ```bash
97
+ # Build and test locally
98
+ npm run build
99
+ node dist/index.js
100
+ ```
101
+
102
+ ### Project Structure
103
+
104
+ ```
105
+ src/
106
+ ├── index.ts # MCP Server entry point
107
+ ├── tools/ # MCP tools implementation
108
+ │ ├── get-started.ts # Framework overview
109
+ │ ├── architecture-advisor.ts # Architecture selection
110
+ │ ├── database-advisor.ts # Database configuration
111
+ │ └── ... # Other tools
112
+ └── utils/
113
+ └── doc-loader.ts # Documentation loader
114
+
115
+ docs/ # Documentation files
116
+ ├── ai-context/ # AI context documentation
117
+ ├── modernization/ # Modernization guides
118
+ └── ... # Other docs
119
+ ```
120
+
121
+ ## Style Guidelines
122
+
123
+ ### TypeScript
124
+
125
+ - Use TypeScript strict mode
126
+ - Prefer `const` over `let`
127
+ - Use meaningful variable and function names
128
+ - Add JSDoc comments for public functions
129
+ - Keep functions small and focused
130
+
131
+ ### Commits
132
+
133
+ We follow [Conventional Commits](https://www.conventionalcommits.org/):
134
+
135
+ ```
136
+ <type>(<scope>): <description>
137
+
138
+ [optional body]
139
+
140
+ [optional footer(s)]
141
+ ```
142
+
143
+ Types:
144
+ - `feat`: New feature
145
+ - `fix`: Bug fix
146
+ - `docs`: Documentation changes
147
+ - `style`: Code style changes (formatting, etc.)
148
+ - `refactor`: Code refactoring
149
+ - `test`: Adding or updating tests
150
+ - `chore`: Maintenance tasks
151
+
152
+ Examples:
153
+ ```
154
+ feat(tools): add security-patterns tool
155
+ fix(database-advisor): correct PostgreSQL configuration
156
+ docs: update README with new tools
157
+ ```
158
+
159
+ ### Documentation
160
+
161
+ - Use clear, concise language
162
+ - Include code examples where helpful
163
+ - Keep documentation up-to-date with code changes
164
+ - Use Markdown formatting consistently
165
+
166
+ ## Adding New Tools
167
+
168
+ When adding a new MCP tool:
169
+
170
+ 1. Create a new file in `src/tools/`
171
+ 2. Follow the existing tool pattern
172
+ 3. Register the tool in `src/index.ts`
173
+ 4. Add corresponding documentation in `docs/`
174
+ 5. Update the README.md with the new tool
175
+
176
+ Example tool structure:
177
+
178
+ ```typescript
179
+ import { z } from 'zod';
180
+
181
+ export const myNewToolSchema = z.object({
182
+ parameter: z.string().describe('Parameter description'),
183
+ });
184
+
185
+ export async function myNewTool(args: z.infer<typeof myNewToolSchema>) {
186
+ // Implementation
187
+ return {
188
+ content: [
189
+ {
190
+ type: 'text',
191
+ text: '...',
192
+ },
193
+ ],
194
+ };
195
+ }
196
+ ```
197
+
198
+ ## Community
199
+
200
+ - **GitHub Discussions**: Ask questions, share ideas
201
+ - **Issues**: Report bugs, request features
202
+ - **Pull Requests**: Contribute code
203
+
204
+ ### Related Projects
205
+
206
+ - [Mvp24Hours .NET Framework](https://github.com/kallebelins/mvp24hours-dotnet)
207
+ - [Mvp24Hours .NET Samples](https://github.com/kallebelins/mvp24hours-dotnet-samples)
208
+ - [Semantic Kernel Graph](https://github.com/kallebelins/semantic-kernel-graph)
209
+
210
+ ## Recognition
211
+
212
+ Contributors will be recognized in:
213
+ - The project's README
214
+ - Release notes
215
+ - Our community page
216
+
217
+ Thank you for contributing! 🙏
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Kallebe Lins
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,221 @@
1
+ # Mvp24Hours .NET MCP Server
2
+
3
+ > Intelligent documentation routing for AI agents working with the Mvp24Hours .NET framework.
4
+
5
+ ## Problem Solved
6
+
7
+ The Mvp24Hours framework has extensive documentation covering:
8
+ - Multiple architecture templates (Minimal API, N-Layers, CQRS, DDD, Microservices, etc.)
9
+ - Multiple database options (SQL Server, PostgreSQL, MongoDB, Redis)
10
+ - AI implementation approaches (Semantic Kernel, SK Graph, Agent Framework)
11
+ - .NET 9 modernization patterns
12
+ - CQRS/Mediator patterns
13
+ - Observability and messaging
14
+
15
+ **The problem**: Loading all documentation at once overwhelms AI agents, causing them to lose context or provide incomplete answers.
16
+
17
+ **The solution**: This MCP server provides specialized tools that act as "intelligent routers", returning only the relevant documentation based on specific queries.
18
+
19
+ ## Installation
20
+
21
+ ### From NPM (Recommended)
22
+
23
+ ```bash
24
+ npm install -g @mvp24hours/dotnet-mcp
25
+ ```
26
+
27
+ ### From Source
28
+
29
+ ```bash
30
+ git clone https://github.com/kallebelins/mvp24hours-dotnet-mcp
31
+ cd mvp24hours-dotnet-mcp
32
+ npm install
33
+ npm run build
34
+ ```
35
+
36
+ ## Configuration
37
+
38
+ ### Cursor IDE
39
+
40
+ Add to your `~/.cursor/mcp.json`:
41
+
42
+ ```json
43
+ {
44
+ "mcpServers": {
45
+ "mvp24hours-dotnet": {
46
+ "command": "npx",
47
+ "args": ["@mvp24hours/dotnet-mcp"]
48
+ }
49
+ }
50
+ }
51
+ ```
52
+
53
+ Or if installed from source:
54
+
55
+ ```json
56
+ {
57
+ "mcpServers": {
58
+ "mvp24hours-dotnet": {
59
+ "command": "node",
60
+ "args": ["path/to/mvp24hours-dotnet-mcp/dist/index.js"]
61
+ }
62
+ }
63
+ }
64
+ ```
65
+
66
+ ### Claude Desktop
67
+
68
+ Add to your Claude Desktop config:
69
+
70
+ ```json
71
+ {
72
+ "mcpServers": {
73
+ "mvp24hours-dotnet": {
74
+ "command": "npx",
75
+ "args": ["@mvp24hours/dotnet-mcp"]
76
+ }
77
+ }
78
+ }
79
+ ```
80
+
81
+ ## Available Tools
82
+
83
+ | Tool | Purpose |
84
+ |------|---------|
85
+ | `mvp24h_get_started` | Framework overview and quick start |
86
+ | `mvp24h_architecture_advisor` | Recommends architecture based on requirements |
87
+ | `mvp24h_database_advisor` | Recommends database and patterns |
88
+ | `mvp24h_cqrs_guide` | CQRS/Mediator documentation |
89
+ | `mvp24h_ai_implementation` | AI approach selection (SK, SKG, Agent Framework) |
90
+ | `mvp24h_modernization_guide` | .NET 9 features and patterns |
91
+ | `mvp24h_observability_setup` | OpenTelemetry configuration |
92
+ | `mvp24h_messaging_patterns` | Async messaging (RabbitMQ, Channels) |
93
+ | `mvp24h_core_patterns` | Core module (Guard Clauses, Value Objects, etc.) |
94
+ | `mvp24h_infrastructure_guide` | Pipeline, Caching, WebAPI, CronJob |
95
+ | `mvp24h_reference_guide` | Mapping, Validation, Specification, Migration |
96
+ | `mvp24h_get_template` | Retrieves specific template code |
97
+
98
+ ## Usage Examples
99
+
100
+ ### Getting Started
101
+
102
+ ```
103
+ User: I want to create a .NET project with Mvp24Hours
104
+
105
+ AI calls: mvp24h_get_started({ focus: "overview" })
106
+ → Returns: Framework overview, quick reference, and next steps
107
+ ```
108
+
109
+ ### Choosing Architecture
110
+
111
+ ```
112
+ User: I need to create an enterprise app with complex business rules
113
+
114
+ AI calls: mvp24h_architecture_advisor({
115
+ complexity: "high",
116
+ business_rules: "complex",
117
+ team_size: "large"
118
+ })
119
+ → Returns: Clean Architecture recommendation with project structure
120
+ ```
121
+
122
+ ### Database Configuration
123
+
124
+ ```
125
+ User: I need to use PostgreSQL with transactions
126
+
127
+ AI calls: mvp24h_database_advisor({
128
+ provider: "postgresql",
129
+ requirements: ["transactions", "complex-queries"]
130
+ })
131
+ → Returns: PostgreSQL setup, EF Core config, Unit of Work pattern
132
+ ```
133
+
134
+ ### AI Implementation
135
+
136
+ ```
137
+ User: I want to add a chatbot to my app
138
+
139
+ AI calls: mvp24h_ai_implementation({ use_case: "chatbot" })
140
+ → Returns: Semantic Kernel Chat Completion template
141
+ ```
142
+
143
+ ### Getting Specific Template
144
+
145
+ ```
146
+ User: Show me the CQRS template
147
+
148
+ AI calls: mvp24h_get_template({ template_name: "cqrs" })
149
+ → Returns: Complete CQRS project structure and code
150
+ ```
151
+
152
+ ## Tool Flow
153
+
154
+ ```
155
+ ┌─────────────────────────────────────────────────────────────────┐
156
+ │ User Request │
157
+ └─────────────────────────────┬───────────────────────────────────┘
158
+
159
+
160
+ ┌─────────────────────────────────────────────────────────────────┐
161
+ │ mvp24h_get_started │
162
+ │ (Overview & Direction) │
163
+ └─────────────────────────────┬───────────────────────────────────┘
164
+
165
+ ┌────────────────────┼────────────────────┐
166
+ │ │ │
167
+ ▼ ▼ ▼
168
+ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
169
+ │ architecture │ │ database │ │ ai │
170
+ │ advisor │ │ advisor │ │ implementation │
171
+ └────────┬────────┘ └────────┬────────┘ └────────┬────────┘
172
+ │ │ │
173
+ └────────────────────┼────────────────────┘
174
+
175
+
176
+ ┌─────────────────────────────────────────────────────────────────┐
177
+ │ mvp24h_get_template │
178
+ │ (Specific Code) │
179
+ └─────────────────────────────────────────────────────────────────┘
180
+ ```
181
+
182
+ ## Architecture
183
+
184
+ ```
185
+ src/
186
+ ├── index.ts # MCP Server entry point
187
+ ├── tools/
188
+ │ ├── get-started.ts # Framework overview
189
+ │ ├── architecture-advisor.ts # Architecture selection
190
+ │ ├── database-advisor.ts # Database configuration
191
+ │ ├── cqrs-guide.ts # CQRS/Mediator patterns
192
+ │ ├── ai-implementation.ts # AI approach selection
193
+ │ ├── modernization-guide.ts # .NET 9 features
194
+ │ ├── observability-setup.ts # Telemetry configuration
195
+ │ ├── messaging-patterns.ts # Async messaging
196
+ │ ├── core-patterns.ts # Core module patterns
197
+ │ ├── infrastructure-guide.ts # Pipeline, WebAPI, CronJob
198
+ │ ├── reference-guide.ts # Mapping, Validation, Specification
199
+ │ └── get-template.ts # Template retrieval
200
+ └── utils/
201
+ └── doc-loader.ts # Documentation loader
202
+ ```
203
+
204
+ ## Why Multiple Tools?
205
+
206
+ Instead of one large tool that dumps all documentation, specialized tools:
207
+
208
+ 1. **Reduce context size**: Each tool returns only relevant content
209
+ 2. **Improve accuracy**: Focused responses are more precise
210
+ 3. **Enable decision trees**: Tools can recommend other tools
211
+ 4. **Support iteration**: Users can drill down progressively
212
+
213
+ ## Related Projects
214
+
215
+ - [Mvp24Hours .NET Framework](https://github.com/kallebelins/mvp24hours-dotnet)
216
+ - [Mvp24Hours .NET Samples](https://github.com/kallebelins/mvp24hours-dotnet-samples)
217
+ - [Semantic Kernel Graph](https://github.com/kallebelins/semantic-kernel-graph)
218
+
219
+ ## License
220
+
221
+ MIT License - See [LICENSE](LICENSE) for details.
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Mvp24Hours .NET MCP Server
4
+ *
5
+ * This MCP server provides intelligent documentation routing for AI agents
6
+ * working with the Mvp24Hours .NET framework. Instead of loading all documentation
7
+ * at once, it provides specialized tools that return only relevant content.
8
+ */
9
+ export {};
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;;GAMG"}