Skip to main content
Glama

Vault MCP 服务器

一个 MCP (模型上下文协议) 服务器,它将 Autodesk Vault REST API 操作公开为工具,使 Claude 等 AI 助手能够浏览、搜索和读取 Autodesk Vault 服务器中的数据。

先决条件

  • Python 3.10+

  • 已启用 REST API 访问的 Autodesk Vault 服务器

  • 具有相应权限的 Vault 用户凭据

Related MCP server: Autodesk Build MCP Server

安装

pip install -r requirements.txt

配置

在运行服务器之前编辑 config.json。所有字段均为必填项。

{
    "vault": {
        "servername": "VaultServer",
        "username": "Administrator",
        "password": "your-password-here",
        "database": "Inventor"
    },
    "server": {
        "host": "0.0.0.0",
        "port": 8080
    },
    "logging": {
        "level": "INFO",
        "file": "Log/mcp_server.log"
    }
}

字段

描述

vault.servername

Vault 服务器的主机名或 IP

vault.username

Vault 登录用户名

vault.password

Vault 登录密码

vault.database

Vault 数据库名称 (例如 Inventor, Vault)

server.host

SSE 模式的绑定地址 (0.0.0.0 = 所有接口)

server.port

SSE HTTP 服务器的端口 (默认 8080)

logging.level

日志详细程度: DEBUG, INFO, WARNING 或 ERROR

logging.file

轮转日志文件的路径

运行服务器

SSE 模式 (Claude Code / 远程客户端)

这是默认模式。它启动一个 HTTP 服务器,MCP 客户端通过网络连接到该服务器。

python app.py

服务器将在以下地址可用:

  • WebServer: http://localhost:8080

  • SSE 端点: http://localhost:8080/sse

  • 消息端点: http://localhost:8080/messages

要使用自定义配置文件:

python app.py --config path/to/my_config.json

stdio 模式 (Claude Desktop)

对于 Claude Desktop,服务器作为通过 stdin/stdout 通信的子进程运行。

python app.py --transport stdio

连接到 Claude Code

将服务器添加到您的 Claude Code MCP 配置中 (.claude/settings.json 或通过 claude mcp add):

{
  "mcpServers": {
    "vault": {
      "type": "sse",
      "url": "http://localhost:8080/sse"
    }
  }
}

或者使用 CLI:

claude mcp add --transport sse vault http://localhost:8080/sse

连接到 Claude Desktop

将以下内容添加到您的 Claude Desktop 配置文件 (claude_desktop_config.json):

{
  "mcpServers": {
    "vault": {
      "command": "python",
      "args": [
        "C:/path/to/Vault MCP/app.py",
        "--transport", "stdio"
      ]
    }
  }
}

将 C:/path/to/Vault MCP/ 替换为该项目目录的实际路径。Claude Desktop 将自动作为子进程启动服务器。

可用工具

连接后,以下工具将公开给 AI 助手:

工具

描述

vault_get_server_info

获取 Vault 服务器版本和元数据

vault_sign_in

使用不同凭据进行身份验证

vault_sign_out

使当前会话失效

vault_list_vaults

列出所有可访问的 Vault

vault_get_vault

获取特定 Vault 的详细信息

vault_get_folder_contents

列出文件夹中的文件和子文件夹

vault_get_folder

获取特定文件夹的元数据

vault_get_file

获取特定文件的元数据

vault_get_file_versions

列出文件的所有版本

vault_get_file_download_url

获取文件的下载 URL

vault_search_files

在 Vault 文件中进行关键字搜索

vault_advanced_search

使用属性条件进行结构化搜索

vault_list_groups

列出 Vault 中的所有组

vault_get_group

获取特定组的详细信息

vault_list_users

列出 Vault 中的所有用户

vault_get_user

获取特定用户的详细信息

vault_list_property_definitions

列出用户定义的属性定义

vault_get_property_definition

获取特定属性定义

vault_search_items

搜索工程/BOM 物料

vault_get_item

获取特定工程物料的详细信息

vault_list_lifecycle_definitions

列出生命周期定义

vault_list_category_definitions

列出类别定义

日志

日志写入 Log/mcp_server.log (轮转,最大 5 MB × 5 个文件)。在 SSE 模式下,日志也会打印到控制台。在 stdio 模式下,仅写入文件 (stdout 保留给 MCP 协议)。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    • IncidentVault is incident management software (incident reporting and claims management) for multi-location businesses, with an MCP server that works with ChatGPT, Claude, Cursor and VS Code. Its MCP server lets Claude, ChatGPT and other MCP clients work with incidents, claims, cases, locations, policies, regulatory inspections, reports and dashboards, always limited to the signed-in user's role. Tools: incidentvault_dashboard (incident, claim, audit and follow-up workload), find_records (find incidents, claims, tasks or inspections), review_record (status, deadline, priority and audit percentage), search and fetch (operational records with citations), record_fields (allowed status and priority options), check_action (outcome of a submitted action) and workspace_profile (connected workspace). Connect in ChatGPT (web): Plugins (chatgpt.com/plugins) → + → Add custom MCP server → Server URL https://app.incidentvault.com/api/mcp/apps/chatgpt → Authentication: OAuth → create the plugin, install it and sign in. Connect in Claude: Settings → Connectors → Add custom connector → paste https://app.incidentvault.com/api/mcp/apps/claude → Connect and sign in. Cursor, VS Code and other clients: add https://app.incidentvault.com/api/mcp/apps/server as a remote HTTP MCP server. How to connect: an Admin enables MCP in IncidentVault and shares the connection details. Add IncidentVault in your assistant, sign in with OAuth, review the consent screen (read permissions preselected, write permissions off unless you opt in) and approve. Admins control approval rules, approved clients, masked fields and an emergency shutdown. Setup guide: https://incidentvault.com/ai-assistants-mcp-api/ Support: kcatolico@incidentvault.com

    • Connect ChatGPT or Claude to your CRM, store or shipping API. Keys stay out of the chat.

      https://apiunicon.online/mcp
    • Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…

    • Lets Claude, ChatGPT, and Muse read and update your beckett tasks, notes, calendar, and lists.

      https://api.yourbeckett.com/mcp

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants like Claude to interact with Autodesk Construction Cloud Build platform for construction project management, including issues tracking, RFIs, submittals, and document management through natural language.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Autodesk ACC (Autodesk Construction Cloud) through the APS toolkit, allowing users to query hubs, projects, files, and versions via natural language through Claude Desktop.
      22
      GPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude Desktop to interact with an Obsidian vault through the Local REST API, allowing file listing, reading, searching, creating, and updating markdown notes.
      MIT