斑点 MCP 服务器
用于与 Speckle(与您的 AEC 工具连接的协作数据中心)交互的模型上下文协议 (MCP) 服务器。
概述
该 MCP 服务器充当 Speckle 的 API 和客户端应用程序之间的桥梁,并公开了一组允许用户执行以下操作的工具:
列出并搜索 Speckle 项目
检索详细项目信息
访问项目内的模型版本
从特定版本检索和查询对象及其属性
安装
先决条件
Python 3.13 或更高版本
带有个人访问令牌的 Speckle 帐户
uv 用于依赖管理和虚拟环境
设置
克隆此存储库:
git clone https://github.com/bimgeek/speckle-mcp.git cd speckle-mcp确保已安装 Python 3.13:
python --version # Should show Python 3.13.x使用 uv 安装依赖项:
uv pip install -r requirements.txt
配置
环境变量
服务器需要以下环境变量:
SPECKLE_TOKEN
:您的 Speckle 个人访问令牌(必需)SPECKLE_SERVER
:Speckle 服务器 URL(默认为https://app.speckle.systems )
MCP 配置
要将此服务器与 Claude 一起使用,您需要更新 MCP 配置文件。配置文件通常位于:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:
%APPDATA%\Claude\claude_desktop_config.json
在mcpServers
部分中添加或更新“speckle”条目:
将/path/to/speckle-mcp
替换为包含speckle_mcp
包的目录的实际路径。
可用工具
项目
list_projects
:列出所有可访问的 Speckle 项目参数:
limit
(可选):要检索的最大项目数(默认值:20)
get_project_details
:检索有关特定项目的详细信息参数:
project_id
:要检索的 Speckle 项目的 IDlimit
(可选):要检索的最大模型数量(默认值:20)
search_projects
:按名称或描述搜索项目参数:
query
:在项目名称和描述中查找的搜索词
模型
get_model_versions
:列出特定模型的所有版本参数:
project_id
:Speckle 项目的 IDmodel_id
:要检索版本的模型的 IDlimit
(可选):要检索的最大版本数(默认值:20)
对象
get_version_objects
:从特定版本检索对象参数:
project_id
:Speckle 项目的 IDversion_id
:从中检索对象的版本的 IDinclude_children
(可选):是否在响应中包含子对象(默认值:false)
query_object_properties
:查询版本中对象的特定属性参数:
project_id
:Speckle 项目的 IDversion_id
:从中检索对象的版本的 IDproperty_path
:属性的点符号路径(例如“elements.0.name”)
故障排除
如果遇到身份验证问题,请确保您的 Speckle 令牌有效并具有必要的权限
检查服务器日志以获取详细的错误消息
确保在 MCP 配置中正确设置环境变量
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Speckle 的 API 和客户端应用程序之间的桥梁,使用户能够从 AEC 工具的 Speckle 协作数据中心列出/搜索项目、访问模型版本以及检索/查询对象及其属性。
Related MCP Servers
- AsecurityAlicenseAqualityFacilitates interaction with Ethereum blockchain data via Etherscan's API, providing real-time access to balances, transactions, token transfers, contract ABIs, gas prices, and ENS name resolutions.Last updated -1026MIT License
- AsecurityAlicenseAqualityProvides Ethereum blockchain data tools via Etherscan's API, enabling users to check ETH balances, view transactions, track token transfers, fetch contract ABIs, monitor gas prices, and resolve ENS names.Last updated -101MIT License
- AsecurityAlicenseAqualityA tool that enables users to interact with blockchain data to retrieve token total supply, chain IDs, and filtered RPC endpoints across different blockchain networks.Last updated -613MIT License
- AsecurityAlicenseAqualityIt interacts with the Kaggle API to provide tools for searching and downloading datasets, and a prompt for generating EDA notebooks.Last updated -224MIT License