
JAJ Dataverse Dev MCP
io.github.jjohnsen由 GitHub 帳號 jjohnsen 發布v0.1.4更新於 Oct 24, 2026
Xrm/Power Platform/Dataverse MCP for devs, Azure CLI auth, Web API and multi-environment support
概覽
本機 MCP 伺服器,透過現有的 Azure CLI 身分,讓助理以輕量方式廣泛存取多個 Power Platform 環境的 Dataverse Web API。
- 可以做什麼
- 透過 Web API 查詢與更新 Dataverse 記錄
- 檢視資料表、欄位、中繼資料、發行者與解決方案
- 建立與設定非受控解決方案,並將現有元件加入其中
- 呼叫 Dataverse 動作與函式
- 匯出解決方案以便部署到其他環境
- 在 dev、test、prod 等具名環境間切換,並用 whoami 確認身分
- 適用情境
- 適合 Dataverse 與 Power Platform 開發人員或顧問,希望讓代理直接檢視、查詢、修改或排查環境與解決方案,尤其是在多個專案、客戶或租用戶之間切換時。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 20+。需安裝並登入 Azure CLI(az login),並具備一個或多個 Dataverse 環境 URL 的存取權。環境定義於 environments.json,可用 DATAVERSE_ENVIRONMENTS_PATH 覆寫路徑;每個環境可個別設定 tenantId。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 JAJ Dataverse Dev MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
JAJ Dataverse Dev MCP
Lightweight MCP server for day-to-day Dataverse and Power Platform development.
Connect your agents to multiple Dataverse environments using your existing Azure CLI identity. The server exposes a thin, agent-friendly layer over the Web API for data, metadata, solutions, components, troubleshooting, and development tasks.
Agent → MCP → Azure CLI identity → Dataverse Web API
Quick Start for VS Code + GitHub Copilot
Add the server to .vscode/mcp.json:
Save the file and press Start. The first start may take some time while npx downloads the package.
Sign in with Azure CLI:
Create environments.json in your project root with the environments you need:
Open Copilot and try:
- List the available Dataverse environments
- Call whoami for the dev environment
- Show me the names and IDs of the five most recently created accounts
- List the unmanaged solutions
That's it!
Other MCP-compatible agents follow the same pattern: run jaj-dataverse-dev-mcp over stdio and provide access to your local Azure CLI session and connection configuration.
Quick Start for Claude Desktop
Add the server to claude_desktop_config.json:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Save the file and fully quit and restart Claude Desktop (config changes aren't picked up by simply closing the window).
Continue from "Sign in with Azure CLI..." in Quick Start for VS Code + GitHub Copilot
Why this project?
There are already several Dataverse MCP implementations, including Microsoft's own tooling.
This project grew out of day-to-day development work where agents frequently needed capabilities beyond the available specialized tools. In many cases, the agent could solve the task successfully by constructing Dataverse Web API requests directly.
This MCP embraces that approach.
Instead of hiding Dataverse behind a large abstraction, it provides broad access to the Web API through a thin wrapper.
It is also designed for developers and consultants who regularly move between projects, customers, and Dataverse environments.
One MCP server can work with multiple Dataverse environments while using existing Azure CLI identity. No separate app registration, client ID, or client secret is required.
Prerequisites
- Node.js 20+
- Azure CLI installed and signed in
- Access to one or more Dataverse environment URLs
Authentication
Dataverse environments
Environments are configured in environments.json in the project root and identified by friendly names such as dev, test, prod.
Agents use these names when selecting which Dataverse environment to work with.
If an environment is in a different tenant than the default Azure CLI tenant, add a tenantId for that environment.
DATAVERSE_ENVIRONMENTS_PATH can be used to override the config file path at runtime.
Example:
Add project-specific Copilot instructions
For better agent behavior, add Dataverse-specific instructions to the project where you use the MCP.
Copy docs/examples/copilot-instructions.md to .github/copilot-instructions.md in the workspace where you use the MCP server, then customize it for your project:
- replace
YOUR-dev,YOUR-test, andYOUR-prodwith the environment names fromenvironments.json - replace
YOUR_DEFAULT_SOLUTIONwith the unique name of the primary Dataverse solution - adjust the default environment and safety rules for the project
Commit the customized file to the project repository so all contributors use the same guidance.
Run directly with npx
The package can also be launched manually with stdio as default transport:
For development or clients that use Streamable HTTP add --http.
What can it be used for?
Although the MCP is intentionally a thin wrapper around the Dataverse Web API, it can support a broad range of development and troubleshooting tasks, for example:
- query and update Dataverse records
- inspect tables, columns, metadata, publishers, and solutions
- create and configure unmanaged solutions
- add existing components to solutions
- work with Dataverse actions and functions
- export solutions for deployment to other environments
This makes it useful for both direct development tasks and agent-driven workflows where the agent inspects Dataverse, decides on the next action, and performs it through the MCP.
來源:README.md,提交 2322769
工具
0版本歷史
1- v0.1.4最新Sep 21, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分