npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@wcg-hieule/dataverse-mcp

v1.1.1

Published

Custom MCP Server kết nối Microsoft Dataverse cho Antigravity IDE

Readme

@wcg-hieule/dataverse-mcp

MCP Server for Microsoft Dataverse — Give your AI agent full CRUD access to Dataverse tables, FetchXML queries, schema exploration, and data quality analysis.

npm version npm downloads License: MIT Node.js


Quick Start

npx -y @wcg-hieule/dataverse-mcp

Add to your mcp_config.json:

{
  "mcpServers": {
    "dataverse": {
      "command": "npx",
      "args": ["-y", "@wcg-hieule/dataverse-mcp"],
      "env": {
        "DATAVERSE_URL": "https://yourorg.crm5.dynamics.com",
        "DATAVERSE_TENANT_ID": "your-tenant-id",
        "DATAVERSE_CLIENT_ID": "your-client-id",
        "DATAVERSE_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Authentication

Uses OAuth 2.0 Client Credentials via @azure/msal-node.

Prerequisites:

  1. Create an App Registration in Azure AD
  2. Grant it Application User access in Dataverse with appropriate security role
  3. Copy Tenant ID, Client ID, and generate a Client Secret

Environment Variables

| Variable | Required | Description | |----------|:--------:|-------------| | DATAVERSE_URL | ✅ | Your Dataverse org URL (e.g. https://org.crm5.dynamics.com) | | DATAVERSE_TENANT_ID | ✅ | Azure AD Tenant ID | | DATAVERSE_CLIENT_ID | ✅ | App Registration Client ID | | DATAVERSE_CLIENT_SECRET | ✅ | App Registration Client Secret |


Tools (17)

📋 Schema & Discovery

| Tool | Description | |------|-------------| | list_entities | List all tables in Dataverse | | get_entity_metadata | Get detailed schema of a table | | get_entity_attributes | List all columns of a table | | get_relationships | Explore relationships (1:N, N:1, N:N) | | get_optionset | Get Choice/OptionSet values |

🔍 Querying

| Tool | Description | |------|-------------| | query_records | OData query with $filter, $select, $top, $orderby, $expand | | get_record_by_id | Fetch a single record by GUID | | execute_fetchxml | FetchXML queries — aggregation, linked entities, groupby |

✏️ CRUD Operations

| Tool | Description | |------|-------------| | create_record | Create a new record | | update_record | Update an existing record | | delete_record | ⚠️ Delete a record (irreversible) |

🛠️ Administration

| Tool | Description | |------|-------------| | check_dependencies | Check dependencies before deleting | | delete_table | ⚠️ Delete a custom table (auto-resolves dependencies) | | delete_attribute | ⚠️ Delete a column (auto-resolves dependencies) | | publish_customizations | Publish all pending customizations |

📊 Analysis

| Tool | Description | |------|-------------| | analyze_table_quality | Data quality analysis (null rate, suspect columns) | | execute_action | Call Dataverse Actions (Bound or Unbound) |


Compatibility

Works with any MCP-compatible AI client:

  • ✅ Gemini CLI / Antigravity IDE
  • ✅ Claude Desktop
  • ✅ VS Code Copilot
  • ✅ Cursor

License

MIT © wcg-hieule