What runtime environment is required?
需要 Visual Studio 和 Revit API 引用,编译后的 DLL 需放置在 Revit 的 MCP 文件夹中。
@ZedMoster
基本信息
Revit MCP Server
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
本文档是一个指南,说明如何创建实现 IMCPMethod 接口的 MCP DLL 文件,使其能够被 Revit 的 MCP 服务通过 CallFunc 方法动态调用。该 DLL 遵循 JSON-RPC 2.0 规范,适用于需要扩展 Revit 功能并通过大模型交互的开发者。
在 Visual Studio 中创建类库项目,引用相关 Revit API 和 MCP 公共库,实现 IMCPMethod 接口并编译生成 .dll 文件。将生成的 DLL 放入 Revit 指定的 MCP 文件夹中,即可通过 CallFunc 按提示词调用(如 {"name": "新增标高", "params": {"offset": 3000}})。
IMCPMethod 接口,提供 Execute 方法CallFunc 动态调用自定义 Revit 命令需要 Visual Studio 和 Revit API 引用,编译后的 DLL 需放置在 Revit 的 MCP 文件夹中。
创建一个类实现 `IMCPMethod` 接口,在构造函数中设置 `MethodName` 属性,并在 `Execute` 方法中编写逻辑。
参数通过 `request.Params` 以 `JObject` 形式传入,例如 `{ "offset": 3000 }`。
返回一个 `JsonRPCResponse` 对象,`Result` 属性可包含 `ElementModelRequest` 或其他 JSON 可序列化数据。
示例使用硬编码的偏移量单位毫米(转换为英尺),需确保参数名称与代码一致。
Painless E2E Automation for Mobile and Web

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Open-source MCP to use Blender with any LLM
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
评论