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-pathfinder-mcp-server

v1.0.0

Published

MCP Server for LeanIX Pathfinder API - Enterprise Architecture Management Platform

Readme

LeanIX Pathfinder MCP Server

Model Context Protocol (MCP) server for LeanIX Pathfinder API with 20+ enterprise architecture tools

🚀 Ready for Microsoft Copilot Studio integration with native MCP protocol support

What This Is

This is a complete MCP server that connects to your LeanIX Pathfinder instance, providing 20+ tools for enterprise architecture management. It works with:

  • Claude Desktop (stdio transport)
  • Microsoft Copilot Studio (streamable HTTP transport)
  • Any MCP-compatible client

Quick Start

1. Configuration

Create .env file:

LEANIX_BASE_URL=https://your-instance.leanix.net
LEANIX_CLIENT_ID=apitoken
LEANIX_CLIENT_SECRET=your-technical-user-token

2. Installation & Build

npm install
npm run build

3. Run the Server

For Claude Desktop (stdio):

npm start
# or in development:
npm run dev

For Microsoft Copilot Studio (HTTP):

npm run start:mcp
# or in development:
npm run dev:mcp

The HTTP server runs on http://localhost:3001 with endpoints:

  • GET /health - Health check
  • POST /mcp - MCP protocol endpoint

Available Tools (20+)

🔍 Search & Discovery

  • leanix_get_suggestions - Search applications, services, fact sheets
  • leanix_search_nodes - Advanced search with filtering

📊 Fact Sheet Management

  • leanix_list_fact_sheets - List all fact sheets
  • leanix_get_fact_sheet - Get detailed information
  • leanix_create_fact_sheet - Create new applications/services
  • leanix_update_fact_sheet - Update existing fact sheets
  • leanix_delete_fact_sheet - Remove fact sheets

🔗 Relationships & Dependencies

  • leanix_get_fact_sheet_relations - Get relationships
  • leanix_create_relations - Create new relationships

📈 Advanced Operations

  • leanix_execute_graphql - Custom GraphQL queries
  • leanix_get_data_model - Workspace data model
  • leanix_get_meta_model - Meta model information

🔖 Bookmarks & Views

  • leanix_list_bookmarks - List saved views
  • leanix_get_bookmark - Get bookmark details
  • leanix_create_bookmark - Create bookmarks
  • leanix_update_bookmark - Update bookmarks
  • leanix_delete_bookmark - Remove bookmarks

⚙️ System & Configuration

  • leanix_get_authorization - Check permissions
  • leanix_get_settings - Workspace settings
  • leanix_list_features - Available features

Integration Guides

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "leanix-pathfinder": {
      "command": "node",
      "args": ["C:/path/to/your/leanix-pathfinder-mcp-server/dist/index.js"],
      "env": {
        "LEANIX_BASE_URL": "https://your-instance.leanix.net",
        "LEANIX_CLIENT_ID": "apitoken",
        "LEANIX_CLIENT_SECRET": "your-technical-user-token"
      }
    }
  }
}

Microsoft Copilot Studio

  1. Deploy the HTTP server (Azure, AWS, Render, etc.)
  2. Use the OpenAPI spec in leanix-pathfinder-mcp.yaml
  3. Follow the native MCP integration (see docs/copilot-studio-mcp-native.md for details)

Development

# Install dependencies
npm install

# Run in development (stdio)
npm run dev

# Run HTTP server in development
npm run dev:mcp

# Build TypeScript
npm run build

# Run tests
npm test

Deployment

Local Testing

# Test stdio version
npm run build && npm start

# Test HTTP version
npm run build && npm run start:mcp
curl http://localhost:3001/health

Production Deployment

  1. Deploy to your cloud platform (Azure, AWS, Render, etc.)
  2. Set environment variables
  3. Ensure HTTPS is enabled
  4. Update your MCP client configuration

Project Structure

src/
├── index.ts                    # Main stdio MCP server (Claude Desktop)
├── streamable-server.ts        # HTTP MCP server (Copilot Studio)
├── client.ts                   # LeanIX API client with OAuth
├── types.ts                    # TypeScript type definitions
└── ...tool handlers...

Files You Actually Need

Essential files:

  • README.md - This file (main documentation)
  • package.json - Dependencies and scripts
  • tsconfig.json - TypeScript configuration
  • .env - Your LeanIX credentials
  • src/ - Source code
  • leanix-pathfinder-mcp.yaml - OpenAPI spec for Copilot Studio

Ignore these outdated files:

  • README-new.md - Outdated
  • PROJECT_COMPLETE.md - Outdated
  • SETUP_COMPLETE.md - Outdated
  • GITHUB_SETUP.md - Outdated

Support & Issues

  • GitHub Issues: Report problems
  • Repository: https://github.com/coredev21/leanix-pathfinder-mcp-server

License

MIT License - see LICENSE file for details.


Quick Reference Commands

# Build and run for Claude Desktop
npm run build && npm start

# Build and run for Copilot Studio
npm run build && npm run start:mcp

# Development mode
npm run dev        # stdio
npm run dev:mcp    # HTTP server

# Test health endpoint
curl http://localhost:3001/health

That's it! Everything you need is in this README. Ignore the other .md files.