MS

mcp-servers-for-revit/mcp-server-for-revit-dotnet

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

7 stars 8 forks 质量 34 趋势 15

This is a mcp project by using c# full stack, also is a tutorial about how to use mcp in revit

概览

1. Fix The Muti-Version Build Failed : Thats The the net8.0 | net11.0-windows contains the require keyword , but cant use this keyword in <= 10.0 c# version 2. Add Setup Video - Change The Version Change The Version - Move The Addin File Or Change Target Output Path in .csproj Move Add-In File - Run Command (Better Eng) Run Command 1. Fix The Project Than Cant Run Success , Reason : the server path was not auto adaptive to other user 2. ReWrite The RevitTest Project , Also Add The .addin File To User - Addin File 3. Add The Function That can read api_key file 4. Other detail Can Read : - NET.MCP.CLinet Update - Revit Process Update 5. Change Solution To Muti-Version - NET.Mcp.Client - NET.Mcp.Server - RevitTest.csproj 6. Add New Utility File - ConvertRevitCommand.cs - FileUtility.cs - IRevitCommand.cs - RequestHandler.cs 7. In Revit 2026 , The Sturucture Was Refernce NewtonSoft 13.0.1 . So If Project Ref. Others Version , Will Throw Error : File Was Loaded ..... 8.

README

以下为原文 README 节选,完整内容请查看原文。

Update 25.10.30 Test In Revit 2021 , 2023 , 2024 , 2025 , 2026

  1. Fix The Muti-Version Build Failed : Thats The the net8.0 | net11.0-windows contains the require keyword , but cant use this keyword in <= 10.0 c# version
  2. Add Setup Video

Update 25.10.28

  1. Fix The Project Than Cant Run Success , Reason : the server path was not auto adaptive to other user

  2. ReWrite The RevitTest Project , Also Add The .addin File To User

  3. Add The Function That can read api_key file

  4. Other detail Can Read :

  5. Change Solution To Muti-Version

  6. Add New Utility File

  7. In Revit 2026 , The Sturucture Was Refernce NewtonSoft 13.0.1 . So If Project Ref. Others Version , Will Throw Error : File Was Loaded .....

  8. Also , if use the Revit Add-iN Manage , use this code will cant find location()

  9. Add Transaction Method To Functions

Revit MCP Blog

BLOG_ZH | BLOG_EN


Currently, the internet is flooded with various AI-related information. As recent development work involves AI technology, this article introduces the integration method between MCP and Revit to achieve the “one-click modeling” feature in public accounts.

This is just one of the possible implementation approaches, and other technical paths exist. However, this method allows for rapid deployment, helping teams quickly explore relevant application directions.

Function Call

Before discussing MCP, it’s essential to introduce Function Calling—a capability provided by LLM APIs. By defining Function Call specifications during interactions with the LLM, the model can autonomously select and execute the appropriate functions when needed.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →