Skip to content

Open-source Revit MCP server: let Claude and other AI assistants read and edit BIM models, with human approval on every change.

459 B
Raw Blame
using System;

namespace RevitBridge.Bridge;

[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public sealed class BridgeCommandAttribute : Attribute
{
    public string Name { get; }
    public bool IsMutating { get; set; }
    public bool ConfirmationRequired { get; set; }

    public BridgeCommandAttribute(string name)
    {
        Name = name;
        IsMutating = true;
        ConfirmationRequired = false;
    }
}