G-Gremlin Dynamics MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/mikeheilmann1024/g-gremlin-dynamics-mcp
cd g-gremlin-dynamics-mcp

Then follow the repository README for any remaining dependency or build steps before continuing.

2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add g-gremlin-dynamics -- node "<FULL_PATH_TO_G_GREMLIN_DYNAMICS_MCP>/dist/index.js"

Replace <FULL_PATH_TO_G_GREMLIN_DYNAMICS_MCP>/dist/index.js with the actual folder you prepared in step 1.

README.md

Standalone Dynamics 365 / Dataverse MCP launcher for g-gremlin.

g-gremlin-dynamics-mcp

Standalone Dynamics 365 / Dataverse MCP launcher for g-gremlin.

This package provides a dedicated g-gremlin-dynamics-mcp command so MCP clients can connect to Dataverse tools without calling the broader g-gremlin CLI directly.

It delegates to:

  • g-gremlin mcp serve-dynamics (read/analyze tools only)
  • g-gremlin mcp serve-dynamics --enable-writes (write tools exposed; all apply calls still require plan_hash)
  • Optional profile selection: g-gremlin mcp serve-dynamics --profile <name>

Quickstart

pipx install g-gremlin
pipx install g-gremlin-dynamics-mcp

# Configure Dynamics credentials for g-gremlin
g-gremlin auth set dynamics

Dataverse Requirements

For Dataverse MCP with non-Microsoft clients:

  • Enable Dataverse MCP in Power Platform Admin Center (PPAC)
  • Add each non-Microsoft MCP client to the Dataverse MCP allowed clients list in PPAC
  • Install the local Dataverse MCP proxy tool if needed:
    • dotnet tool install --global Microsoft.PowerPlatform.Dataverse.MCP

Billing note:

  • External AI-agent access can consume Dataverse API/request capacity. Review licensing and limits before enabling autonomous write flows.

Claude Desktop

{
  "mcpServers": {
    "g-gremlin-dynamics": {
      "command": "g-gremlin-dynamics-mcp"
    }
  }
}

To expose write tools:

{
  "mcpServers": {
    "g-gremlin-dynamics": {
      "command": "g-gremlin-dynamics-mcp",
      "args": ["--enable-writes"]
    }
  }
}

Cursor / Windsurf

Use the same MCP server command in your client config:

{
  "mcpServers": {
    "g-gremlin-dynamics": {
      "command": "g-gremlin-dynamics-mcp"
    }
  }
}

To expose write tools in Cursor/Windsurf, add:

{
  "mcpServers": {
    "g-gremlin-dynamics": {
      "command": "g-gremlin-dynamics-mcp",
      "args": ["--enable-writes"]
    }
  }
}

Health check

g-gremlin-dynamics-mcp --check

--check validates both the minimum g-gremlin version and that g-gremlin mcp serve-dynamics is available in the installed build.

Profile-aware startup:

g-gremlin-dynamics-mcp --profile prod

Development

git clone https://github.com/mikeheilmann1024/g-gremlin-dynamics-mcp
cd g-gremlin-dynamics-mcp
pip install -e ".[dev]"
pytest

License

MIT

Configuration

claude_desktop_config.json
{"mcpServers": {"g-gremlin-dynamics": {"command": "g-gremlin-dynamics-mcp", "args": ["--enable-writes"]}}}

Try it

List the recent records from the Accounts table in my Dataverse environment.
Analyze the current Dynamics 365 sales pipeline data for this quarter.
Update the status of the lead record with ID 12345 to 'Qualified'.
Fetch all active contacts associated with the project 'Alpha' in Dynamics 365.

Frequently Asked Questions

What are the key features of G-Gremlin Dynamics?

Standalone launcher for Dynamics 365 and Dataverse tools. Supports read and analyze operations on Dataverse environments. Optional write operations enabled via command-line flags. Profile-aware startup for managing multiple environments. Built-in health check validation for g-gremlin compatibility.

What can I use G-Gremlin Dynamics for?

Querying Dynamics 365 customer data directly from an AI-powered IDE. Automating data entry or status updates in Dataverse via natural language. Analyzing CRM sales data and pipeline health using LLM-based insights. Managing multiple Dynamics 365 environments using named profiles.

How do I install G-Gremlin Dynamics?

Install G-Gremlin Dynamics by running: pipx install g-gremlin && pipx install g-gremlin-dynamics-mcp

What MCP clients work with G-Gremlin Dynamics?

G-Gremlin Dynamics works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep G-Gremlin Dynamics docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare