Entrapulse Polyarchy logo

Entrapulse Polyarchy

Visualizes Entra ID identity relationships in an MCP App and returns structured reports for org, groups, roles, apps, and attributes.

Install Entrapulse Polyarchy

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "entrapulse-polyarchy": {
      "command": "npx",
      "args": [
        "-y",
        "entrapulse-polyarchy"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 9 tools correctly ().

Overview

entrapulse-polyarchy connects MCP clients to Microsoft Entra ID for interactive identity relationship exploration and structured reporting. Its D3-based MCP App renders manager hierarchies, group memberships, directory roles, app assignments, and shared-attribute cohorts, while separate tools return searchable or machine-readable results. Use it when an agent needs to investigate how a person relates to people, groups, roles, applications, or directory attributes. Authentication supports interactive sign-in, device code, app-only credentials, or a client-provided Microsoft Graph token.

Use cases

  • Visualize a person’s manager chain and direct reports
  • Trace group memberships and group-to-member relationships
  • Inspect directory roles and application assignments
  • Find people who share an Entra ID attribute
  • Generate structured identity relationship reports

Key features

  • Interactive D3 identity relationship graph
  • Manager, group, role, app, and attribute relationship views
  • Ambiguity-safe person search with object IDs
  • Structured JSON reports without the UI
  • Delegated, device-code, app-only, and client-token authentication
  • Cached graph exploration within a session

Tools9

What Entrapulse Polyarchy lets your agent do. Expand a tool for its parameters.

Verified live~1.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 78d

What it can do

From the 9 tools this server returned when we ran it.

Handles credentials · 2Makes network requests · 1Read-only tools · 9
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age122 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · entrapulse-polyarchy (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads501Package downloads in the last 30 days.
Last commit19d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed9Callable tools this server registers over MCP.

How Entrapulse Polyarchy works

What entrapulse-polyarchy does

entrapulse-polyarchy turns Microsoft Entra ID relationship data into an interactive polyarchy graph inside MCP App-compatible clients. The visualization can center on the signed-in user, a searched person, or a specified object ID. It combines several relationship dimensions in one graph:

  • Organizational links, including manager chains and direct reports
  • Group memberships and group-to-member expansion
  • Directory roles and application assignments
  • Attribute pivots that connect people sharing values such as department, office, city, or employee data

The graph supports node profiles, focus changes, relationship filtering, fullscreen or inline display, and session caching. A reset clears the visible canvas while retaining data fetched during the session.

How it works

The server queries Microsoft Graph using delegated or application authentication, then exposes identity data through MCP tools. visualize-identity opens the graph around the current user, a search term, or an object ID. When a name matches multiple people, the tool returns candidates rather than selecting one without confirmation.

polyarchy-search finds people by name or UPN and returns identifying details such as UPN, title, department, and object ID. polyarchy-expand returns a nodes-and-edges delta for a selected node. Expansion can cover organizational relationships, groups, access, attributes, group or role members, and attribute cohorts; nested attribute paths are supported.

For workflows that do not need a visual interface, polyarchy-report produces structured JSON containing selected relationship dimensions or the complete report. The report can include a manager chain, direct reports, group memberships with group type and assigned-versus-dynamic status, directory roles, app assignments, and core attributes.

Setup and configuration

For a typical MCP client, run the package through npx:

config.json
{
  "mcpServers": {
    "entrapulse-polyarchy": {
      "command": "npx",
      "args": ["-y", "entrapulse-polyarchy"]
    }
  }
}

Interactive authentication is the default and starts when the first tool is called. Tokens are persisted in the operating system keychain, while the signed-in account is recorded under ~/.entrapulse-polyarchy/auth-record.json. Authentication events are logged to ~/.entrapulse-polyarchy/auth.log.

Use USE_DEVICE_CODE=true for headless or SSH environments. App-only access requires TENANT_ID, CLIENT_ID, and CLIENT_SECRET; this mode has no /me identity, so a person must be supplied to identity queries. USE_CLIENT_TOKEN=true enables client-provided Graph tokens through set-access-token, with ACCESS_TOKEN available as an optional value. TENANT_ID and CLIENT_ID can also select a tenant and custom app registration for interactive or device-code sign-in.

Tools and capabilities

  • visualize-identity: Open the relationship graph around the current user, a name, or an object ID.
  • polyarchy-search: Find people by name or UPN.
  • polyarchy-expand: Retrieve relationship deltas for a graph node.
  • polyarchy-report: Return relationship data as structured JSON without opening the UI.
  • set-access-token: Pass through a Microsoft Graph bearer token and support authentication diagnostics.

The main delegated permissions are User.Read.All, Group.Read.All, RoleManagement.Read.Directory, and Application.Read.All.

Limitations and notes

A tenant may block or restrict the default Microsoft Graph Command Line Tools public client through consent policies, Conditional Access, or application management controls. In that situation, configure an app registration with the required Microsoft Graph delegated permissions. Custom interactive registrations need a portless http://localhost redirect, and device-code sign-in requires public client flows to be enabled.

The default focus is /me only when the authentication mode provides a signed-in user. App-only mode requires an explicit person. Access also depends on Graph scopes and tenant directory-read policies; some restricted or guest accounts may need Directory Readers access.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Entrapulse Polyarchy

entrapulse-polyarchy is an MCP server that connects AI clients to Microsoft Entra ID and Microsoft Graph. Its main tools search people, visualize identity relationships, expand graph nodes, generate structured relationship reports, and pass through access tokens. It covers organizational links, groups, directory roles, app assignments, and shared attributes.

Install it by configuring your MCP client to run `npx -y entrapulse-polyarchy`. The standard setup needs no app registration for most tenants, and interactive sign-in begins when the first tool is called.

Yes, entrapulse-polyarchy works with Cursor because the project identifies Cursor as an MCP Apps-compatible client. Add the server’s `npx` command to Cursor’s MCP configuration and authenticate when the first tool runs.

It uses `User.Read.All`, `Group.Read.All`, `RoleManagement.Read.Directory`, and `Application.Read.All` for its delegated identity, group, role, and application queries. A custom app registration should include these Microsoft Graph delegated permissions and receive the required consent.

Yes, use `polyarchy-report` to receive relationship data as structured JSON without the visual app. You can request selected dimensions or the full report, including manager relationships, groups, roles, app assignments, and core attributes.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewEntrapulse Polyarchy AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/entrapulse-polyarchy?style=directory)](https://allmcps.com/mcp/entrapulse-polyarchy)
HTML Embed
<a href="https://allmcps.com/mcp/entrapulse-polyarchy"><img src="https://allmcps.com/api/badge/entrapulse-polyarchy?style=directory" alt="Entrapulse Polyarchy on AllMCPs" /></a>