npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

idenplane-mcp

v0.1.0

Published

MCP server for Idenplane IAM — manage identities in natural language

Readme

idenplane-mcp

First-party MCP (Model Context Protocol) server for Idenplane — manage identity in natural language from Claude Desktop, Claude Code, or Cursor.

Tools

Read tools

| Tool | Description | |---|---| | list_realms | List all realms | | get_realm | Get realm details | | list_clients | List OAuth2/OIDC clients in a realm | | list_users | List users with search and pagination | | get_user | Get a user by ID | | list_roles | List realm roles | | list_active_sessions | List active sessions (realm-wide or per user) | | query_audit_events | Query login and admin audit events with filters |

Write / destructive tools

| Tool | Description | |---|---| | create_realm | [WRITE] Create a new realm | | create_client | [WRITE] Register a new OAuth2/OIDC client | | create_user | [WRITE] Create a user | | set_user_roles | [WRITE] Replace all realm roles for a user | | assign_role | [WRITE] Add roles to a user (additive) | | revoke_session | [DESTRUCTIVE] Terminate an active session |

Configuration

The server reads two environment variables:

| Variable | Description | |---|---| | IDENPLANE_URL | Base URL of your Idenplane server (e.g. http://localhost:3000) | | IDENPLANE_ADMIN_TOKEN | Admin API key (set in Idenplane as ADMIN_API_KEY) |

Claude Desktop

Add this to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "idenplane": {
      "command": "npx",
      "args": ["-y", "idenplane-mcp"],
      "env": {
        "IDENPLANE_URL": "http://localhost:3000",
        "IDENPLANE_ADMIN_TOKEN": "your-admin-api-key"
      }
    }
  }
}

Claude Code

Run once to register the server for this project:

claude mcp add idenplane \
  -e IDENPLANE_URL=http://localhost:3000 \
  -e IDENPLANE_ADMIN_TOKEN=your-admin-api-key \
  -- npx -y idenplane-mcp

Or add it globally (available in all projects):

claude mcp add --scope user idenplane \
  -e IDENPLANE_URL=http://localhost:3000 \
  -e IDENPLANE_ADMIN_TOKEN=your-admin-api-key \
  -- npx -y idenplane-mcp

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "idenplane": {
      "command": "npx",
      "args": ["-y", "idenplane-mcp"],
      "env": {
        "IDENPLANE_URL": "http://localhost:3000",
        "IDENPLANE_ADMIN_TOKEN": "your-admin-api-key"
      }
    }
  }
}

Local development

cd packages/idenplane-mcp
npm install
npm run build

# Run against a local Idenplane instance
IDENPLANE_URL=http://localhost:3000 \
IDENPLANE_ADMIN_TOKEN=dev-admin-key \
node dist/index.js

Integration tests

Start Idenplane locally first (docker compose up db -d && npm run start:dev from the repo root), then:

cd packages/idenplane-mcp
npm install && npm run build

IDENPLANE_URL=http://localhost:3000 \
IDENPLANE_ADMIN_TOKEN=dev-admin-key \
npm test

The tests create a temporary realm, register a client and user, then verify audit events are recorded — and clean up the test realm afterward.