
sap/aas-mcp-server
API developmentこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
モデルコンテキストプロトコルツールとして設定されたアセット管理シェル API を公開する AAS MCP アダプターで、LLM エージェントが AAS 準拠バックエンドとやり取りできるようにします.
概要
アセット管理シェル(AAS) API 用の OpenAPI-to-MCP ブリッジ モデルコンテキストプロトコルツールとして設定されたアセット管理シェル API を公開する AAS MCP アダプターで、LLM エージェントが AAS 準拠バックエンドとやり取りできるようにします。 1. - IDTA パート 2 API は、管理者-shell-io/aas-specs-api の git タグから、API ごとに 1 つのファイル (npx の git 、 perl 、 Node.js ) にバンドルされます。 - SAP BNAC AAS Server、 Eclipse BaSyx、 FA3ST サービスなど 3。 OR ステップ 3 を繰り返す SPEC は、各コンポーネントのファイルに設定します。例えば、SubmodelRepositorySpecification/V3.2 SSP-001.yaml、AssetAdministrationShellRegistryServiceSpecification/V3.2 SSP-001.yaml、SubmodelRegistryServiceSpecification/V3.2 SSP-001.yaml、ConceptDescriptionRepositoryServiceSpecification/V3.2 SSP-001.yaml、またはSpecificationServiceSpecification/V3.2 SSP-001.yaml、SubmodelRegistryServiceSpecification/V3.2 SSP-001.yaml。 ファイル名はマイナーバージョンのみ(V3.2 SSP-001.yaml for all v3.2.x タグ)を持ちますので、タグはフォルダー名に行きます.
概要(AI 翻訳)
このプロジェクトについて
アセット管理シェル(AAS)API用のOpenAPI-to-MCPブリッジ
モデルコンテキストプロトコルツールとして設定されたアセット管理シェル API を公開する AAS MCP アダプターで、LLM エージェントが AAS 準拠バックエンドとやり取りできるようにします。
要件とセットアップ
前提条件
1。AAS OpenAPI仕様 - IDTAパート2 APIは、管理-shell-io/aas-specs-apiのgitタグから、APIごとの1つのファイル([[[[T0]の[Neds git、perl、Node.js])にバンドルされる。 2.AASバックエンドサーバー - SAP BNAC AAS Server、Eclipse BaSyx、FA3STサービスなど 3。 Python 3.12+ OR ドッカー
セットアップ
1.AASの指定を得て下さい:
SPEC でステップ 3 を繰り返します。
SubmodelRepositoryServiceSpecification/V3.2_SSP-001.yaml,
[AssetAdministrationShellRegistryServiceSpecification/V3.2_SSP-001.yaml],
[SubmodelRegistryServiceSpecification/V3.2_SSP-001.yaml],
[[T5] または
[DiscoveryServiceSpecification/V3.2_SSP-001.yaml]。
ファイル名はマイナーバージョンのみ ([[T7]) を全て保持します
v3.2.x タグ) なので、タグはフォルダー名に行きます。 利用できる札:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
AAS MCP Server
About this project
OpenAPI-to-MCP bridge for Asset Administration Shell (AAS) APIs
An AAS MCP adapter that exposes configured Asset Administration Shell APIs as Model Context Protocol tools, enabling LLM agents to interact with any AAS-compliant backend.
Requirements and Setup
Prerequisites
- AAS OpenAPI Specifications - the IDTA Part 2 API specs from the git tags of admin-shell-io/aas-specs-api, bundled into one file per API (needs git, perl and Node.js for
npx) - AAS Backend Server - SAP BNAC AAS Server, Eclipse BaSyx, FA³ST Service, etc.
- Python 3.12+ OR Docker
Setup
-
Get AAS Specifications:
TAG=v3.2.0 SPEC=AssetAdministrationShellRepositoryServiceSpecification/V3.2_SSP-001.yaml # 1. Clone the tag (a throwaway copy, step 2 edits it) git clone -q --depth 1 --branch "$TAG" \ https://github.com/admin-shell-io/aas-specs-api "aas-specs-api-$TAG" # 2. v3.1.x only (no-op for v3.2.0): use the shared schemas of the same tag # instead of fetching them from SwaggerHub find "aas-specs-api-$TAG" -name '*.yaml' -exec perl -pi -e \ 's#https://api\.swaggerhub\.com/domains/Plattform_i40/(Part1-MetaModel-Schemas|Part2-API-Schemas)/V[0-9.]+#../$1/openapi.yaml#g' {} + # 3. Bundle into one self-contained file mkdir -p "specs/$TAG/$(dirname "$SPEC")" npx -y @redocly/[email protected] bundle "aas-specs-api-$TAG/$SPEC" -o "specs/$TAG/$SPEC"Repeat step 3 with
SPECset to the file of each other component, e.g.SubmodelRepositoryServiceSpecification/V3.2_SSP-001.yaml,AssetAdministrationShellRegistryServiceSpecification/V3.2_SSP-001.yaml,SubmodelRegistryServiceSpecification/V3.2_SSP-001.yaml,ConceptDescriptionRepositoryServiceSpecification/V3.2_SSP-001.yamlorDiscoveryServiceSpecification/V3.2_SSP-001.yaml. The file names carry the minor version only (V3.2_SSP-001.yamlfor all v3.2.x tags), so the tag goes into the folder name. Available tags:git ls-remote --tags https://github.com/admin-shell-io/aas-specs-api. -
Create config.yaml (copy from config.yaml.template):
components: aas-repo: official_spec: specs/v3.2.0/AssetAdministrationShellRepositoryServiceSpecification/V3.2_SSP-001.yaml curation: allowlist: - [get, "*"] # All GET operations (wildcard)
インストール
npx -y @redocly/[email protected] bundle "aas-specs-api-$TAG/$SPEC" -o "specs/$TAG/$SPEC"設定
{
"mcpServers": {
"aas-repo": {
"command": "aas-mcp-server",
"args": [
"--component", "aas-repo",
"--base-url", "http://localhost:8080",
"--config", "/path/to/your/config.yaml"
],
"env": { "LOG_LEVEL": "INFO" }
}
}
}