microsoft / microsoft/Dataverse-MCP

Not even able to connect

Open
#16 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
65
Forks
13
PR merge metrics
No merged PRs in 30d

Description

The Dataverse MCP server is completely unusable out of the box. Following the official Microsoft Learn documentation
step by step results in an endless auth loop with zero useful error messages. Whoever designed this flow should be
forced to use it.

Environment

What the docs tell you to do

  1. Run this command:
    claude mcp add dataverse -t stdio -- npx -y @microsoft/dataverse mcp https://.crm.dynamics.com/
  2. Enable the Dataverse MCP feature in the environment ✅ done
  3. Enable "Dataverse CLI" in the Allowed MCP Clients list ✅ done
  4. Grant admin consent via:
    https://login.microsoftonline.com/{tenant-id}/adminconsent?client_id=0c412cc3-0dd6-449b-987f-05b053db9457
  5. Restart Claude Code, sign in, and everything is supposed to "just work"

What actually happens

  • claude mcp list reports dataverse: ✓ Connected — a lie. It's just the stdio handshake, no tools are ever exposed.
  • On Claude Code restart, the browser login window pops up three times in a row. Each time the auth silently fails. No
    error code, no message, no traceback, nothing in the terminal. Just three browser tabs and three failures.
  • Trying to pre-grant admin consent via the URL in step 4 hangs indefinitely on the sign-in page. Browser spins
    forever. Other Microsoft logins in the same browser session work fine — it's just this specific endpoint that's broken.
  • There are zero logs, zero diagnostics, zero guidance on what's failing. The proxy happily says "Connected" and the
    MCP exposes no tools. You're left staring at an empty tool list with no way to figure out why.
  • The docs don't mention that the "Dataverse CLI" first-party service principal may not even exist in the tenant until
    someone provisions it, which can silently cause the consent URL to hang. That should be in the docs at minimum, or
    better: fix the damn endpoint to return an error instead of hanging.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the documented claude mcp add dataverse command with the listed Windows, Claude Code, Node and Dataverse setup, then compare the proxy's stdio handshake, browser login and exposed tool list. Read the Microsoft Learn MCP client documentation and inspect the admin-consent flow described there. Done means the authentication failure is diagnosable rather than silently looping, or the documentation clearly explains the required service-principal provisioning.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
api, authentication, documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.