{"report":"{\"v\":1,\"package\":\"mcp-server-for-revit\",\"version\":\"1.0.0\",\"ranAt\":\"2026-11-16T11:33:56.975Z\",\"install\":{\"ok\":true,\"integrity\":\"sha512-/ael18jdEuYLRDZ4TdMO/FK251MSQQTvJVQgK15di6iH1T/Gth9nl2+lMs1XeHfbpX9gCSjRmWozgpWJuUxtTw==\",\"deps\":131,\"scripts\":[\"better-sqlite3\"],\"bins\":[\"mcp-server-for-revit\"],\"license\":\"MIT\",\"repository\":\"git+https://github.com/mcp-servers-for-revit/mcp-servers-for-revit.git\",\"bin\":\"mcp-server-for-revit\"},\"start\":{\"ok\":true,\"ms\":143,\"serverName\":\"mcp-server-for-revit\",\"serverVersion\":\"1.0.0\",\"protocol\":\"2025-06-18\",\"stderr\":\"ode_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node',\\n    '/app/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node',\\n    '/app/node_modules/better-sqlite3/lib/binding/node-v137-linux-x64/better_sqlite3.node'\\n  ]\\n}\\n已注册工具: tag_all_rooms.js\\n已注册工具: tag_all_walls.js\\n警告: 在文件 use_module.js 中未找到注册函数\\nRevit MCP Server start success\\nRevitClientConnection error: Error: connect ECONNREFUSED 127.0.0.1:8080\\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:2083:16) {\\n  errno: -111,\\n  code: 'ECONNREFUSED',\\n  syscall: 'connect',\\n  address: '127.0.0.1',\\n  port: 8080\\n}\\nRevitClientConnection error: Error: connect ECONNREFUSED 127.0.0.1:8080\\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:2083:16) {\\n  errno: -111,\\n  code: 'ECONNREFUSED',\\n  syscall: 'connect',\\n  address: '127.0.0.1',\\n  port: 8080\\n}\\nRevitClientConnection error: Error: connect ECONNREFUSED 127.0.0.1:8080\\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:2083:16) {\\n  errno: -111,\\n  code: 'ECONNREFUSED',\\n  syscall: 'connect',\\n  address: '127.0.0.1',\\n  port: 8080\\n}\\nRevitClientConnection error: Error: connect ECONNREFUSED 127.0.0.1:8080\\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:2083:16) {\\n  errno: -111,\\n  code: 'ECONNREFUSED',\\n  syscall: 'connect',\\n  address: '127.0.0.1',\\n  port: 8080\\n}\\nRevitClientConnection error: Error: connect ECONNREFUSED 127.0.0.1:8080\\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:2083:16) {\\n  errno: -111,\\n  code: 'ECONNREFUSED',\\n  syscall: 'connect',\\n  address: '127.0.0.1',\\n  port: 8080\\n}\\n\"},\"tools\":[{\"name\":\"ai_element_filter\",\"description\":\"An intelligent Revit element querying tool designed specifically for AI assistants to retrieve detailed element information from Revit projects. This tool allows the AI to request elements matching specific criteria (such as category, type, visibility, or spatial location) and then perform further analysis on the returned data to answer complex user queries about Revit model elements. Example: When a user asks 'Find all walls taller than 5m in the project', the AI would: 1) Call this tool with parameters: {\\\"filterCategory\\\": \\\"OST_Walls\\\", \\\"includeInstances\\\": true}, 2) Receive detailed information about all wall instances in the project, 3) Process the returned data to filter walls with height > 5000mm, 4) Present the filtered results to the user with relevant details.\",\"params\":[\"data\"]},{\"name\":\"analyze_model_statistics\",\"description\":\"Analyze model complexity with element counts. Returns detailed statistics about the Revit model including total element counts, total types, total families, views, sheets, counts by category (with type/family breakdown), and level-by-level element distribution. Useful for model auditing, performance analysis, and understanding model composition.\",\"params\":[\"includeDetailedTypes\"]},{\"name\":\"color_elements\",\"description\":\"Color elements in the current view based on a category and parameter value. Each unique parameter value gets assigned a distinct color.\",\"params\":[\"categoryName\",\"parameterName\",\"useGradient\",\"customColors\"]},{\"name\":\"create_dimensions\",\"description\":\"Create dimension annotations in the current Revit view. Supports dimensioning between elements (walls, doors, windows) by element IDs, or between two points with automatic reference detection. All coordinates are in millimeters (mm).\",\"params\":[\"dimensions\"]},{\"name\":\"create_grid\",\"description\":\"Create a grid system in Revit with smart spacing generation. Supports both X-axis (vertical) and Y-axis (horizontal) grids with customizable naming styles (alphabetic A,B,C or numeric 1,2,3). All units are in millimeters (mm).\",\"params\":[\"xCount\",\"xSpacing\",\"xStartLabel\",\"xNamingStyle\",\"yCount\",\"ySpacing\",\"yStartLabel\",\"yNamingStyle\",\"xExtentMin\",\"xExtentMax\",\"yExtentMin\",\"yExtentMax\",\"elevation\",\"xStartPosition\",\"yStartPosition\"]},{\"name\":\"create_level\",\"description\":\"Create one or more levels in Revit at specified elevations. Levels define horizontal planes in the building and are used to host floor plans, ceilings, and other level-based elements. All elevation units are in millimeters (mm).\",\"params\":[\"data\"]},{\"name\":\"create_line_based_element\",\"description\":\"Create one or more line-based elements in Revit such as walls, beams, or pipes. Supports batch creation with detailed parameters including family type ID, start and end points, thickness, height, and level information. All units are in millimeters (mm).\",\"params\":[\"data\"]},{\"name\":\"create_point_based_element\",\"description\":\"Create one or more point-based elements in Revit such as doors, windows, or furniture. Supports batch creation with detailed parameters including family type ID, position, dimensions, and level information. All units are in millimeters (mm).\",\"params\":[\"data\"]},{\"name\":\"create_room\",\"description\":\"Create and place rooms in Revit at specified locations. Rooms are placed within enclosed wall boundaries and can be named and numbered. The location point should be inside an enclosed area bounded by walls. All coordinates are in millimeters (mm).\",\"params\":[\"data\"]},{\"name\":\"create_structural_framing_system\",\"description\":\"Create a structural beam framing system in Revit. Generates beams within a rectangular boundary at fixed spacing intervals. The system uses Revit's BeamSystem API to create properly connected beam layouts. All units are in millimeters (mm).\",\"params\":[\"levelName\",\"xMin\",\"xMax\",\"yMin\",\"yMax\",\"spacing\",\"directionEdge\",\"layoutRule\",\"justify\",\"beamTypeName\",\"elevation\",\"is3d\"]},{\"name\":\"create_surface_based_element\",\"description\":\"Create one or more surface-based elements in Revit such as floors, ceilings, or roofs. Supports batch creation with detailed parameters including family type ID, boundary lines, thickness, and level information. All units are in millimeters (mm).\",\"params\":[\"data\"]},{\"name\":\"delete_element\",\"description\":\"Delete one or more elements from the Revit model by their element IDs.\",\"params\":[\"elementIds\"]},{\"name\":\"export_room_data\",\"description\":\"Export all room data from the current Revit project. Returns detailed information about each room including name, number, level, area, volume, perimeter, department, and more. Useful for generating room schedules, space analysis, and facility management data.\",\"params\":[\"includeUnplacedRooms\",\"includeNotEnclosedRooms\"]},{\"name\":\"get_available_family_types\",\"description\":\"Get available family types in the current Revit project. You can filter by category and family name, and limit the number of returned types.\",\"params\":[\"categoryList\",\"familyNameFilter\",\"limit\"]},{\"name\":\"get_current_view_elements\",\"description\":\"Get elements from the current active view in Revit. You can filter by model categories (like Walls, Floors) or annotation categories (like Dimensions, Text). Use includeHidden to show/hide invisible elements and limit to control the number of returned elements.\",\"params\":[\"modelCategoryList\",\"annotationCategoryList\",\"includeHidden\",\"limit\"]},{\"name\":\"get_current_view_info\",\"description\":\"获取 Revit 当前活动视图的详细信息，包括视图类型、名称、比例等属性。\",\"params\":[]},{\"name\":\"get_material_quantities\",\"description\":\"Calculate material quantities and takeoffs from the current Revit project. Returns detailed information about each material including name, class, area, volume, and element counts. Useful for cost estimation, material ordering, and sustainability analysis.\",\"params\":[\"categoryFilters\",\"selectedElementsOnly\"]},{\"name\":\"get_selected_elements\",\"description\":\"Get elements currently selected in Revit. You can limit the number of returned elements.\",\"params\":[\"limit\"]},{\"name\":\"operate_element\",\"description\":\"Operate on Revit elements by performing actions such as select, selectionBox, setColor, setTransparency, delete, hide, etc.\",\"params\":[\"data\"]},{\"name\":\"say_hello\",\"description\":\"Display a greeting dialog in Revit. Useful for testing the connection between Claude and Revit.\",\"params\":[\"message\"]},{\"name\":\"send_code_to_revit\",\"description\":\"Send C# code to Revit for execution. The code will be inserted into a template with access to the Revit Document and parameters. Your code should be written to work within the Execute method of the template.\",\"params\":[\"code\",\"parameters\"]},{\"name\":\"tag_all_rooms\",\"description\":\"Create tags for all rooms in the current active view. Tags will be placed at the center point of each room, displaying the room name and number.\",\"params\":[\"useLeader\",\"tagTypeId\",\"roomIds\"]},{\"name\":\"tag_all_walls\",\"description\":\"Create tags for all walls in the current active view. Tags will be placed at the middle point of each wall.\",\"params\":[\"useLeader\",\"tagTypeId\"]}],\"toolsHash\":\"c9bfde97b7ab2acbc0f8354ca26f10b50082fd8a38523b09bf949e48f4510ee4\",\"wrote\":[],\"callsAt\":\"2026-11-16T11:34:03.023Z\",\"calls\":[{\"tool\":\"get_available_family_types\",\"ok\":true,\"ms\":10,\"bytes\":65},{\"tool\":\"get_current_view_elements\",\"ok\":true,\"ms\":1,\"bytes\":64},{\"tool\":\"get_current_view_info\",\"ok\":true,\"ms\":1,\"bytes\":60},{\"tool\":\"get_material_quantities\",\"ok\":true,\"ms\":1,\"bytes\":62},{\"tool\":\"get_selected_elements\",\"ok\":true,\"ms\":0,\"bytes\":60}],\"host\":{\"commit\":\"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c\",\"run\":\"https://github.com/itsHaddad/bragproof/actions/runs/43857070216\"},\"network\":{\"names\":[\"registry.npmjs.org\"],\"conns\":[],\"callNames\":[],\"callConns\":[]}}","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJhY3RvciI6Iml0c0hhZGRhZCIsImFjdG9yX2lkIjoiMTE0NzMyNjEiLCJhdWQiOiJicmFncHJvb2YtcmVwb3J0OjUwYTM4Y2RhMTE4YjRkMTM4NjNhMDBmYzQzODQxYjBiY2VhYjFiYWIxOGFkMTk2MDZhY2ExOTljYWUzOTgwNmEiLCJiYXNlX3JlZiI6IiIsImNoZWNrX3J1bl9pZCI6IjEzMzI2Mzk5NTQ0MiIsImV2ZW50X25hbWUiOiJzY2hlZHVsZSIsImV4cCI6MTc5NDgyOTE0OCwiaGVhZF9yZWYiOiIiLCJpYXQiOjE3OTQ4Mjg4NDgsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ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