Socket
Book a DemoInstallSign in
Socket

@trimble-oss/modus-mcp-server

Package Overview
Dependencies
Maintainers
7
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trimble-oss/modus-mcp-server

An MCP server providing information about Modus React form and UI components

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
7
Created
Source

Modus MCP Server

An MCP (Model Context Protocol) server providing comprehensive information about Modus Design System React components, including properties, events, usage examples, and installation guidelines.

Features

  • 🎨 Complete Component Library: Access to all Modus 2.0 Web Components
  • 📚 Rich Documentation: Properties, events, methods, and usage examples
  • 🔍 Icon Search: Search through Modus icon library with prefix filtering
  • 📖 Installation Guidelines: Step-by-step setup instructions
  • 🚀 stdio Transport: Optimized for local MCP client integration

Installation

npm install -g modus-mcp-server

Local Installation

npm install modus-mcp-server

Usage

With Claude Desktop

Add the following configuration to your IDE :

{
  "mcpServers": {
    "modus-components": {
      "command": "npx",
      "args": ["-y", "modus-mcp-server@latest"]
    }
  }
}

Alternative for Windows (if npx doesn't work):

{
  "mcpServers": {
    "modus-components": {
      "command": "node",
      "args": ["-p", "require('modus-mcp-server/dist/index.js')"]
    }
  }
}

Manual Execution

# If installed globally
modus-mcp-server

# If installed locally
npx modus-mcp-server

Available Tools

1. getting_started_guidelines

Get comprehensive installation and setup guidelines for Modus components.

Usage:

Use the getting_started_guidelines tool to get setup instructions.

2. get_list_of_all_modus_components

Retrieve a complete list of all available Modus components.

Usage:

Use get_list_of_all_modus_components to see all available components.

3. get_component_details

Get detailed information about a specific component including properties, events, and usage examples.

Parameters:

  • component_name (required): The name of the Modus component
  • framework (optional): Target framework ('react' or 'angular', defaults to 'react')

Usage:

Use get_component_details with component_name "ModusWcButton" to get button component details.

4. get_modus_icons_by_char

Search for Modus icons by character prefix.

Parameters:

  • char_prefix (optional): Character prefix to filter icons (e.g., "arrow", "check")

Usage:

Use get_modus_icons_by_char with char_prefix "arrow" to find arrow-related icons.

Development

Building from Source

# Clone the repository
git clone https://github.com/your-org/modus-mcp-server
cd modus-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

Project Structure

modus-mcp-server/
├── src/
│   ├── index.ts              # Main MCP server
│   └── modules/
│       └── component-registry.ts  # Component data management
├── knowledge-base/           # Modus component documentation
│   ├── modus2_components.json
│   ├── modus2_react_KB.md
│   ├── modus_icons.json
│   └── Modus2_guidelines.md
├── dist/                     # Compiled JavaScript
├── package.json
└── tsconfig.json

Configuration

The server uses stdio transport for seamless integration with MCP clients like Claude Desktop. No additional configuration is required for basic usage.

Troubleshooting

Common Issues

  • Command not found: Ensure the package is installed globally or use npx
  • Permission errors: On Unix systems, you may need to run with appropriate permissions
  • Path issues: The server automatically resolves knowledge base paths relative to the package installation

Debug Mode

The server outputs debug information to stderr, which won't interfere with MCP communication but can help with troubleshooting:

modus-mcp-server 2> debug.log

License

MIT License - see LICENSE file for details.

Contributing

  • Fork the repository
  • Create a feature branch
  • Make your changes
  • Add tests if applicable
  • Submit a pull request

Support

For issues and questions:

  • GitHub Issues: Create an issue
  • Modus Design System: Official Documentation

Changelog

v1.0.1

  • Critical Fix: Resolved MCP protocol initialization error
  • Improved schema validation with additionalProperties: false
  • Improved the Readme file.
  • Fixed the Knowledge Base Modus Card error

v1.0.0

  • Initial release
  • stdio transport support
  • Complete Modus 2.0 component library
  • Icon search functionality
  • Installation guidelines

Keywords

mcp

FAQs

Package last updated on 18 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.