
brack101/aspenplus-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP(Model Context Protocol) 서버는 Aspen Plus 프로세스 시뮬레이션 통합을 위한 서버입니다. 이 서버는 표준 인터페이스를 통해 Aspen Plus 시뮬레이션과 상호 작용할 수 있는 AI 조수가 가능합니다.
개요
MCP(Model Context Protocol) 서버는 Aspen Plus 프로세스 시뮬레이션 통합을 위한 서버입니다. 이 서버는 표준 인터페이스를 통해 Aspen Plus 시뮬레이션과 상호 작용할 수 있는 AI 조수가 가능합니다. - : 개방, 실행 및 관리 Aspen Plus 시뮬레이션 - : 읽기 및 쓰기 스트림 속성, 블록 매개 변수, 및 시뮬레이션 결과 - : 생성, 삭제 및 장비 블록 및 스트림 (enhanced mode) - : 믹서, 히터, Flash2, Radfrac, DSTWU, RPLUG, RCSTR, RYIELD - : Aspen Plus에 Claude 및 기타 AI 조수를 연결합니다. - 파이썬 3.
개요(AI 번역)
MCP(Model Context Protocol) 서버는 Aspen Plus 프로세스 시뮬레이션 통합을 위한 서버입니다. 이 서버는 표준 인터페이스를 통해 Aspen Plus 시뮬레이션과 상호 작용할 수 있는 AI 조수가 가능합니다.
특징
-Process Simulation Control: 오픈, 실행, 관리 Aspen Plus 시뮬레이션
- Data Access: 읽기 및 쓰기 스트림 속성, 블록 매개 변수 및 시뮬레이션 결과
- Flowsheet Manipulation: 생성, 삭제, 연결 장비 블록 및 스트림 (enhanced mode)
- 장비 지원: 믹서, 히터, Flash2, Radfrac, DSTWU, RPLUG, RCSTR, RYIELD
- AI 통합: Aspen Plus에 Claude 및 기타 AI 조수 연결
요구 사항
- Python 3.10 이상
- Windows OS (아스펜 플러스 COM 공용영역을 위해)
- Aspen Plus 설치
- pywin32 패키지
설치
-
Clone 이 저장소:
-
가상 환경을 만듭니다:
-
포장을 설치하십시오:
사용법
서버 실행
사용 가능한 도구
기본 모드 도구
open_simulation- Aspen Plus 시뮬레이션 파일 열기 ([T1]])run_simulation- 현재 시뮬레이션을 실행get_value- 노드 경로를 사용하여 시뮬레이션에서 값을 가져옵니다.set_value- 가장 값 설정
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
AspenPlus MCP Server
MCP (Model Context Protocol) server for Aspen Plus process simulation integration. This server enables AI assistants to interact with Aspen Plus simulations through a standardized interface.
Features
- Process Simulation Control: Open, run, and manage Aspen Plus simulations
- Data Access: Read and write stream properties, block parameters, and simulation results
- Flowsheet Manipulation: Create, delete, and connect equipment blocks and streams (enhanced mode)
- Equipment Support: Mixer, Heater, Flash2, Radfrac, DSTWU, RPLUG, RCSTR, RYIELD
- AI Integration: Connect Claude and other AI assistants to Aspen Plus
Requirements
- Python 3.10 or higher
- Windows OS (for Aspen Plus COM interface)
- Aspen Plus installed
- pywin32 package
Installation
- Clone this repository:
git clone
cd AspenPlus-MCP-Server
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install the package:
pip install -e .
Usage
Running the Server
python -m aspenplus_mcp.server
Available Tools
Basic Mode Tools
open_simulation- Open an Aspen Plus simulation file (setuse_enhanced: false)run_simulation- Run the current simulationget_value- Get a value from the simulation using a node pathset_value- Set a value in the simulationclose_simulation- Close the current simulation
Enhanced Mode Tools (requires use_enhanced: true)
place_block- Add a new equipment block to the flowsheetdelete_block- Remove an equipment block from the flowsheetplace_stream- Add a new stream to the flowsheetconnect_stream- Connect a stream to a block portsave_simulation- Save the simulation to file
Example Node Paths
# Stream temperature
\\Data\\Streams\\S1\\Output\\TEMP_OUT\\MIXED\\MIXED
# Block parameter
\\Data\\Blocks\\B1\\Input\\TEMP
# Component flow rate
\\Data\\Streams\\S1\\Output\\MOLEFLOW\\MIXED\\WATER
Development
Install development dependencies:
pip install -e ".[dev]"
Run tests:
pytest
Format code:
black src/
Configuration with Claude Desktop
Add to your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"aspenplus": {
"command": "C:\\path\\to\\AspenPlus-MCP-Server\\venv\\Scripts\\python.exe",
"args": [
"-m",
"aspenplus_mcp.server"
]
}
}
}
Important Notes:
- Use the full absolute path to your virtual environment’s Python executable
- On Windows, use double backslashes (
\\) in paths or forward slashes (/) - After editing the config file, restart Claude Desktop completely
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"aspenplus": {
"command": "C:\\path\\to\\AspenPlus-MCP-Server\\venv\\Scripts\\python.exe",
"args": [
"-m",
"aspenplus_mcp.server"
]
}
}
}