Skip to main content
Glama

aas-mcp is a Model Context Protocol (MCP) server that provides AI assistants with tools to interact with Asset Administration Shells (AAS) via the Eclipse BaSyx REST API.

This MCP server enables AI assistants to perform full CRUD operations on AAS Shells, Submodels, and Submodel Elements, making it ideal for industrial automation, digital twin management, and AAS-based workflows.

Features

  • 🤖 MCP Server with 25+ tools for comprehensive AAS management

  • 🔧 Full CRUD Operations on Shells, Submodels, and Submodel Elements

  • âš™ī¸ Health Monitoring tools for AAS environment status

  • 🔁 Seamless Integration with Eclipse BaSyx Environment REST API

  • 📡 AI-Ready tools designed for intelligent automation workflows

🚀 Installation

pip install aas-mcp

Requires: Python 3.10+

Related MCP server: mc8yp

🚀 Usage

Running the MCP Server

# Start the MCP server
aas-mcp

Available Tools

The MCP server provides 25+ tools for AAS management:

Shell Management

  • get_shells - Retrieve all AAS Shells

  • get_shell - Get a specific Shell by ID

  • create_shell - Create a new Shell

  • update_shell - Update an existing Shell

  • delete_shell - Delete a Shell

Submodel Management

  • get_submodels - Retrieve all Submodels

  • get_submodel - Get a specific Submodel by ID

  • create_submodel - Create a new Submodel

  • update_submodel - Update an existing Submodel

  • delete_submodel - Delete a Submodel

  • get_submodel_value - Get Submodel raw value

  • update_submodel_value - Update Submodel value

  • get_submodel_metadata - Get Submodel metadata

Submodel Element Management

  • get_submodel_elements - Get all elements from a Submodel

  • get_submodel_element - Get a specific element by path

  • create_submodel_element - Create a new element

  • update_submodel_element - Update an existing element

  • delete_submodel_element - Delete an element

  • get_submodel_element_value - Get element raw value

  • update_submodel_element_value - Update element value

Reference Management

  • get_submodel_refs - Get Submodel references from a Shell

  • create_submodel_ref - Create a Submodel reference

  • delete_submodel_ref - Delete a Submodel reference

Health & Monitoring

  • get_health_status - Check AAS environment health

  • is_healthy - Boolean health check

🔧 Configuration

MCP Client Configuration

To use this server with MCP clients like Claude Desktop, add it to your client's configuration:

{
  "mcpServers": {
    "aas-mcp": {
      "command": "aas-mcp",
      "env": {
        "SHELLSMITH_BASYX_ENV_HOST": "http://localhost:8081"
      }
    }
  }
}

â„šī¸ Change the value of SHELLSMITH_BASYX_ENV_HOST to match your BaSyx Environment host URL

The configuration format is similar for other MCP clients like LM Studio.

BaSyx Environment Configuration

The MCP server connects to an Eclipse BaSyx environment. The default host is:

http://localhost:8081

You can override it in several ways:

  • Set the environment variable:

    export SHELLSMITH_BASYX_ENV_HOST=https://your-host:1234
  • Create a .env file in your working directory with:

    SHELLSMITH_BASYX_ENV_HOST=https://your-host:1234

Each tool also accepts a host parameter to override the default configuration dynamically.

🤝 Contributing

We welcome contributions! Please see our contributing guidelines for setup, testing, and coding standards.

Available Tools

25 tools
create_shellB

Creates a new Shell on the AAS server.

Corresponds to: POST /shells

Inputs: shell (required), host. Returns: object

create_submodelB

Creates a new Submodel on the AAS server.

Corresponds to: POST /submodels

Inputs: submodel (required), host. Returns: object

create_submodel_elementA

Creates a Submodel element.

If id_short_path is given, creates the element at that nested path. Otherwise, creates the element at the root level.

Corresponds to: POST /submodels/{submodel_id}/submodel-elements POST /submodels/{submodel_id}/submodel-elements/{idShortPath}

Inputs: element (required), submodel_id (required), host, encode, +1 more.

create_submodel_refA

Creates a submodel reference for a specific Shell.

Corresponds to: POST /shells/{shell_id}/submodel-refs

Inputs: shell_id (required), submodel_ref (required), host, encode.

delete_shellA

Deletes a specific Shell by its ID.

Corresponds to: DELETE /shells/{shell_id}

Inputs: shell_id (required), host, encode.

delete_submodelB

Deletes a specific Submodel by its ID.

Corresponds to: DELETE /submodels/{submodel_id}

Inputs: submodel_id (required), host, encode.

delete_submodel_elementB

Deletes a specific Submodel element by its idShort path.

Corresponds to: DELETE /submodels/{submodel_id}/submodel-elements/{idShortPath}

