使用说明
Elastica MCP服务器
基于Python的模型上下文协议(MCP)服务器,用于用自然语言控制Elastica软细长体物理模拟。
特性
- 通过MCP运行Elastica模拟
- 远程控制仿真参数
- 实时监控仿真状态
- 支持各种Elastica示例(包括连续蛇模型)
需求
- Python 3.10+
- PyElastica>=0.3.3
- 主控程序
- 紫外线(用于光源安装)
启动服务器
git clone https://github.com/skim0119/elastica-mcp-server.git
uv sync
elastica_mcp_server
# uvx --from git+https://github.com/skim0119/elastica-mcp-server@main elastica_mcp_server # not sure how to do this yet
mcp.json设置
{
"mcpServers": {
"elastica-simulation-server": {
"command": "elastica_mcp_server",
"args": []
}
}
}