@mcp-consultant-tools/powerplatform 33.0.0 → 34.0.0-beta.1

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 (69) hide show
  1. package/build/PowerPlatformService.d.ts +201 -0
  2. package/build/PowerPlatformService.js +305 -0
  3. package/build/PowerPlatformService.js.map +1 -0
  4. package/build/cli/commands/app-commands.d.ts +7 -0
  5. package/build/cli/commands/field-security-commands.d.ts +8 -0
  6. package/build/cli/commands/flow-commands.d.ts +7 -0
  7. package/build/cli/commands/form-commands.d.ts +7 -0
  8. package/build/cli/commands/index.d.ts +16 -0
  9. package/build/cli/commands/index.js +33 -0
  10. package/build/cli/commands/index.js.map +1 -0
  11. package/build/cli/commands/integration-commands.d.ts +7 -0
  12. package/build/cli/commands/metadata-commands.d.ts +7 -0
  13. package/build/cli/commands/plugin-commands.d.ts +7 -0
  14. package/build/cli/commands/security-commands.d.ts +7 -0
  15. package/build/cli/commands/solution-commands.d.ts +7 -0
  16. package/build/cli/output.d.ts +11 -0
  17. package/build/cli.d.ts +9 -0
  18. package/build/context-factory.d.ts +11 -0
  19. package/build/context-factory.js +39 -0
  20. package/build/context-factory.js.map +1 -0
  21. package/build/http-server.d.ts +3 -0
  22. package/build/index.d.ts +18 -0
  23. package/build/prompts/analysis-prompts.d.ts +3 -0
  24. package/build/prompts/analysis-prompts.js +286 -0
  25. package/build/prompts/analysis-prompts.js.map +1 -0
  26. package/build/prompts/entity-prompts.d.ts +3 -0
  27. package/build/prompts/entity-prompts.js +304 -0
  28. package/build/prompts/entity-prompts.js.map +1 -0
  29. package/build/prompts/index.d.ts +8 -0
  30. package/build/prompts/index.js +11 -0
  31. package/build/prompts/index.js.map +1 -0
  32. package/build/services/index.d.ts +5 -0
  33. package/build/services/index.js +5 -0
  34. package/build/services/index.js.map +1 -0
  35. package/build/tool-examples.d.ts +48 -0
  36. package/build/tools/app-tools.d.ts +3 -0
  37. package/build/tools/app-tools.js +127 -0
  38. package/build/tools/app-tools.js.map +1 -0
  39. package/build/tools/field-security-tools.d.ts +3 -0
  40. package/build/tools/field-security-tools.js +84 -0
  41. package/build/tools/field-security-tools.js.map +1 -0
  42. package/build/tools/flow-tools.d.ts +3 -0
  43. package/build/tools/flow-tools.js +374 -0
  44. package/build/tools/flow-tools.js.map +1 -0
  45. package/build/tools/form-view-tools.d.ts +3 -0
  46. package/build/tools/form-view-tools.js +162 -0
  47. package/build/tools/form-view-tools.js.map +1 -0
  48. package/build/tools/index.d.ts +14 -0
  49. package/build/tools/index.js +31 -0
  50. package/build/tools/index.js.map +1 -0
  51. package/build/tools/integration-tools.d.ts +3 -0
  52. package/build/tools/integration-tools.js +325 -0
  53. package/build/tools/integration-tools.js.map +1 -0
  54. package/build/tools/metadata-tools.d.ts +3 -0
  55. package/build/tools/metadata-tools.js +166 -0
  56. package/build/tools/metadata-tools.js.map +1 -0
  57. package/build/tools/plugin-tools.d.ts +3 -0
  58. package/build/tools/plugin-tools.js +138 -0
  59. package/build/tools/plugin-tools.js.map +1 -0
  60. package/build/tools/security-tools.d.ts +3 -0
  61. package/build/tools/security-tools.js +188 -0
  62. package/build/tools/security-tools.js.map +1 -0
  63. package/build/tools/solution-tools.d.ts +3 -0
  64. package/build/tools/solution-tools.js +318 -0
  65. package/build/tools/solution-tools.js.map +1 -0
  66. package/build/types.d.ts +9 -0
  67. package/build/types.js +2 -0
  68. package/build/types.js.map +1 -0
  69. package/package.json +2 -2
