Skip to main content
Glama

Speckle MCP Server

by bimgeek

斑点 MCP 服务器

用于与 Speckle(与您的 AEC 工具连接的协作数据中心)交互的模型上下文协议 (MCP) 服务器。

概述

该 MCP 服务器充当 Speckle 的 API 和客户端应用程序之间的桥梁,并公开了一组允许用户执行以下操作的工具:

  • 列出并搜索 Speckle 项目
  • 检索详细项目信息
  • 访问项目内的模型版本
  • 从特定版本检索和查询对象及其属性

安装

先决条件

  • Python 3.13 或更高版本
  • 带有个人访问令牌的 Speckle 帐户
  • uv 用于依赖管理和虚拟环境

设置

  1. 克隆此存储库:
    git clone https://github.com/bimgeek/speckle-mcp.git cd speckle-mcp
  2. 确保已安装 Python 3.13:
    python --version # Should show Python 3.13.x
  3. 使用 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”条目:

{ "mcpServers": { "speckle": { "command": "uv", "args": [ "--directory", "/path/to/speckle-mcp", "run", "speckle_server.py" ], "env": { "SPECKLE_TOKEN": "YOUR_SPECKLE_API_TOKEN_HERE", "SPECKLE_SERVER": "https://app.speckle.systems" } } } }

/path/to/speckle-mcp替换为包含speckle_mcp包的目录的实际路径。

可用工具

项目

  • list_projects :列出所有可访问的 Speckle 项目
    • 参数:
      • limit (可选):要检索的最大项目数(默认值:20)
  • get_project_details :检索有关特定项目的详细信息
    • 参数:
      • project_id :要检索的 Speckle 项目的 ID
      • limit (可选):要检索的最大模型数量(默认值:20)
  • search_projects :按名称或描述搜索项目
    • 参数:
      • query :在项目名称和描述中查找的搜索词

模型

  • get_model_versions :列出特定模型的所有版本
    • 参数:
      • project_id :Speckle 项目的 ID
      • model_id :要检索版本的模型的 ID
      • limit (可选):要检索的最大版本数(默认值:20)

对象

  • get_version_objects :从特定版本检索对象
    • 参数:
      • project_id :Speckle 项目的 ID
      • version_id :从中检索对象的版本的 ID
      • include_children (可选):是否在响应中包含子对象(默认值:false)
  • query_object_properties :查询版本中对象的特定属性
    • 参数:
      • project_id :Speckle 项目的 ID
      • version_id :从中检索对象的版本的 ID
      • property_path :属性的点符号路径(例如“elements.0.name”)

故障排除

  • 如果遇到身份验证问题,请确保您的 Speckle 令牌有效并具有必要的权限
  • 检查服务器日志以获取详细的错误消息
  • 确保在 MCP 配置中正确设置环境变量

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。

-
security - not tested
F
license - not found
-
quality - not tested

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 协作数据中心列出/搜索项目、访问模型版本以及检索/查询对象及其属性。

  1. 概述
    1. 安装
      1. 先决条件
      2. 设置
    2. 配置
      1. 环境变量
      2. MCP 配置
    3. 可用工具
      1. 项目
      2. 模型
      3. 对象
    4. 故障排除
      1. 执照

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          MCP-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 -
          13
          17
          17
          TypeScript
          MIT License
        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol server that enables searching and retrieving information from DevRev using its APIs with Claude.
          Last updated -
          2
          2
          Python
          • Apple
        • -
          security
          F
          license
          -
          quality
          An 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
          • Apple
        • A
          security
          A
          license
          A
          quality
          Provides 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 -
          5
          111
          Python
          MIT License
          • Linux
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/bimgeek/speckle-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server