SCIM Relay for Agents

scim-mcp is a SCIM (System for Cross-domain Identity Management) relay for AI agents. This MCP server enables LLMs to manage enterprise user identities and groups through the battle-tested SCIM 2.0 standard (RFC7644). It acts as a privacy first relay between AI agents and service providers (SP) or identity providers (IdP), allowing organizations to provision, de-provision, and manage authorization policies.

Post on Social Media

screencast

Features

Full SCIM 2.0 user and group lifecycle management with built-in PII masking for GDPR/privacy compliance:

Privacy & Compliance:

User Operations:

Group Operations:

Use Cases

  1. Connect Enterprise App Directly - Manage users and groups directly in your service provider without Azure AD, Okta, or other IdP interfaces
  2. SCIM Endpoint Development & Testing - Validate your SCIM endpoint implementation without setting up Azure AD or Okta
  3. Control MCP Server Access - Use Auth0's inbound SCIM connector to manage which OAuth accounts can access which MCP servers

Demo

On Vercel https://scim-mcp.vercel.app/mcp

On Alpic https://scim-mcp-d8a54d7b.alpic.live/

Deploy on Alpic

Architecture

sequenceDiagram
    participant LLM as LLM/AI Agent
    participant MCP as scim-mcp<br/>(MCP Server)
    participant SP as Service Provider<br/>(SCIM Endpoint)
    
    Note over MCP: Credentials stored as<br/>environment variables:<br/>SCIM_API_TOKEN<br/>SCIM_API_BASE_URL
    
    LLM->>MCP: MCP Tool Request<br/>(e.g., create-user)
    Note over LLM,MCP: No credentials exposed to LLM
    
    MCP->>MCP: Retrieve credentials<br/>from environment
    
    MCP->>SP: SCIM API Request<br/>Authorization: Bearer {token}
    
    SP->>MCP: SCIM Response
    
    MCP->>LLM: MCP Tool Response

Setup

Codex

[mcp_servers.scim]
command = "npx"
args = ["-y", "mcp-remote@latest", "https://scim-mcp-d8a54d7b.alpic.live/", "--header", "x-scim-api-token:${SCIM_AUTH_TOKEN}", "--header", "x-scim-base-url:https://service.provider.scim.base.url"]

Development

First, run the development server:

npm run dev