dv-connect

Installation
SKILL.md

Skill: Connect

One-step connection to Dataverse. Handles tool installation, authentication, environment selection, workspace initialization, MCP configuration, and verification — all idempotently. Each step checks if it's already done and skips if so.

Environment-First Rule — All metadata (solutions, columns, tables, forms, views) and plugin registrations are created in the Dynamics environment via API or scripts, then pulled into the repo. Never write or edit solution XML by hand to create new components.

Execute every step in order. Do not skip ahead, even if a later step appears more relevant to the user's immediate goal. Exception: Step 0 below can short-circuit the entire flow if the workspace is already set up.


Step 0: Detect existing setup (run this first)

Before touching anything, check whether this workspace is already connected to a Dataverse environment. This matters a lot on claude --continue or any re-run — the whole flow takes several minutes, and repeating it on an already-configured workspace overwrites .env, re-registers MCP, and wastes time.

Run these checks in order. If all four pass, skip straight to Step 7 (final verification) and stop there.

  1. .env is present and complete — file exists at the workspace root and contains non-empty values for DATAVERSE_URL, TENANT_ID, and MCP_CLIENT_ID
  2. MCP is registered.mcp.json (Claude Code) or the equivalent Copilot config file has a dataverse-* server entry pointing at the DATAVERSE_URL from .env
  3. PAC CLI auth matches .envpac auth list shows a profile whose Environment Url matches DATAVERSE_URL, and pac org who against that profile succeeds
Related skills

More from microsoft/dataverse-skills

Installs
17
GitHub Stars
95
First Seen
Mar 23, 2026