MCPSERV.CLUB
duggurd

Dynamics 365 Table Relationship Explorer MCP Server

MCP Server

AI‑ready explorer for Dynamics 365 table relationships

Stale(55)
0stars
1views
Updated Jun 2, 2025

About

Exposes Dynamics 365 table relationship discovery, pathfinding, and statistics as an MCP server. It allows AI assistants to query related tables, relationship paths, and detailed metadata via FastMCP.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Dynamics Relations MCP Server

The Dynamics Relations MCP server turns a comprehensive table‑relationship dataset from Microsoft Dynamics 365 into a live, AI‑ready service. Developers building assistants that need to reason about the underlying data model can query this server instead of hard‑coding or maintaining a separate mapping. The tool solves the problem of navigating complex, many‑to‑many relationships that exist in a Dynamics environment—something that is tedious and error‑prone when done manually.

At its core, the server exposes a set of lightweight MCP tools that mirror the functionality of the underlying CLI. These tools let an assistant ask for directly related tables, discover multi‑step relationship paths up to a configurable depth, retrieve detailed link information, list all tables in the schema, and even pull aggregate statistics about the network of associations. The server also supports an optional optimized relationship file that reduces payload size and improves query latency, a key advantage when assistants must answer questions in real time.

Developers find this valuable because it removes the need to embed proprietary mapping logic into their applications. Instead, a single MCP call can surface the exact relationship chain between two tables, allowing the assistant to explain why a particular record appears in a report or to suggest which related entity might hold the missing data. The tools are intentionally simple: they accept a table name (case‑insensitive) and optional parameters such as the maximum number of intermediate tables, returning JSON that can be parsed or rendered directly by the assistant.

Typical use cases include:

  • Data‑driven diagnostics: An AI helper can ask, “Which tables link to ?” and receive a clear path.
  • Schema exploration: Developers can quickly generate visual diagrams or documentation by querying the server for all relationships.
  • Performance tuning: By requesting statistics, a DevOps engineer can identify heavily connected tables that might become bottlenecks.
  • Integration with low‑code platforms: Power Apps or Dynamics customizations can query the MCP server to auto‑populate relationship fields without manual configuration.

Integration into AI workflows is straightforward. An assistant that supports MCP can invoke the appropriate tool, parse the returned JSON, and weave the information into its response. Because the server runs as a FastMCP service, it scales horizontally and can be deployed behind existing authentication layers, ensuring that only authorized assistants access the schema data.

What sets this MCP server apart is its focus on relationship exploration rather than CRUD operations. It provides a high‑level semantic view of the Dynamics data model, enabling assistants to reason about entity connections, suggest related records, and help users navigate complex business processes—all without exposing sensitive data or requiring deep technical knowledge of the underlying database.