Microsoft Entra SCIM
v0.4.0Microsoft Entra SCIM 2.0 Provisioning API: user and group lifecycle, with a local mock.
Values you need
| Variable | What it is | |
|---|---|---|
ENTRA_TENANT_ID | optional | Directory (tenant) GUID. Required to authenticate against a live tenant; not needed for ENTRA_SCIM_DRY_RUN or ENTRA_SCIM_STATIC_TOKEN, which supply their own placeholder. |
ENTRA_CLIENT_ID | optional | App registration (client) GUID. Required to authenticate against a live tenant; not needed for ENTRA_SCIM_DRY_RUN or ENTRA_SCIM_STATIC_TOKEN. |
ENTRA_CLIENT_SECRET | optional secret | Client secret value. For a live tenant set exactly one of ENTRA_CLIENT_SECRET or ENTRA_CLIENT_CERT_PATH; a certificate is preferred for anything long-lived. |
ENTRA_CLIENT_CERT_PATH | optional | Path to a PEM holding the certificate and its private key. Set exactly one of ENTRA_CLIENT_SECRET or ENTRA_CLIENT_CERT_PATH. |
ENTRA_CLIENT_CERT_PASSWORD | optional secret | Password for the PEM, if it is encrypted. |
ENTRA_SCIM_BASE_URL | optional | Override the SCIM base URL (default https://graph.microsoft.com/rp/scim). Point it at the bundled mock to try the tools without a tenant. |
ENTRA_SCIM_STATIC_TOKEN | optional secret | Use a fixed bearer token instead of Azure AD. Refuses any microsoft.com/microsoft.us host and requires ENTRA_SCIM_BASE_URL; intended for the local mock only. |
ENTRA_SCIM_DRY_RUN | optional | Set to 1 to run every client-side validation and return the request that would have been sent, without sending it or acquiring a token. |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add entra-scim-mcp -- npx -y entra-scim-mcp@0.4.0Add to
claude_desktop_config.json{
"mcpServers": {
"entra-scim-mcp": {
"args": [
"-y",
"entra-scim-mcp@0.4.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"entra-scim-mcp": {
"args": [
"-y",
"entra-scim-mcp@0.4.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"entra-scim-mcp": {
"args": [
"-y",
"entra-scim-mcp@0.4.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.entra-scim-mcp]
command = "npx"
args = ["-y", "entra-scim-mcp@0.4.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json