Inputs: submodel_id (required), id_short_path (required), host, encode.

delete_submodel_refB

Deletes a specific submodel reference from a Shell.

Corresponds to: DELETE /shells/{shell_id}/submodel-refs/{submodel_id}

Inputs: shell_id (required), submodel_id (required), host, encode.

get_health_statusB

Check health status of the AAS environment.

Inputs: host, timeout. Returns: result

get_shellB

Retrieves a specific Shell by its ID.

Corresponds to: GET /shells/{shell_id}

Inputs: shell_id (required), host, encode. Returns: object

get_shellsA

Retrieves all Shells from the AAS server.

Corresponds to: GET /shells

Inputs: host. Returns: object

get_submodelA

Retrieves a specific Submodel by its ID.

Corresponds to: GET /submodels/{submodel_id}

Inputs: submodel_id (required), host, encode. Returns: object

get_submodel_elementB

Retrieves a specific Submodel element by its idShort path.

Corresponds to: GET /submodels/{submodel_id}/submodel-elements/{id_short_path}

Inputs: submodel_id (required), id_short_path (required), host, encode. Returns: object

get_submodel_elementsA

Retrieves all Submodel elements from a specific Submodel.

Corresponds to: GET /submodels/{submodel_id}/submodel-elements

Inputs: submodel_id (required), host, encode. Returns: object

get_submodel_element_valueA

Retrieves the raw value of a specific Submodel element.

Corresponds to: GET /submodels/{submodel_id}/submodel-elements/{idShortPath}/$value

Inputs: submodel_id (required), id_short_path (required), host, encode. Returns: result

get_submodel_metadataA

Retrieves the metadata of a specific Submodel.

Corresponds to: GET /submodels/{submodel_id}/$metadata

Inputs: submodel_id (required), host, encode. Returns: object

get_submodel_refsA

Retrieves all submodel references from a specific Shell.

Corresponds to: GET /shells/{shell_id}/submodel-refs

Inputs: shell_id (required), host, encode. Returns: object

get_submodelsA

Retrieves all Submodels from the AAS server.

Corresponds to: GET /submodels

Inputs: host. Returns: object

get_submodel_valueA

Retrieves the raw value of a specific Submodel.

Corresponds to: GET /submodels/{submodel_id}/$value

Inputs: submodel_id (required), host, encode. Returns: object

is_healthyB

Check if the AAS environment is ready for requests.

Inputs: host, timeout. Returns: result

update_shellA

Updates an existing Shell on the AAS server by its ID.

Corresponds to: PUT /shells/{shell_id}

Inputs: shell (required), shell_id (required), host, encode.

update_submodelC

Updates an existing Submodel by its ID.

Corresponds to: PUT /submodels/{submodel_id}

Inputs: submodel (required), submodel_id (required), host, encode.

update_submodel_elementA

Updates or creates a Submodel element by full replacement.

Corresponds to: PUT /submodels/{submodel_id}/submodel-elements/{idShortPath}

Inputs: element (required), submodel_id (required), id_short_path (required), host, +1 more.

update_submodel_element_valueA

Updates the value of a specific Submodel element.

Corresponds to: PATCH /submodels/{submodel_id}/submodel-elements/{id_short_path}/$value

Inputs: value (required), submodel_id (required), id_short_path (required), host, +1 more.

update_submodel_valueB

Updates the value of a specific Submodel.

Corresponds to: PATCH /submodels/{submodel_id}/$value

Inputs: value (required), submodel_id (required), host, encode.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogâ€Ļ

    TDQS

    B3.4/5.0

    Scored across 25 tools

    Disambiguation3/5

    Most tools are clearly distinct, but update_submodel_element can also create elements, overlapping with create_submodel_element. Additionally, get_health_status and is_healthy serve similar purposes, which could cause confusion.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern, with plural forms for list operations (e.g., get_shells, get_submodels) and singular forms for specific items. The naming is predictable and uniform across the entire set.

    Tool Count3/5

    With 25 tools, the server sits at the high end of the acceptable range. The domain is broad, but the count feels heavy, especially with multiple variants for value, metadata, and elements.

    Completeness4/5

    The tool set covers CRUD for all main resources: shells, submodels, submodel elements, and submodel references. Minor gaps exist, such as lacking an update operation for submodel references and metadata access for elements, but core workflows are well supported.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server enabling AI assistants to perform CRUD operations on a Supabase database via a standardized interface.
      196
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for BESSER low-code platform enabling AI assistants to create, manipulate, and generate code from domain models through natural language. Supports model creation, deletion, and multi-language code generation (SQL, Python, Java, etc.) via the Model Context Protocol.
      8
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A config-driven MCP server that exposes OData and REST APIs as MCP tools, enabling AI assistants to query, manage, and monitor SAP backends through natural language.
      33
      MIT