Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@alps-asd/mcp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alps-asd/mcp

ALPS MCP Server - Model Context Protocol server for ALPS profile tools

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

@alps-asd/mcp

Model Context Protocol (MCP) server for ALPS profile development. Provides AI assistants with tools to validate and generate diagrams from ALPS profiles.

Requirements

  • Node.js 20 or higher

Installation

npm install @alps-asd/mcp

Usage with Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "alps": {
      "command": "npx",
      "args": ["@alps-asd/mcp"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "alps": {
      "command": "alps-mcp"
    }
  }
}

Troubleshooting

If you encounter errors, first verify your Node.js version:

node --version  # Should be v20.0.0 or higher
which npx       # Verify npx is in your PATH

If using nvm, ensure the correct version is active:

nvm use 20

Available Tools

validate_alps

Validate an ALPS profile and get detailed error feedback.

Parameters:

  • alps_content (required): ALPS profile content (XML or JSON format)

Example prompt:

"Validate this ALPS profile and tell me if there are any errors"

Response includes:

  • Errors (E-codes): Must be fixed for valid profile
  • Warnings (W-codes): Best practice violations
  • Suggestions (S-codes): Optional improvements

alps2svg

Generate an SVG state diagram from an ALPS profile.

Parameters:

  • alps_content: ALPS profile content (XML or JSON format)
  • alps_path: Path to ALPS profile file (alternative to alps_content)

Example prompt:

"Generate a state diagram from my ALPS profile at ./api.json"

alps_guide

Get ALPS best practices and reference guide.

Parameters: None

Example prompt:

"Show me ALPS best practices for naming transitions"

Example Workflow

  • Ask the AI to validate your ALPS profile:

    "Validate the ALPS profile in ./my-api.json"

  • Fix any reported errors

  • Generate a diagram:

    "Create an SVG diagram from ./my-api.json"

  • Get guidance on improvements:

    "How should I name my transitions in ALPS?"

Validation Codes

CodeSeverityDescription
E001ErrorMissing id or href
E002ErrorMissing rt for transition
E003ErrorInvalid type value
E004ErrorBroken reference
E005ErrorDuplicate id
E008ErrorMissing alps property
E009ErrorMissing descriptor array
E011ErrorTag must be string
W001WarningMissing title
W002WarningSafe transition should start with "go"
W003WarningUnsafe/idempotent should start with "do"
S001SuggestionConsider adding doc to transition

See Validation Reference for detailed explanations.

Dependencies

License

MIT

Keywords

alps

FAQs

Package last updated on 07 Mar 2026

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