@@ -0,0 +1,318 @@
1
+ /**
2
+ * Solution Tools - 8 tools for solution management and validation
3
+ */
4
+ import { z } from 'zod';
5
+ import { descWithExamples, SOLUTION_NAME_EXAMPLES, ENTITY_NAME_EXAMPLES, COMPONENT_TYPE_EXAMPLES } from '../tool-examples.js';
6
+ export function registerSolutionTools(server, ctx) {
7
+ server.tool("get-publishers", "Get all solution publishers (excluding system publishers)", {}, async () => {
8
+ try {
9
+ const service = ctx.pp;
10
+ const result = await service.getPublishers();
11
+ const publishers = result.value || [];
12
+ return {
13
+ content: [
14
+ {
15
+ type: "text",
16
+ text: `Found ${publishers.length} publisher(s):\n\n` +
17
+ publishers.map((p) => `- ${p.friendlyname} (${p.uniquename})\n Prefix: ${p.customizationprefix}\n ID: ${p.publisherid}`).join('\n')
18
+ }
19
+ ]
20
+ };
21
+ }
22
+ catch (error) {
23
+ console.error("Error getting publishers:", error);
24
+ return {
25
+ content: [{ type: "text", text: `Failed to get publishers: ${error.message}` }],
26
+ isError: true
27
+ };
28
+ }
29
+ });
30
+ server.tool("get-solutions", "Get all visible solutions in the environment", {}, async () => {
31
+ try {
32
+ const service = ctx.pp;
33
+ const result = await service.getSolutions();
34
+ const solutions = result.value || [];
35
+ return {
36
+ content: [
37
+ {
38
+ type: "text",
39
+ text: `Found ${solutions.length} solution(s):\n\n` +
40
+ solutions.map((s) => `- ${s.friendlyname} (${s.uniquename})\n Version: ${s.version}\n ID: ${s.solutionid}`).join('\n')
41
+ }
42
+ ]
43
+ };
44
+ }
45
+ catch (error) {
46
+ console.error("Error getting solutions:", error);
47
+ return {
48
+ content: [{ type: "text", text: `Failed to get solutions: ${error.message}` }],
49
+ isError: true
50
+ };
51
+ }
52
+ });
53
+ server.tool("get-solution-components", "List all components in a solution, grouped by component type. Returns component IDs, types, and behavior settings.", {
54
+ solutionUniqueName: z.string().describe(descWithExamples("The unique name of the solution to list components for", SOLUTION_NAME_EXAMPLES)),
55
+ }, async ({ solutionUniqueName }) => {
56
+ try {
57
+ const service = ctx.pp;
58
+ const result = await service.getSolutionComponents(solutionUniqueName);
59
+ const components = result.value || [];
60
+ const componentTypeNames = {
61
+ 1: 'Entity', 2: 'Attribute', 3: 'Relationship', 9: 'OptionSet',
62
+ 10: 'EntityRelationship', 13: 'ManagedProperty', 20: 'Policy',
63
+ 24: 'Privilege', 25: 'PrivilegeObjectTypeCode', 26: 'Role',
64
+ 29: 'Workflow', 31: 'Report', 36: 'Template', 37: 'Contract Template',
65
+ 38: 'Article Template', 39: 'Mail Merge Template', 44: 'Duplicate Rule',
66
+ 46: 'Duplicate Rule Condition', 48: 'Entity Map', 49: 'Attribute Map',
67
+ 59: 'SavedQuery', 60: 'Form', 61: 'WebResource', 62: 'SiteMap',
68
+ 63: 'Connection Role', 65: 'Hierarchy Rule', 66: 'Custom Control',
69
+ 70: 'FieldSecurityProfile', 71: 'FieldPermission', 80: 'AppModule',
70
+ 91: 'PluginAssembly', 92: 'PluginType', 93: 'SDKMessageProcessingStep',
71
+ 95: 'ServiceEndpoint', 150: 'RoutingRule', 152: 'SLA',
72
+ 154: 'ConvertRule', 300: 'Canvas App', 371: 'Connector',
73
+ 372: 'EnvironmentVariableDefinition', 373: 'EnvironmentVariableValue',
74
+ 380: 'AIModel', 381: 'AIConfiguration',
75
+ };
76
+ const grouped = {};
77
+ for (const c of components) {
78
+ const type = c.componenttype;
79
+ if (!grouped[type])
80
+ grouped[type] = [];
81
+ grouped[type].push(c);
82
+ }
83
+ const lines = [`Found ${components.length} component(s) in solution '${solutionUniqueName}':\n`];
84
+ for (const [type, items] of Object.entries(grouped)) {
85
+ const typeName = componentTypeNames[Number(type)] || `Type ${type}`;
86
+ lines.push(`\n${typeName} (${items.length}):`);
87
+ for (const item of items) {
88
+ lines.push(` - ${item.objectid} (behavior: ${item.rootcomponentbehavior ?? 'include subcomponents'})`);
89
+ }
90
+ }
91
+ return {
92
+ content: [{ type: "text", text: lines.join('\n') }]
93
+ };
94
+ }
95
+ catch (error) {
96
+ console.error("Error getting solution components:", error);
97
+ return {
98
+ content: [{ type: "text", text: `Failed to get solution components: ${error.message}` }],
99
+ isError: true
100
+ };
101
+ }
102
+ });
103
+ server.tool("check-dependencies", "Check dependencies before deleting a component", {
104
+ componentId: z.string().describe("Component ID (GUID or MetadataId)"),
105
+ componentType: z.number().describe(descWithExamples("Component type code", COMPONENT_TYPE_EXAMPLES))
106
+ }, async ({ componentId, componentType }) => {
107
+ try {
108
+ const service = ctx.pp;
109
+ const result = await service.checkDependencies(componentId, componentType);
110
+ // Web API returns { value: [...] }; Organization Service returns { EntityCollection: { Entities: [...] } }
111
+ const dependencies = result.value || result.EntityCollection?.Entities || [];
112
+ const componentTypeNames = {
113
+ 1: 'Entity', 2: 'Attribute', 3: 'Relationship', 9: 'OptionSet',
114
+ 20: 'Policy', 26: 'Role', 29: 'Workflow', 59: 'SavedQuery',
115
+ 60: 'Form', 61: 'WebResource', 62: 'SiteMap', 66: 'CustomControl',
116
+ 80: 'AppModule', 91: 'PluginAssembly', 92: 'PluginType',
117
+ 93: 'SDKMessageProcessingStep', 300: 'Canvas App',
118
+ 372: 'EnvironmentVariableDefinition',
119
+ };
120
+ return {
121
+ content: [
122
+ {
123
+ type: "text",
124
+ text: `Found ${dependencies.length} dependenc${dependencies.length === 1 ? 'y' : 'ies'} for component '${componentId}':\n\n` +
125
+ (dependencies.length > 0
126
+ ? dependencies.map((d) => {
127
+ // Web API uses lowercase property names directly
128
+ const depId = d.dependentcomponentobjectid || d.Attributes?.dependentcomponentobjectid || 'Unknown';
129
+ const depType = d.dependentcomponenttype || d.Attributes?.dependentcomponenttype;
130
+ const depTypeName = depType != null ? (componentTypeNames[depType] || `Type ${depType}`) : 'Unknown';
131
+ const reqId = d.requiredcomponentobjectid || d.Attributes?.requiredcomponentobjectid || '';
132
+ return `- Dependent: ${depId} (${depTypeName})` +
133
+ (reqId ? `\n Required: ${reqId}` : '');
134
+ }).join('\n')
135
+ : 'No dependencies found - component can be safely deleted')
136
+ }
137
+ ]
138
+ };
139
+ }
140
+ catch (error) {
141
+ console.error("Error checking dependencies:", error);
142
+ return {
143
+ content: [{ type: "text", text: `Failed to check dependencies: ${error.message}` }],
144
+ isError: true
145
+ };
146
+ }
147
+ });
148
+ server.tool("validate-schema-name", "Validate a schema name against PowerPlatform naming rules", {
149
+ schemaName: z.string().describe("Schema name to validate"),
150
+ prefix: z.string().describe("Required customization prefix")
151
+ }, async ({ schemaName, prefix }) => {
152
+ try {
153
+ const service = ctx.pp;
154
+ const result = service.validateSchemaName(schemaName, prefix);
155
+ return {
156
+ content: [
157
+ {
158
+ type: "text",
159
+ text: `Schema Name Validation for '${schemaName}':\n\n` +
160
+ `Valid: ${result.valid ? '✅' : '❌'}\n\n` +
161
+ (result.errors.length > 0
162
+ ? `Errors:\n${result.errors.map(e => `- ${e}`).join('\n')}`
163
+ : 'No validation errors')
164
+ }
165
+ ]
166
+ };
167
+ }
168
+ catch (error) {
169
+ console.error("Error validating schema name:", error);
170
+ return {
171
+ content: [{ type: "text", text: `Failed to validate schema name: ${error.message}` }],
172
+ isError: true
173
+ };
174
+ }
175
+ });
176
+ server.tool("check-delete-eligibility", "Check if a component can be safely deleted by verifying it has no blocking dependencies.", {
177
+ componentId: z.string().describe("Component ID (GUID or MetadataId)"),
178
+ componentType: z.number().describe(descWithExamples("Component type code", COMPONENT_TYPE_EXAMPLES))
179
+ }, async ({ componentId, componentType }) => {
180
+ try {
181
+ const service = ctx.pp;
182
+ const result = await service.checkDeleteEligibility(componentId, componentType);
183
+ if (result.error) {
184
+ return {
185
+ content: [{
186
+ type: "text",
187
+ text: `Delete Eligibility for component '${componentId}':\n\n` +
188
+ `Can Delete: ❌ No (dependency check failed)\n` +
189
+ `Error: ${result.error}\n\n` +
190
+ `The dependency check could not be completed. ` +
191
+ `Try using check-dependencies directly for more details.`
192
+ }],
193
+ isError: true
194
+ };
195
+ }
196
+ return {
197
+ content: [
198
+ {
199
+ type: "text",
200
+ text: `Delete Eligibility for component '${componentId}':\n\n` +
201
+ `Can Delete: ${result.canDelete ? '✅ Yes' : '❌ No'}\n` +
202
+ `Dependencies: ${result.dependencies.length}\n\n` +
203
+ (result.dependencies.length > 0
204
+ ? `Blocking Dependencies:\n${result.dependencies.map((d) => {
205
+ const depId = d.dependentcomponentobjectid || d.Attributes?.dependentcomponentobjectid || 'Unknown';
206
+ const depType = d.dependentcomponenttype || d.Attributes?.dependentcomponenttype || 'Unknown';
207
+ return `- ${depId} (type: ${depType})`;
208
+ }).join('\n')}`
209
+ : 'No blocking dependencies - component can be safely deleted')
210
+ }
211
+ ]
212
+ };
213
+ }
214
+ catch (error) {
215
+ console.error("Error checking delete eligibility:", error);
216
+ return {
217
+ content: [{ type: "text", text: `Failed to check delete eligibility: ${error.message}` }],
218
+ isError: true
219
+ };
220
+ }
221
+ });
222
+ server.tool("validate-dataverse", "Validate Dataverse entities against internal best practices for column naming, prefixes, configuration, and entity icons. Checks schema name casing, lookup naming conventions, option set scope (all must be global), required columns, publisher prefix compliance, and entity icon assignment. Supports solution-based validation or explicit entity list with configurable time range filtering.", {
223
+ solutionUniqueName: z.string().optional().describe(descWithExamples("Solution unique name to validate. Mutually exclusive with entityLogicalNames", SOLUTION_NAME_EXAMPLES)),
224
+ entityLogicalNames: z.array(z.string()).optional().describe(descWithExamples("Explicit list of entity logical names to validate. Mutually exclusive with solutionUniqueName", ENTITY_NAME_EXAMPLES)),
225
+ publisherPrefix: z.string().describe("Publisher prefix to validate against (e.g., 'sic_'). Required."),
226
+ recentDays: z.number().optional().describe("Only validate columns created in the last N days. Set to 0 to validate all columns regardless of age. Default: 30."),
227
+ includeRefDataTables: z.boolean().optional().describe("Include RefData tables (schema starts with prefix + 'ref_') in validation. Default: true."),
228
+ rules: z.array(z.string()).optional().describe("Specific rules to validate: 'prefix', 'lowercase', 'lookup', 'optionset', 'required-column', 'entity-icon'. Default: all rules."),
229
+ maxEntities: z.number().optional().describe("Maximum number of entities to validate (safety limit). Default: 0 (unlimited)."),
230
+ requiredColumns: z.array(z.string()).optional().describe("List of required column schema names to check for (without prefix). Use '{prefix}' placeholder which will be replaced with publisherPrefix at runtime. Default: ['{prefix}updatedbyprocess']. Example: ['{prefix}sqlcreatedon', '{prefix}sqlmodifiedon'] for SQL timestamp columns.")
231
+ }, async ({ solutionUniqueName, entityLogicalNames, publisherPrefix, recentDays, includeRefDataTables, rules, maxEntities, requiredColumns }) => {
232
+ try {
233
+ if (!solutionUniqueName && !entityLogicalNames) {
234
+ return {
235
+ content: [{ type: "text", text: "Error: Either solutionUniqueName or entityLogicalNames must be provided" }],
236
+ isError: true
237
+ };
238
+ }
239
+ if (solutionUniqueName && entityLogicalNames) {
240
+ return {
241
+ content: [{ type: "text", text: "Error: solutionUniqueName and entityLogicalNames are mutually exclusive" }],
242
+ isError: true
243
+ };
244
+ }
245
+ const service = ctx.pp;
246
+ const result = await service.validateBestPractices(solutionUniqueName, entityLogicalNames, publisherPrefix, recentDays ?? 30, includeRefDataTables ?? true, rules ?? ['prefix', 'lowercase', 'lookup', 'optionset', 'required-column', 'entity-icon'], maxEntities ?? 0, requiredColumns ?? ['{prefix}updatedbyprocess']);
247
+ return {
248
+ content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
249
+ };
250
+ }
251
+ catch (error) {
252
+ console.error("Error validating best practices:", error);
253
+ return {
254
+ content: [{ type: "text", text: `Failed to validate best practices: ${error.message}` }],
255
+ isError: true
256
+ };
257
+ }
258
+ });
259
+ server.tool("generate-dbml-schema", `Generates DBML (Database Markup Language) schema from Dataverse entities.
260
+
261
+ Accepts solution names, explicit entity lists, or both. Returns DBML text
262
+ and a clickable dbdiagram.io URL for visualization.
263
+
264
+ DBML output includes:
265
+ - Table definitions with columns and types
266
+ - Primary key markers [pk]
267
+ - Foreign key relationships (Ref: statements) for all lookups
268
+
269
+ Example output:
270
+ \`\`\`dbml
271
+ Table new_directdebit {
272
+ new_directdebitid uniqueidentifier [pk]
273
+ new_name nvarchar
274
+ new_accountid lookup
275
+ }
276
+ Ref: new_directdebit.new_accountid > account.accountid
277
+ \`\`\``, {
278
+ solutions: z.array(z.string()).optional()
279
+ .describe('One or more solution unique names to extract entities from'),
280
+ entities: z.array(z.string()).optional()
281
+ .describe('Explicit list of entity logical names to include'),
282
+ includeSystemColumns: z.boolean().optional()
283
+ .describe('Include system columns like createdon, modifiedon (default: false)'),
284
+ includeStateStatus: z.boolean().optional()
285
+ .describe('Include statecode/statuscode columns (default: false)'),
286
+ prefix: z.string().optional()
287
+ .describe('Only include columns matching this prefix (e.g., "si_")'),
288
+ depth: z.number().optional()
289
+ .describe('Relationship traversal depth for discovering related entities (default: 0)'),
290
+ includePolymorphicLookups: z.boolean().optional()
291
+ .describe('Include Customer/Owner/PartyList lookups (default: true)'),
292
+ }, async (params) => {
293
+ try {
294
+ const service = ctx.pp;
295
+ const result = await service.generateDbmlSchema(params);
296
+ return {
297
+ content: [
298
+ {
299
+ type: "text",
300
+ text: JSON.stringify(result, null, 2),
301
+ },
302
+ ],
303
+ };
304
+ }
305
+ catch (error) {
306
+ console.error("Error generating DBML schema:", error);
307
+ return {
308
+ content: [
309
+ {
310
+ type: "text",
311
+ text: `Failed to generate DBML schema: ${error.message}`,
312
+ },
313
+ ],
314
+ };
315
+ }
316
+ });
317
+ }
318
+ //# sourceMappingURL=solution-tools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"solution-tools.js","sourceRoot":"","sources":["../../src/tools/solution-tools.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9H,MAAM,UAAU,qBAAqB,CAAC,MAAW,EAAE,GAAmB;IACpE,MAAM,CAAC,IAAI,CACT,gBAAgB,EAChB,2DAA2D,EAC3D,EAAE,EACF,KAAK,IAAI,EAAE;QACT,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,GAAG,CAAC,EAAE,CAAC;YACvB,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,aAAa,EAAS,CAAC;YAEpD,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;YAEtC,OAAO;gBACL,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,SAAS,UAAU,CAAC,MAAM,oBAAoB;4BAC9C,UAAU,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CACxB,KAAK,CAAC,C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BAAoB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;aACzC,QAAQ,CAAC,oEAAoE,CAAC;QACjF,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;aACvC,QAAQ,CAAC,uDAAuD,CAAC;QACpE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;aAC1B,QAAQ,CAAC,yDAAyD,CAAC;QACtE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;aACzB,QAAQ,CAAC,4EAA4E,CAAC;QACzF,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;aAC9C,QAAQ,CAAC,0DAA0D,CAAC;KACxE,EACD,KAAK,EAAE,MAAW,EAAE,EAAE;QACpB,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,GAAG,CAAC,EAAE,CAAC;YACvB,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;YACxD,OAAO;gBACL,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;qBACtC;iBACF;aACF,CAAC;QACJ,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,OAAO,CAAC,KAAK,CAAC,+BAA+B,EAAE,KAAK,CAAC,CAAC;YACtD,OAAO;gBACL,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,mCAAmC,KAAK,CAAC,OAAO,EAAE;qBACzD;iBACF;aACF,CAAC;QACJ,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Service context shared between MCP server and tool/prompt registrations.
3
+ * Uses a lazy getter to initialize the PowerPlatformService on-demand.
4
+ */
5
+ import type { PowerPlatformService } from './PowerPlatformService.js';
6
+ export interface ServiceContext {
7
+ readonly pp: PowerPlatformService;
8
+ }
9
+ //# sourceMappingURL=types.d.ts.map
package/build/types.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-consultant-tools/powerplatform",
3
- "version": "33.0.0",
3
+ "version": "34.0.0-beta.1",
4
4
  "description": "MCP server for Microsoft PowerPlatform/Dataverse - read-only access (production-safe)",
5
5
  "type": "module",
6
6
  "main": "./build/index.js",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@mcp-consultant-tools/core": "33.0.0",
48
- "@mcp-consultant-tools/powerplatform-core": "33.0.0",
48
+ "@mcp-consultant-tools/powerplatform-core": "34.0.0-beta.1",
49
49
  "@modelcontextprotocol/sdk": "^1.24.3",
50
50
  "commander": "^14.0.3",
51
51
  "express": "^4.21.0",