mcp-dataverse 0.7.6 → 0.7.7

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,6 +1,6 @@
1
1
  # MCP Dataverse Server — Complete Capabilities Reference
2
2
 
3
- > **Version**: 0.7.6 | **API Version**: Dataverse Web API v9.2 | **Transport**: stdio · HTTP/SSE
3
+ > **Version**: 0.7.7 | **API Version**: Dataverse Web API v9.2 | **Transport**: stdio · HTTP/SSE
4
4
 
5
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
 
package/README.md CHANGED
@@ -52,6 +52,14 @@ The interactive wizard configures your environment, registers the server in VS C
52
52
 
53
53
  > Requires Node.js 20+. For other clients (Claude, Cursor, Windsurf…) see [Multi-Client Setup](https://codeurali.github.io/mcp-dataverse/multi-client-setup).
54
54
 
55
+ ## Update
56
+
57
+ ```bash
58
+ npx mcp-dataverse update
59
+ ```
60
+
61
+ No re-config required — just checks your existing setup and shows what changed. `npx` auto-fetches the latest version on each run, so simply restarting your MCP client is enough to get the new tools.
62
+
55
63
  ---
56
64
 
57
65
  ## Authentication
package/dist/server.js CHANGED
@@ -210,5 +210,5 @@ ${a.map(r=>{let o=r.id??`Area_${++i}`,s=r.groups.map(c=>{let l=c.id??`Group_${++
210
210
  `)}),await t(()=>Ja(n),e.port,Za,Qa.length)}else{let t=Ja(n),r=new $i;await t.connect(r),process.stderr.write(`MCP Dataverse server started
211
211
  `),i.getToken().then(()=>{process.stderr.write(`[mcp-dataverse] Authenticated \u2713
212
212
  `)}).catch(o=>{let s=o instanceof Error?o.message:String(o);process.stderr.write(`[mcp-dataverse] Authentication failed: ${s}
213
- `)})}}async function co(){if(process.argv.includes("install")){let{runInstall:a}=await import("./install.js");await a(),process.exit(0)}if(process.argv.includes("doctor")){let{runDoctor:a}=await import("./doctor.js");await a()}await lo()}co().catch(a=>{process.stderr.write(`Fatal error: ${a instanceof Error?a.message:String(a)}
213
+ `)})}}async function co(){if(process.argv.includes("install")){let{runInstall:a}=await import("./install.js");await a(),process.exit(0)}if(process.argv.includes("update")){let{runUpdate:a}=await import("./update-B3OXP6BV.js");await a(),process.exit(0)}if(process.argv.includes("doctor")){let{runDoctor:a}=await import("./doctor.js");await a()}await lo()}co().catch(a=>{process.stderr.write(`Fatal error: ${a instanceof Error?a.message:String(a)}
214
214
  `),process.exit(1)});
@@ -0,0 +1,30 @@
1
+ #!/usr/bin/env node
2
+ import{existsSync as r,readFileSync as n}from"fs";import{join as t}from"path";import{homedir as l}from"os";import{fileURLToPath as i}from"url";var w=t(l(),".mcp-dataverse"),c=t(w,"config.json");function p(){return"\u2500".repeat(58)}async function x(){let u=t(i(import.meta.url),"..","..","package.json"),a=JSON.parse(n(u,"utf-8")).version;process.stdout.write(`
3
+ `),process.stdout.write(`\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557
4
+ `),process.stdout.write(`\u2551 MCP Dataverse \u2014 Update \u2551
5
+ `),process.stdout.write(`\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D
6
+ `),process.stdout.write(`
7
+ `),process.stdout.write(` Current version : v${a}
8
+ `),process.stdout.write(` Installed via : npx (auto-fetches latest on each run)
9
+ `),process.stdout.write(`
10
+ `),r(c)?(process.stdout.write(` Configuration : \u2705 Found
11
+ `),process.stdout.write(` Config path : ${c}
12
+ `)):(process.stdout.write(` Configuration : \u274C Not found
13
+ `),process.stdout.write(` \u2192 Run 'npx mcp-dataverse install' to set up.
14
+ `),process.stdout.write(`
15
+ `),process.exit(0)),process.stdout.write(`
16
+ ${p()}
17
+
18
+ `);let o=t(i(import.meta.url),"..","..","CHANGELOG.md");if(r(o)){let s=n(o,"utf-8").match(/## \[([\d.]+)\].*?\n\n([\s\S]*?)(?=\n## \[|$)/);if(s){process.stdout.write(`What's new in v${s[1]}:
19
+
20
+ `);let d=s[2].split(`
21
+ `).filter(e=>e.startsWith("- **"));for(let e of d)process.stdout.write(` ${e}
22
+ `)}}process.stdout.write(`
23
+ ${p()}
24
+
25
+ `),process.stdout.write(` \u2139 npx always uses the latest published version.
26
+ `),process.stdout.write(` No explicit upgrade needed \u2014 just restart your MCP client.
27
+ `),process.stdout.write(`
28
+ `),process.stdout.write(` For full details: https://codeurali.github.io/mcp-dataverse
29
+ `),process.stdout.write(`
30
+ `)}export{x as runUpdate};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-dataverse",
3
- "version": "0.7.6",
4
- "description": "The most complete MCP server for Microsoft Dataverse. 79 production-ready tools for AI agents: OData & FetchXML queries, CRUD, metadata, solutions, audit, batch operations, schema write, record access and more. Device code, client credentials, and managed identity auth. Works with VS Code Copilot, Claude, Cursor, Windsurf and all MCP clients.",
3
+ "version": "0.7.7",
4
+ "description": "The most complete MCP server for Microsoft Dataverse. 81 production-ready tools for AI agents: OData & FetchXML queries, CRUD, metadata, solutions, audit, batch operations, schema write, record access and more. Device code, client credentials, and managed identity auth. Works with VS Code Copilot, Claude, Cursor, Windsurf and all MCP clients.",
5
5
  "type": "module",
6
6
  "main": "dist/server.js",
7
7
  "bin": {
package/server.json CHANGED
@@ -18,13 +18,13 @@
18
18
  "source": "github",
19
19
  "id": "1163599879"
20
20
  },
21
- "version": "0.7.6",
21
+ "version": "0.7.7",
22
22
  "packages": [
23
23
  {
24
24
  "registryType": "npm",
25
25
  "registryBaseUrl": "https://registry.npmjs.org",
26
26
  "identifier": "mcp-dataverse",
27
- "version": "0.7.6",
27
+ "version": "0.7.7",
28
28
  "transport": {
29
29
  "type": "stdio"
30
30
  },