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 🙏

© 2025 – Pkg Stats / Ryan Hefner

leanix-mtm-mcp

v0.1.11

Published

Integrate the LeanIX Multi-Tenant Management API into agentic workflows via MCP

Readme

LeanIX MTM MCP Server

Integrate the LeanIX Multi-Tenant Management (MTM) API into agentic workflows via MCP.

Tools

This MCP server provides 29 read-only tools for accessing LeanIX MTM data:

Account Management

  1. get_accounts - List or search all accounts with pagination
  2. get_account - Retrieve a single account by UUID

Workspace Management

  1. get_workspaces - List workspaces with filtering (features, labels) and pagination
  2. get_workspace - Retrieve a single workspace by UUID

User Management

  1. get_users - List or search all users with pagination
  2. get_user - Retrieve a single user by UUID

Permission Management

  1. get_permissions - List user permissions with extensive filtering and pagination
  2. get_permission - Retrieve a single permission by UUID

Contract Management

  1. get_contracts - List all contracts with search and pagination
  2. get_contract - Retrieve a single contract by UUID

Instance Management

  1. get_instances - List all instances with filtering and pagination
  2. get_instance - Retrieve a single instance by UUID

Event Management

  1. get_account_events - Retrieve all events for a specific account with date filtering and pagination
  2. get_workspace_events - Retrieve all events for a specific workspace with date filtering, event type filter, and pagination
  3. get_contract_events - Retrieve all events for a specific contract with date filtering and pagination
  4. get_user_events - Retrieve all events for a specific user with date filtering and pagination
  5. get_instance_events - Retrieve all events for a specific instance with date filtering and pagination
  6. get_identity_provider_events - Retrieve all events for a specific identity provider with date filtering and pagination
  7. get_event - Retrieve a single event by UUID

Technical User Management

  1. get_technical_users - List or search all technical users with pagination
  2. get_technical_user - Retrieve a single technical user by UUID

Domain Management

  1. get_domains - List all domains with filtering (FQDN, instance) and pagination
  2. get_domain - Retrieve a single domain by UUID

Identity Provider Management

  1. get_identity_providers - List all identity providers with filtering and pagination
  2. get_identity_provider - Retrieve a single identity provider by UUID

Custom Feature Management

  1. get_custom_features - List all custom features filtered by contract or workspace
  2. get_custom_feature - Retrieve a single custom feature by UUID

Label Management

  1. get_labels - Get all labels (optionally filtered by name)
  2. get_labels_by_workspace - Get all labels attached to a specific workspace

Setup

API Token

Create a LeanIX API token for authentication.

Required environment variables (can be set in your shell or a .env file):

  • LEANIX_TOKEN - Your LeanIX API token
  • LEANIX_INSTANCE - Your LeanIX instance (e.g., 'app', 'demo-eu-1', defaults to 'app')

Example .env:

LEANIX_TOKEN=your-api-token-here
LEANIX_INSTANCE=app

Usage with Claude Desktop

To use this with Claude Desktop, add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "leanix-mtm": {
      "command": "npx",
      "args": [
        "-y",
        "leanix-mtm-mcp@latest"
      ],
      "env": {
        "LEANIX_TOKEN": "your-api-token-here",
        "LEANIX_INSTANCE": "eu-8"
      }
    }
  }
}

Run locally

Build:

npm run build

Use the mcp inspector:

npm run inspector

Features

  • ✅ Read-only operations (no data modifications)
  • ✅ Comprehensive pagination support
  • ✅ Extensive filtering options
  • ✅ OAuth 2.0 authentication with automatic token refresh
  • ✅ Proper error handling
  • ✅ TypeScript support

License

This MCP server is licensed under the MIT License. See LICENSE for details.