Microsoft Entra SCIM

v0.4.0
io.github.darrenjrobinson/entra-scim-mcp Checked 7 hours ago Published 1 month ago

Microsoft Entra SCIM 2.0 Provisioning API: user and group lifecycle, with a local mock.

Values you need

VariableWhat it is
ENTRA_TENANT_IDoptional 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_IDoptional 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_SECREToptional 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_PATHoptional 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_PASSWORDoptional secret Password for the PEM, if it is encrypted.
ENTRA_SCIM_BASE_URLoptional 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_TOKENoptional 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_RUNoptional 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.0
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. 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