RevitClaw.MCPServer
1.0.2
{ "servers": { "RevitClaw.MCPServer": { "type": "stdio", "command": "dnx", "args": ["RevitClaw.MCPServer@1.0.2", "--yes"] } } }
This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's
.vscode/mcp.json settings file.
dotnet tool install --global RevitClaw.MCPServer --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local RevitClaw.MCPServer --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RevitClaw.MCPServer&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package RevitClaw.MCPServer --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 会生成:
- 主包:
RevitClaw.MCPServer.<version>.nupkg- 类型:
DotnetTool+McpServer - 作用:工具入口和 MCP 元数据(含
.mcp/server.json)
- 类型:
- 平台包:
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
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.2 | 207 | 3/14/2026 |