mcp-dataverse 0.7.5 → 0.7.6

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.
package/CAPABILITIES.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # MCP Dataverse Server — Complete Capabilities Reference
2
2
 
3
- > **Version**: 0.7.5 | **API Version**: Dataverse Web API v9.2 | **Transport**: stdio · HTTP/SSE
3
+ > **Version**: 0.7.6 | **API Version**: Dataverse Web API v9.2 | **Transport**: stdio · HTTP/SSE
4
4
 
5
- 79 tools across 27 categories for full Dataverse lifecycle: schema, CRUD, FetchXML, solutions, plugins, audit, files, users, teams, RBAC, attribute management, environment variables, workflows, schema write, record access, and more.
5
+ 81 tools across 28 categories for full Dataverse lifecycle: schema, CRUD, FetchXML, solutions, plugins, audit, files, users, teams, RBAC, attribute management, environment variables, workflows, schema write, record access, web resources, and more.
6
6
 
7
7
  ---
8
8
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  - [Quick Start](#quick-start)
12
12
  - [Architecture Overview](#architecture-overview)
13
- - [Tool Reference (79 tools)](#tool-reference-79-tools)
13
+ - [Tool Reference (81 tools)](#tool-reference-81-tools)
14
14
  - [1. Auth (1)](#1-auth-1-tool)
15
15
  - [2. Metadata (9)](#2-metadata-9-tools)
16
16
  - [3. Query (3)](#3-query-3-tools)
@@ -38,6 +38,7 @@
38
38
  - [25. Attributes (4)](#25-attributes-4-tools)
39
39
  - [26. Schema (write) (2)](#26-schema-write-2-tools)
40
40
  - [27. Record Access (4)](#27-record-access-4-tools)
41
+ - [28. Web Resources & Table Icons (2)](#28-web-resources--table-icons-2-tools)
41
42
  - [Error Handling & Retry Behavior](#error-handling--retry-behavior)
42
43
  - [Security](#security)
43
44
  - [Limitations & Known Constraints](#limitations--known-constraints)
@@ -1370,6 +1371,61 @@ Creates a lookup (N:1) column on a table, simultaneously defining a 1:N relation
1370
1371
 
1371
1372
  ---
1372
1373
 
1374
+ ### 28. Web Resources & Table Icons (2 tools)
1375
+
1376
+ Web resource tools manage custom files (SVG, PNG, JPG, GIF, ICO) in Dataverse, which are prerequisite for setting table (entity) icons in model-driven apps.
1377
+
1378
+ > **Workflow**: `dataverse_create_web_resource` → `dataverse_set_table_icon` → `dataverse_publish_customizations`
1379
+
1380
+ ---
1381
+
1382
+ #### `dataverse_create_web_resource`
1383
+
1384
+ Creates a web resource file in Dataverse — required before assigning icons to tables. Supports SVG (type 11, preferred for `IconVectorName`), PNG, JPG, GIF, and ICO formats. Provide the base64-encoded file content.
1385
+
1386
+ | Parameter | Type | Req | Notes |
1387
+ | ----------------- | ----------------------------------------- | --- | ---------------------------------------------------------------------------------- |
1388
+ | `name` | `string` | ✓ | Unique name with publisher prefix (e.g. `"plng_stage_icon.svg"`) |
1389
+ | `displayName` | `string` | ✓ | Human-friendly label |
1390
+ | `webResourceType` | `"SVG"\|"PNG"\|"JPG"\|"GIF"\|"ICO"` | ✓ | Use `"SVG"` for `IconVectorName` table icons |
1391
+ | `contentBase64` | `string` | ✓ | Base64-encoded file content |
1392
+ | `description` | `string` | — | Optional description |
1393
+
1394
+ ```json
1395
+ {
1396
+ "webResourceId": "00000000-0000-0000-0000-000000000000",
1397
+ "name": "plng_stage_icon.svg",
1398
+ "displayName": "Stage Icon",
1399
+ "webResourceType": "SVG",
1400
+ "typeCode": 11
1401
+ }
1402
+ ```
1403
+
1404
+ ---
1405
+
1406
+ #### `dataverse_set_table_icon`
1407
+
1408
+ Sets, changes, or removes the icon for a model-driven app table. Supports modern SVG vector icons (`iconVectorName`, preferred) and legacy PNG icons (`iconLargeName`, `iconMediumName`). The web resource must exist in Dataverse before calling this tool. Pass an empty string `""` to remove an icon.
1409
+
1410
+ | Parameter | Type | Req | Notes |
1411
+ | -------------------- | --------- | --- | ----------------------------------------------------------------------------- |
1412
+ | `entityLogicalName` | `string` | ✓ | Table logical name (e.g. `"plng_stage"`) |
1413
+ | `iconVectorName` | `string` | — | SVG web resource name (e.g. `"plng_stage_icon.svg"`). `""` to remove. |
1414
+ | `iconLargeName` | `string` | — | Legacy 32x32 image web resource. `""` to remove. |
1415
+ | `iconMediumName` | `string` | — | Legacy 16x16 image web resource. `""` to remove. |
1416
+ | `autoPublish` | `boolean` | — | Publish after update (default `false`) |
1417
+ | `confirm` | `true` | ✓ | Must be `true` |
1418
+
1419
+ ```json
1420
+ {
1421
+ "entityLogicalName": "plng_stage",
1422
+ "changes": { "IconVectorName": "plng_stage_icon.svg" },
1423
+ "published": false
1424
+ }
1425
+ ```
1426
+
1427
+ ---
1428
+
1373
1429
  ## Error Handling & Retry Behavior
1374
1430
 
1375
1431
  All tool handlers return `{ isError: true, content: [{ type: "text", text: "Error: ..." }] }` on failure. Zod input validation runs before any network call.
package/README.md CHANGED
@@ -21,6 +21,14 @@
21
21
 
22
22
  ---
23
23
 
24
+ <div align="center">
25
+ <video src="assets/demo.mp4" controls poster="assets/demo-thumbnail.jpg" width="800">
26
+ <a href="assets/demo.mp4"><img src="assets/demo-thumbnail.jpg" alt="▶ Watch MCP Dataverse in action — 60s demo" width="800" /></a>
27
+ </video>
28
+ </div>
29
+
30
+ ---
31
+
24
32
  ## Why MCP Dataverse?
25
33
 
26
34
  AI agents hallucinate schema, guess column names, and build broken OData queries. This server gives them **real-time access** to your Dataverse environment — schema, records, metadata, solutions — through the [Model Context Protocol](https://modelcontextprotocol.io).
Binary file
Binary file