斑点 MCP 服务器
用于与 Speckle(与您的 AEC 工具连接的协作数据中心)交互的模型上下文协议 (MCP) 服务器。
概述
该 MCP 服务器充当 Speckle 的 API 和客户端应用程序之间的桥梁,并公开了一组允许用户执行以下操作的工具:
- 列出并搜索 Speckle 项目
- 检索详细项目信息
- 访问项目内的模型版本
- 从特定版本检索和查询对象及其属性
安装
先决条件
- Python 3.13 或更高版本
- 带有个人访问令牌的 Speckle 帐户
- uv 用于依赖管理和虚拟环境
设置
- 克隆此存储库:
- 确保已安装 Python 3.13:
- 使用 uv 安装依赖项:
配置
环境变量
服务器需要以下环境变量:
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
- AsecurityAlicenseAqualityMCP-compatible server that enables AI assistants to interact with Lightdash analytics data, providing tools to list and retrieve projects, spaces, charts, dashboards, and metrics through a standardized interface.Last updated -131717TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables searching and retrieving information from DevRev using its APIs with Claude.Last updated -22Python
- -securityFlicense-qualityAn MCP server that connects to your Notion knowledge base, allowing you to query and retrieve information directly from VSCode using the Cline extension.Last updated -Python
- AsecurityAlicenseAqualityProvides access to Prometheus metrics and queries through standardized Model Context Protocol interfaces, allowing AI assistants to execute PromQL queries and analyze metrics data.Last updated -5111PythonMIT License