Axus Revit
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind address for --http / --sse / --combined. Keep on 127.0.0.1 unless you understand the risks in SECURITY.md. | 127.0.0.1 |
| MCP_PORT | No | Port for --http / --sse / --combined | 8000 |
| REVIT_HOST | No | Machine running Revit + pyRevit Routes | localhost |
| REVIT_PORT | No | pyRevit Routes port | 48884 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_revit_statusA | Check that Revit is reachable and has a project open. Call this first when starting a session or when other tools fail, to tell connection problems apart from modelling problems. |
| get_revit_model_infoA | Summarize the open Revit model. Returns project information, levels, element counts by category, rooms, view and sheet counts, linked models, and warnings. Useful for orienting yourself before creating or editing elements. |
| get_revit_viewA | Render a Revit view to a PNG image so you can see it. Args: view_name: Exact view name as returned by list_revit_views, e.g. "Level 1" or "{3D}". |
| list_revit_viewsA | List the views that can be exported as images, grouped by view type. |
| get_current_view_infoA | Describe the view currently open in Revit. Returns its name, type, ID, and whether it is a template. Check this before view-specific tools such as tagging or detail lines. |
| get_current_view_elementsA | List the elements visible in the current view, with IDs and categories. Use the returned element IDs with editing, tagging, or property tools. |
| place_familyA | Place one instance of a loaded family (furniture, equipment, doors, windows...). Coordinates are in millimeters. Doors and windows are hosted on the wall nearest the point, so create walls first. Use list_families to find valid names, or load_family to bring in a new .rfa. Args: family_name: Family name, e.g. "Desk". type_name: Type within the family, e.g. "1525 x 762mm". Uses the first type when omitted. x: X coordinate in mm. y: Y coordinate in mm. z: Z offset in mm. rotation: Rotation about the vertical axis, in degrees. level_name: Level to place on, e.g. "Level 1". properties: Instance parameters to set afterwards, e.g. {"Comments": "AI placed"}. |
| list_familiesB | List loaded family types as family name, type name, and category. Args: contains: Only return families or types whose name contains this text. limit: Maximum number of results (default 50). |
| list_family_categoriesA | List the categories that have loadable families in this model, with counts. |
| load_familyA | Load a Revit family (.rfa file) from disk into the active document. Use this when a needed family (furniture, doors, windows, equipment) is not already loaded in the project — load it first, then place_family can place its types. The file_path must be a full path to a .rfa file accessible to the machine running Revit. Args: file_path: Full path to the .rfa family file, e.g. "C:\ProgramData\Autodesk\RVT 2027\Libraries\English\Furniture\Chair.rfa" ctx: MCP context for logging |
| list_levelsA | List every level in the model with its name, ID, and elevation (mm and feet). Use the returned level names wherever another tool asks for a
|
| color_splashA | Color elements of a category in the active view by a parameter's value. Every distinct value gets its own color, which makes patterns (fire ratings, departments, levels, types…) visible at a glance. Args: category_name: Revit category, e.g. "Walls", "Rooms", "Doors". parameter_name: Parameter to color by; list_category_parameters shows the options. use_gradient: Blend colors along a gradient instead of using distinct colors (best for numeric parameters). custom_colors: Optional hex colors to use in order, e.g. ["#FF0000", "#00AA00"]. |
| clear_colorsB | Remove color overrides from a category in the active view. Args: category_name: Revit category previously colored, e.g. "Walls". |
| list_category_parametersA | List the parameters available on elements of a category. Use this before color_splash, ai_element_filter, or set_parameter to find the exact parameter name. Args: category_name: Revit category, e.g. "Walls", "Doors", "Rooms". |
| execute_revit_codeA | Run IronPython 2.7 code inside Revit and return what it prints. Only use this when no dedicated tool can do the job. The code runs inside a single transaction that is committed on success and rolled back on error, so do not start your own Transaction. Available names: IronPython 2.7 rules:
Example:
walls = DB.FilteredElementCollector(doc) Args: code: IronPython source to execute. description: Short label; it becomes the transaction name shown in Revit's Undo menu. |
| create_line_based_elementA | Create walls, beams, and other line-based building elements in Revit. Each element needs start and end points (in millimeters), element type (wall/beam), and optionally a level name, height, and family type name. Supports batch creation — pass multiple elements in one call. Args: elements: List of element definitions, each with: - element_type (str): "wall" or "beam" (required) - start_point (dict): {"x": float, "y": float, "z": float} in mm (required) - end_point (dict): {"x": float, "y": float, "z": float} in mm (required) - type_name (str): Family type name, e.g. "Generic - 200mm" (optional) - level_name (str): Target level name (optional, defaults to first level) - height (float): Element height in mm (optional, defaults to 3000) - offset (float): Offset from base level in mm (optional, defaults to 0) - structural (bool): Mark as structural (optional, defaults to false) - name (str): Description for reference (optional) ctx: MCP context for logging |
| create_surface_based_elementA | Create floors, roofs, ceilings, and other surface-based building elements. Each element needs a closed boundary polygon (list of line segments) where the last point connects back to the first. All dimensions in millimeters. Supports batch creation. Args: elements: List of element definitions, each with: - element_type (str): "floor", "roof", or "ceiling" (required) - boundary (list[dict]): Array of {"p0": Point, "p1": Point} segments forming a closed polygon (required, minimum 3 segments) - type_name (str): Family type name (optional) - level_name (str): Target level name (optional) - offset (float): Offset from level in mm (optional, defaults to 0) - name (str): Description for reference (optional) ctx: MCP context for logging |
| create_levelA | Create building levels (floor elevations) in Revit. Levels define the floor-to-floor heights of a building and must be created before placing walls, floors, or other level-dependent elements. Args: levels: List of level definitions, each with: - elevation (float): Elevation in mm from project origin (required) - name (str): Level name, e.g. "Ground Floor" (optional, auto-assigned) ctx: MCP context for logging |
| delete_elementsA | Delete one or more elements from the Revit model. Removes elements by their IDs. If a deleted element hosts other elements (e.g., a wall with doors), the hosted elements are also deleted (cascade). All deletions happen in a single transaction — if any fails, none are deleted. Args: element_ids: List of Revit element IDs to delete ctx: MCP context for logging |
| modify_elementA | Modify parameter values on a Revit element. Changes one or more instance parameters on the specified element. Returns old and new values for confirmation. Args: element_id: Revit element ID to modify parameters: Dictionary of parameter name to new value pairs e.g., {"Mark": "EW-01", "Comments": "Updated via MCP"} ctx: MCP context for logging |
| get_selected_elementsA | Get details of elements currently selected in the Revit UI. Returns IDs, categories, types, and key parameters of all elements the user has selected in Revit. Returns an empty list if nothing is selected (not an error). Args: ctx: MCP context for logging |
| create_gridA | Create grid lines for the structural layout of a building. Grids define the column grid system. Each grid is a line from start to end point (in millimeters). Names auto-assign (A, B, C... or 1, 2, 3...) if not provided. Supports batch creation. Args: grids: List of grid definitions, each with: - start_point (dict): {"x": float, "y": float, "z": float} in mm (required) - end_point (dict): {"x": float, "y": float, "z": float} in mm (required) - name (str): Grid line name (optional, auto-assigned) ctx: MCP context for logging |
| create_structural_framingA | Create structural beams and framing elements in Revit. Beams are placed along a line between two points, positioned at the
given level's elevation (like walls/floors). The point Args: elements: List of beam definitions, each with: - start_point (dict): {"x": float, "y": float, "z": float} in mm (required; z is offset from level) - end_point (dict): {"x": float, "y": float, "z": float} in mm (required; z is offset from level) - type_name (str): Beam family type name (optional) - level_name (str): Target level name — sets the beam elevation (optional) - name (str): Description for reference (optional) ctx: MCP context for logging |
| create_dimensionsA | Create dimension annotations for elements in the current view. Automatically dimensions the specified elements. Works in plan, section, and elevation views. The dimension line is placed at an offset from the elements for readability. Args: element_ids: List of element IDs to dimension dimension_type: Type of dimension — "linear", "aligned", or "angular" (defaults to "linear") ctx: MCP context for logging |
| tag_wallsA | Tag all untagged walls in the current Revit view. Places wall tags on every wall visible in the active view that doesn't already have a tag. Tags are centered on each wall segment. Args: use_leader: Whether to show leader lines (defaults to False) tag_type_name: Specific wall tag family type name (optional, uses first available) ctx: MCP context for logging |
| ai_element_filterA | Filter and find Revit elements by category, type, visibility, and spatial bounds. A powerful query tool for finding specific elements in the model. Combine filters for precise results — e.g., find all exterior walls on Level 1 visible in the current view. Args: category: BuiltInCategory name, e.g. "OST_Walls", "OST_Doors" (optional) type_name: Filter by family type name or partial match (optional) visible_in_view: Only include elements visible in the active view (optional) bounding_box_min: Spatial filter min corner {"x", "y", "z"} in mm (optional) bounding_box_max: Spatial filter max corner {"x", "y", "z"} in mm (optional) max_elements: Maximum results to return (defaults to 50) ctx: MCP context for logging |
| export_room_dataA | Export data for all rooms defined in the Revit model. Returns room names, numbers, levels, areas, perimeters, and departments in a structured format suitable for analysis and reporting. Args: ctx: MCP context for logging |
| get_material_quantitiesA | Get material quantities (areas and volumes) from the Revit model. Returns aggregated material data across all elements, optionally filtered by category. Useful for quantity takeoffs and cost estimation. Args: categories: List of categories to include, e.g. ["OST_Walls", "OST_Floors"] (optional, defaults to all categories) ctx: MCP context for logging |
| analyze_model_statisticsB | Analyze the Revit model and return element counts grouped by category. Provides a high-level overview of what's in the model — how many walls, doors, windows, floors, etc. Useful for progress tracking and model health checks. Args: ctx: MCP context for logging |
| create_sheetA | Create a drawing sheet in Revit for construction documentation. Sheets are the printable output of a Revit project. Each sheet has a title block, sheet number, and name. Views can be placed on sheets after creation. Args: sheet_number: Sheet number, e.g. "A101" (optional, auto-assigned) sheet_name: Sheet title, e.g. "Ground Floor Plan" (defaults to "Unnamed Sheet") title_block_name: Title block family name (optional, uses first available) ctx: MCP context for logging |
| create_scheduleA | Create a schedule (quantity takeoff view) for a specific element category. Schedules tabulate element data — e.g., a wall schedule showing all walls with their types, lengths, and areas. The schedule appears as a new view in the Revit project browser. Args: category: BuiltInCategory name, e.g. "OST_Walls", "OST_Rooms" (required) fields: Parameter names to include as columns (optional, uses default set) e.g., ["Family and Type", "Length", "Area", "Mark"] schedule_name: Name for the schedule view (optional, auto-generated) ctx: MCP context for logging |
| export_documentA | Export a Revit view or sheet to PDF or image format. Exports the specified view (or the active view if none specified) to a file on disk. Supported formats: PDF, PNG, JPG, DWG. Args: view_name: Name of the view or sheet to export (optional, uses active view) format: Output format — "pdf", "png", "jpg", or "dwg" (defaults to "pdf") resolution: DPI for image formats (defaults to 300, ignored for PDF/DWG) ctx: MCP context for logging |
| create_roomA | Create a room in the Revit model at a specified level. Rooms must be placed inside enclosed areas (bounded by walls or room separation lines). If no location is given, Revit auto-places the room. Args: level_name: Target level name (e.g., "Level 1") location: Optional placement point {"x": float, "y": float} in mm name: Room name (e.g., "Living Room") number: Room number (e.g., "101") ctx: MCP context for logging |
| create_room_separationA | Create room separation lines to define room boundaries. Room separation lines act as invisible walls for room calculation. Use these when physical walls don't fully enclose a space (e.g., open-plan areas, corridors). All coordinates in millimeters. Args: lines: List of line segments, each with: - start_point (dict): {"x": float, "y": float, "z": float} in mm - end_point (dict): {"x": float, "y": float, "z": float} in mm level_name: Target level name (defaults to active view's level) view_name: Plan view name (defaults to active view) ctx: MCP context for logging |
| create_viewA | Create a new view in the Revit model. Supports floor plans, ceiling plans, sections, elevations, and 3D views. Floor plans and ceiling plans require a level name. Sections require a section box definition with origin, direction, and dimensions. Args: view_type: Type of view — "floor_plan", "ceiling_plan", "section", "elevation", or "3d" name: Display name for the new view level_name: Required for floor_plan and ceiling_plan — the level to show section_box: Required for section — defines the cut plane: - origin (dict): {"x", "y", "z"} center point in mm - direction (dict): {"x", "y", "z"} view direction vector - up (dict): {"x", "y", "z"} up direction vector - width (float): Section width in mm - height (float): Section height in mm - depth (float): Section depth in mm ctx: MCP context for logging |
| set_active_viewA | Switch the active view in Revit to the specified view. Changes which view is displayed in the Revit UI. Use list_revit_views first to find available view names. Args: view_name: Name of the view to activate ctx: MCP context for logging |
| tag_elementsA | Tag elements with annotation symbols in a view. Places tags on the specified elements. Tags display element properties like type name, mark, or room name/number. Works with walls, doors, windows, rooms, and other taggable categories. Args: element_ids: List of element IDs to tag view_name: View to place tags in (defaults to active view) tag_type_name: Tag family type name (auto-detects appropriate tag if omitted) add_leader: Show leader line from tag to element (default: false) orientation: Tag orientation — "horizontal" or "vertical" (default: "horizontal") offset: Tag offset from element center {"x": float, "y": float} in mm ctx: MCP context for logging |
| transform_elementsA | Move, copy, rotate, or mirror elements in the Revit model. Performs geometric transformations on one or more elements. All coordinates and distances are in millimeters, angles in degrees. Args: element_ids: List of element IDs to transform operation: Transform type — "move", "copy", "rotate", or "mirror" vector: Translation vector {"x", "y", "z"} in mm (required for move/copy) axis_point: Rotation center {"x", "y", "z"} in mm (required for rotate) angle: Rotation angle in degrees (required for rotate) mirror_plane: Mirror definition (required for mirror): - origin (dict): {"x", "y", "z"} point on the mirror plane in mm - normal (dict): {"x", "y", "z"} plane normal direction ctx: MCP context for logging |
| create_ductA | Create a duct in the Revit model between two points. Requires a project with mechanical families loaded (MEP template). Specify diameter for round ducts, or width+height for rectangular. All dimensions in millimeters. Args: start_point: Start point {"x", "y", "z"} in mm end_point: End point {"x", "y", "z"} in mm system_type: System type name (e.g., "Supply Air"). Auto-detects if omitted duct_type: Duct type name (e.g., "Round Duct"). Auto-detects if omitted level_name: Level name. Defaults to nearest level diameter: Round duct diameter in mm width: Rectangular duct width in mm height: Rectangular duct height in mm ctx: MCP context for logging |
| create_pipeA | Create a pipe in the Revit model between two points. Requires a project with plumbing families loaded (MEP template). All dimensions in millimeters. Args: start_point: Start point {"x", "y", "z"} in mm end_point: End point {"x", "y", "z"} in mm system_type: System type name (e.g., "Domestic Hot Water"). Auto-detects if omitted pipe_type: Pipe type name (e.g., "Copper"). Auto-detects if omitted level_name: Level name. Defaults to nearest level diameter: Pipe diameter in mm ctx: MCP context for logging |
| create_mep_systemB | Create a mechanical or piping system and optionally add elements to it. Groups ducts or pipes into a named system for organization and analysis. Args: system_type: "mechanical" or "piping" system_name: Display name for the system (e.g., "Level 1 Supply Air") element_ids: Optional list of duct/pipe element IDs to add to the system ctx: MCP context for logging |
| get_element_propertiesA | Get all properties and parameters of a Revit element. Returns the element's category, family, type, and a complete list of both instance and type parameters with their values, storage types, and read-only status. Args: element_id: Revit element ID to inspect include_type_params: Include type parameters in addition to instance parameters (default: true) ctx: MCP context for logging |
| set_parameterA | Set a single parameter value on a Revit element. Automatically detects the parameter's storage type (String, Integer, Double, ElementId) and converts the value accordingly. Returns old and new values for confirmation. Args: element_id: Target element ID parameter_name: Name of the parameter to set (e.g., "Comments", "Mark") value: New value as a string — automatically converted to the correct type ctx: MCP context for logging |
| export_ifcA | Export the Revit model to IFC format. Creates an IFC file at the specified path. Optionally filter by view to export only visible elements. Supports IFC2x3 and IFC4. Args: file_path: Output file path (must end in .ifc) ifc_version: "IFC2x3" (default) or "IFC4" export_base_quantities: Include IFC base quantities (default: true) view_name: Export only elements visible in this view (optional) ctx: MCP context for logging |
| link_fileA | Link or import an external file into the Revit model. Supports DWG, DXF, DGN (CAD files) and RVT (Revit links). Linked files maintain a live connection; imported files are embedded. Args: file_path: Path to the file (DWG, DXF, DGN, or RVT) mode: "link" (default, maintains connection) or "import" (embeds copy) position: Optional placement offset {"x", "y", "z"} in mm ctx: MCP context for logging |
| create_detail_lineA | Create a detail line in a Revit view for annotation purposes. Detail lines are view-specific 2D annotation elements. They only appear in the view where they are created (unlike model lines). Must be created in a plan, section, or detail view. Args: start_point: Start point {"x", "y", "z"} in mm end_point: End point {"x", "y", "z"} in mm view_name: Target view name (defaults to active view) line_style: Line style name (e.g., "Medium Lines"). Uses default if omitted ctx: MCP context for logging |
| check_clashesA | Detect hard clashes (geometric interferences) between model elements. Runs Revit's native interference logic to find elements whose solids physically overlap — the core of BIM coordination (e.g. ducts running through beams, pipes through walls). Scope rules:
Categories accept BuiltInCategory ids ("OST_DuctCurves") or friendly aliases ("ducts", "pipes", "beams", "walls", "structural framing"). Returns clashing element pairs with ids, names, categories, and the approximate clash location in mm. Note: auto-joined concrete and geometry-less elements (e.g. rebar) are not reported by Revit. Args: set_a_categories: First element set, e.g. ["beams", "OST_StructuralColumns"] set_b_categories: Second element set to check against, e.g. ["ducts", "pipes"] max_clashes: Maximum clashes to return (defaults to 200) ctx: MCP context for logging |
| save_documentA | Save the active Revit document to disk so work persists. If file_path is given (or the document was started from a template and has never been saved), performs Save As to that path. Otherwise saves the document in place. Use this to persist a model before closing or restarting Revit. Args: file_path: Full .rvt path to save to, e.g. "C:\Models\ESB.rvt" (required the first time a template-based model is saved) overwrite: Overwrite an existing file at that path (defaults to True) ctx: MCP context for logging |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 48 tools
Several tools genuinely overlap: tag_walls vs tag_elements (the former is a special case of the latter), modify_element vs set_parameter (multi-param vs single-param on the same target), and create_line_based_element (which accepts element_type 'beam') vs create_structural_framing (also beams). get_current_view_elements, ai_element_filter, and analyze_model_statistics/get_revit_model_info also partially duplicate query/summary roles. Descriptions mitigate most cases, but an agent could plausibly misselect on the overlapping pairs.
The surface is uniformly snake_case with a verb_noun convention (create_level, tag_walls, export_ifc, set_parameter, save_document). The only real deviation is ai_element_filter, which is noun-oriented rather than verb-first and breaks the otherwise predictable pattern. Minor and still readable.
48 tools is well past the 25-tool threshold and includes redundant pairs that could be consolidated (tag_walls/tag_elements, modify_element/set_parameter, beam creation in two places). While Revit is a large domain, the count is heavy enough that tool selection becomes a real cognitive burden.
Coverage is broad: modelling (walls, floors, levels, grids, rooms, MEP), annotation/tagging, views/sheets/schedules, query/analysis, clash detection, exports (PDF, IFC, DWG), and save. A few dead ends remain — create_sheet states views can be placed on sheets but no place_view tool exists, and there is no open/create-document or list_sheets operation. These are workaroundable via execute_revit_code.