What runtime environment is required?
需要 Visual Studio 和 Revit API 引用,编译后的 DLL 需放置在 Revit 的 MCP 文件夹中。
@ZedMoster
Basic information
Revit MCP Server
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
本文档是一个指南,说明如何创建实现 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 可序列化数据。
示例使用硬编码的偏移量单位毫米(转换为英尺),需确保参数名称与代码一致。
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
🚀 The fast, Pythonic way to build MCP servers and clients.

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Comments