Microsoft Entra SCIM logo

Microsoft Entra SCIM

MCP tools for Microsoft Entra SCIM user, group, lifecycle, and Custom Security Attribute operations, with a local mock.

Install Microsoft Entra SCIM

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": {
    "microsoft-entra-scim": {
      "command": "npx",
      "args": [
        "-y",
        "--package",
        "entra-scim-mcp",
        "entra-scim-mock-server"
      ],
      "env": {
        "ENTRA_TENANT_ID": "YOUR_VALUE_HERE",
        "ENTRA_CLIENT_ID": "YOUR_VALUE_HERE",
        "ENTRA_CLIENT_SECRET": "YOUR_VALUE_HERE",
        "ENTRA_CLIENT_CERT_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

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

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y --package entra-scim-mcp entra-scim-mock-server

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Microsoft Entra SCIM MCP server exposes Microsoft Entra’s SCIM 2.0 Provisioning API as MCP tools for user and group administration. It connects to Microsoft Graph’s SCIM endpoint using an Entra application credential, while a local mock supports testing without a tenant or API billing. Use it for agent-driven provisioning, directory updates, group membership changes, lifecycle attributes, and Custom Security Attributes. The server also enforces SCIM API constraints such as restricted filters, PATCH rules, and group-membership chunking.

Use cases

  • Provision users with required Entra attributes
  • Update user lifecycle properties for automation
  • Manage group membership within SCIM PATCH limits
  • Read and update Custom Security Attributes
  • Test SCIM workflows with the local mock

Key features

  • SCIM capability and schema discovery
  • User provisioning and deprovisioning
  • Group creation and membership management
  • Custom Security Attribute operations
  • Lifecycle attribute updates
  • Local mock and dry-run modes

Tools18

What Microsoft Entra SCIM lets your agent do. Expand a tool for its parameters.

Self-reported~688 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.

14/14 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · entra-scim-mcp (npm)

Adoption & maintenance

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

GitHub stars2Stargazers on the source repository.
npm downloads328Package downloads in the last 30 days.
Last commit13d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed18Callable tools this server registers over MCP.

How Microsoft Entra SCIM works

What the Microsoft Entra SCIM MCP server does

The Microsoft Entra SCIM MCP server provides MCP tools for managing users and groups through Microsoft Entra’s SCIM 2.0 Provisioning API at https://graph.microsoft.com/rp/scim. It covers discovery, user provisioning and deprovisioning, profile updates, lifecycle attributes, Custom Security Attributes (CSAs), group creation and updates, and group membership changes.

Read operations include service-provider capability discovery, resource-type and schema enumeration, filtered user and group listing, and retrieval of individual resources. User and group responses have important boundaries: a normal user read does not include CSAs or group membership, and a group read does not include members. Group membership is read by filtering users with the group identifier.

How it works

The Microsoft Entra SCIM MCP server runs as a stdio process launched by an MCP client. With real credentials, it obtains access for the configured tenant and sends requests to Microsoft Graph. The server validates inputs and adapts requests to API rules before sending them.

User creation requires userName, password, displayName, name.givenName, and name.familyName. Entra can derive mailNickname from userName when that field is omitted. User deletion is a soft delete lasting 30 days and removes the user’s group memberships; restoration must be performed through Graph.

Group membership operations account for API restrictions. Adding more than 20 users is split into multiple PATCH requests, while removing a member uses a single-user operation. Each individual PATCH is atomic, but a multi-request add can partially complete and report the added, failed, and not-yet-attempted IDs.

Setup and configuration

Before connecting to a tenant, enable the SCIM Provisioning API in Entra ID Governance, associate a billing resource group, and use an Entra ID P1-or-higher subscription with an Azure subscription linked for billing. Register an application, grant the required Microsoft Graph application permissions, and provide admin consent. The application must use either a client secret or a PEM file containing a certificate and private key.

Set ENTRA_TENANT_ID and ENTRA_CLIENT_ID, plus exactly one of ENTRA_CLIENT_SECRET or ENTRA_CLIENT_CERT_PATH. An encrypted PEM can use ENTRA_CLIENT_CERT_PASSWORD.

The package can start a local mock with entra-scim-mock-server. Set ENTRA_SCIM_BASE_URL to the mock URL and ENTRA_SCIM_STATIC_TOKEN to its token. Alternatively, ENTRA_SCIM_DRY_RUN=1 performs client-side validation and returns the request that would have been sent without acquiring a token or contacting an API.

Tools and capabilities

The Microsoft Entra SCIM MCP server exposes tools for:

  • Discovering supported resource types, schemas, attributes, mutability, and default-return behavior.
  • Listing users and groups with the API’s restricted filter syntax and cursor pagination.
  • Creating, reading, updating, and deleting users and groups.
  • Setting lifecycle properties such as employeeLeaveDateTime.
  • Reading and patching CSAs by attribute set.
  • Adding and removing group members while respecting Entra PATCH limitations.

CSA reads require an attributeSets value; the bare extension URN is rejected, and CSAs are not included in ordinary user reads. Group type flags are fixed at creation, and membership changes must use the dedicated membership tools rather than update_group.

Limitations and notes

Every live SCIM API call is billed. The server does not batch requests beyond what the API requires. Filter support is limited to the syntax accepted by the API, including eq, ew, AND-only expressions, and not() around ew.

Lifecycle updates require User-LifeCycleInfo.ReadWrite.All. Deleted users can be restored only through Graph. Unified groups are recoverable for 30 days through Graph, while security groups are not. A 404 from single-member removal commonly indicates that the user is not a member, rather than that the group does not exist.

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 Microsoft Entra SCIM

Microsoft Entra SCIM is an MCP server that connects AI clients to Microsoft Entra’s SCIM 2.0 Provisioning API through tools for user and group lifecycle management, schema discovery, lifecycle attributes, Custom Security Attributes, and group membership. It also includes a local mock for testing without a tenant or billed API calls.

Install and launch it with `npx -y entra-scim-mcp` from your MCP client configuration. Set the tenant ID, client ID, and either a client secret or PEM certificate path.

Use the bundled local mock. Start `entra-scim-mock-server`, then configure `ENTRA_SCIM_BASE_URL` with its local address and `ENTRA_SCIM_STATIC_TOKEN` with the mock token. The mock can seed demo data and capture request and response traffic.

Set `ENTRA_SCIM_DRY_RUN=1`. The tools perform client-side validation and return the HTTP request they would send without acquiring a token or requiring credential configuration. For multi-request operations, dry-run output shows only the first chunked request.

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 PreviewMicrosoft Entra SCIM AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/microsoft-entra-scim?style=directory)](https://allmcps.com/mcp/microsoft-entra-scim)
HTML Embed
<a href="https://allmcps.com/mcp/microsoft-entra-scim"><img src="https://allmcps.com/api/badge/microsoft-entra-scim?style=directory" alt="Microsoft Entra SCIM on AllMCPs" /></a>