SmartFactory-KL/aas-mcp
If you are the rightful owner of aas-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
aas-mcp is a Model Context Protocol (MCP) server designed to facilitate AI assistants in managing Asset Administration Shells (AAS) through the Eclipse BaSyx REST API.
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+
đ 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 Shellsget_shell
- Get a specific Shell by IDcreate_shell
- Create a new Shellupdate_shell
- Update an existing Shelldelete_shell
- Delete a Shell
Submodel Management
get_submodels
- Retrieve all Submodelsget_submodel
- Get a specific Submodel by IDcreate_submodel
- Create a new Submodelupdate_submodel
- Update an existing Submodeldelete_submodel
- Delete a Submodelget_submodel_value
- Get Submodel raw valueupdate_submodel_value
- Update Submodel valueget_submodel_metadata
- Get Submodel metadata
Submodel Element Management
get_submodel_elements
- Get all elements from a Submodelget_submodel_element
- Get a specific element by pathcreate_submodel_element
- Create a new elementupdate_submodel_element
- Update an existing elementdelete_submodel_element
- Delete an elementget_submodel_element_value
- Get element raw valueupdate_submodel_element_value
- Update element value
Reference Management
get_submodel_refs
- Get Submodel references from a Shellcreate_submodel_ref
- Create a Submodel referencedelete_submodel_ref
- Delete a Submodel reference
Health & Monitoring
get_health_status
- Check AAS environment healthis_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.