DataverseMCPServer

DataverseMCPServer

7

A complete Power Platform MCP solution with a Node.js server exposing Dataverse tools via MCP, an HTTP `/invoke` endpoint, and a sleek HTML chatbot UI that accepts natural language queries (e.g. “List fields in Lead”) and routes them to the correct tool. Easily configurable via environment variables.

Dataverse MCP Chatbot

A lightweight HTTP wrapper around a Model Context Protocol (MCP) server for Microsoft Power Platform/Dataverse.

Features

  • MCP Tools: Supports 8 core MCP operations including entity overview, metadata fetching, attribute listing, and record querying.
  • Natural-Language Front End: UI that parses free-text questions to invoke MCP tools.
  • Environment Configuration: Uses environment variables for credentials.

Prerequisites

  • Node.js >= 16.x
  • A Dataverse/Power Platform environment with necessary service principal credentials.

Installation

  1. Clone the repository.
  2. Install dependencies.
  3. Build the TypeScript.

Configuration

Create a .env file with Power Platform credentials.

Running the Server

Start the HTTP wrapper and expose MCP tools via a REST endpoint.

HTML Chatbot UI

A demo front-end using chatbot.html for natural-language queries.

Troubleshooting

  • Ensure CORS is enabled.
  • Verify authentication configuration.