RevitClaw.MCPServer.win-x64 1.0.2

dotnet add package RevitClaw.MCPServer.win-x64 --version 1.0.2
                    
NuGet\Install-Package RevitClaw.MCPServer.win-x64 -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RevitClaw.MCPServer.win-x64" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RevitClaw.MCPServer.win-x64" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="RevitClaw.MCPServer.win-x64" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RevitClaw.MCPServer.win-x64 --version 1.0.2
                    
#r "nuget: RevitClaw.MCPServer.win-x64, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RevitClaw.MCPServer.win-x64@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RevitClaw.MCPServer.win-x64&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=RevitClaw.MCPServer.win-x64&version=1.0.2
                    
Install as a Cake Tool

RevitClaw.MCPServer

RevitClaw 的 MCP stdio 服务器。

功能

  • 提供 DeleteElements 工具(参数:elementIds
  • 通过本地 Socket 与 Revit 端服务通信(长度前缀 + JSON-RPC)
  • 使用 stdio 作为 MCP 传输层

本地运行

在项目输出目录(包含 nupkg 子目录)执行:

dotnet dnx RevitClaw.MCPServer@1.0.1 --yes --add-source ./nupkg

包发布说明

为什么会看到两个包

使用当前发布配置(PackAsTool + RuntimeIdentifiers + SelfContained)时,dotnet pack 会生成:

  1. 主包:RevitClaw.MCPServer.<version>.nupkg
    • 类型:DotnetTool + McpServer
    • 作用:工具入口和 MCP 元数据(含 .mcp/server.json
  2. 平台包:RevitClaw.MCPServer.win-x64.<version>.nupkg
    • 类型:DotnetToolRidPackage
    • 作用:实际可执行负载(例如 server.exe

这是 .NET Tool + RID 的标准行为,不是重复发布。

发布注意点

  • NuGet 版本不可覆盖,更新内容必须提升版本号(例如 1.0.1 -> 1.0.2)。
  • 发布时应同时推送主包和对应 RID 包,避免目标机器无法解析运行时负载。
  • 当前项目为 win-x64 定向发布,若要支持更多平台,需要扩展 RuntimeIdentifiers 并推送对应 RID 包。
  • 推荐先本地验证:
dotnet dnx RevitClaw.MCPServer@1.0.1 --yes --add-source ./nupkg

许可证

MIT

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 223 3/13/2026