Skip to main content
Glama

Autodesk Build MCP Server

MIT License
  • Apple

Autodesk Build MCP Server

A Model Context Protocol (MCP) server implementation for Autodesk Construction Cloud Build, enabling AI-powered construction project management through Claude and other MCP-compatible clients.

Table of Contents

Overview

This MCP server provides a bridge between AI assistants (like Claude) and Autodesk Construction Cloud Build, allowing you to:

  • Manage construction issues, RFIs, and submittals through natural language
  • Access and organize project photos and documents
  • Track project costs and budgets
  • Manage forms and quality control processes
  • Automate routine project management tasks

The server implements the Model Context Protocol, making it compatible with any MCP-enabled AI client.

Features

Core Capabilities

  • Issue Management: Create, update, and track construction issues
  • RFI Management: Submit and respond to Requests for Information
  • Submittal Tracking: Manage submittal logs and approval workflows
  • Photo Management: Access and organize jobsite photos with location tagging
  • Forms & Checklists: Access standardized quality and safety inspection forms
  • Cost Management: Track budgets, change orders, and payment applications
  • Document Management: Search and retrieve project documents
  • Location Management: Manage building areas and location hierarchies

Technical Features

  • OAuth2 authentication with token management
  • Rate limiting and retry logic
  • Comprehensive error handling
  • Webhook support for real-time updates
  • Batch operations for improved performance
  • Caching for frequently accessed data

Architecture

┌─────────────────┐ ┌─────────────────┐ ┌──────────────────┐ │ │ │ │ │ │ │ Claude/Client │────▶│ MCP Server │────▶│ Autodesk Build │ │ │ │ │ │ API │ └─────────────────┘ └─────────────────┘ └──────────────────┘ │ │ │ │ │ │ ▼ ▼ ▼ Natural Language Tool Router REST APIs Commands & Handler (OAuth2 Auth)

Component Overview

  1. MCP Server Core: Handles protocol communication and tool routing
  2. Authentication Module: Manages OAuth2 flow and token refresh
  3. Tool Handlers: Individual handlers for each Autodesk Build feature
  4. Cache Layer: Reduces API calls for frequently accessed data
  5. Error Handler: Provides meaningful error messages and recovery

Prerequisites

  • Node.js 18.0 or higher
  • npm or yarn package manager
  • Autodesk Platform Services account
  • Autodesk Construction Cloud Build project access
  • OAuth2 application credentials from Autodesk

Installation

Quick Start

# Clone the repository git clone https://github.com/SamuraiBuddha/mcp-autodesk-build.git cd mcp-autodesk-build # Install dependencies npm install # Copy environment template cp .env.example .env # Configure your credentials (see Configuration section) # Then start the server npm start

Installing as a Package

npm install -g mcp-autodesk-build

Configuration

1. Autodesk App Registration

  1. Visit Autodesk Platform Services
  2. Create a new app or use existing credentials
  3. Add the following redirect URI: http://localhost:3000/callback
  4. Note your Client ID and Client Secret

2. Environment Variables

Create a .env file with the following:

# Autodesk Credentials AUTODESK_CLIENT_ID=your_client_id_here AUTODESK_CLIENT_SECRET=your_client_secret_here AUTODESK_CALLBACK_URL=http://localhost:3000/callback # Server Configuration PORT=3000 LOG_LEVEL=info # Optional: Webhook Configuration WEBHOOK_SECRET=your_webhook_secret WEBHOOK_ENDPOINT=https://your-domain.com/webhooks # Optional: Cache Configuration CACHE_TTL=3600 CACHE_MAX_SIZE=100

3. Claude Desktop Configuration

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{ "mcpServers": { "autodesk-build": { "command": "node", "args": ["/path/to/mcp-autodesk-build/src/index.js"], "env": { "AUTODESK_CLIENT_ID": "your_client_id", "AUTODESK_CLIENT_SECRET": "your_client_secret" } } } }

Usage

Basic Commands

Once configured, you can use natural language commands with Claude:

"Show me all open issues in the Main Building project" "Create an RFI about the electrical panel specifications" "Find photos from last week's concrete pour" "Update issue #123 with a new comment" "List all pending submittals for review"

Authentication Flow

On first use:

  1. The server will provide an authentication URL
  2. Open the URL in your browser
  3. Log in with your Autodesk account
  4. Authorize the application
  5. The server will store the refresh token for future use

Available Tools

Project Management

ToolDescription
list_projectsList all accessible projects
get_projectGet detailed project information
search_projectsSearch projects by name or criteria

Issues

ToolDescription
list_issuesList issues with filtering options
create_issueCreate a new issue
update_issueUpdate existing issue
close_issueClose an issue with resolution
add_issue_commentAdd comment to an issue
attach_photo_to_issueAttach photos to issues

RFIs (Requests for Information)

ToolDescription
list_rfisList RFIs with status filters
create_rfiCreate a new RFI
respond_to_rfiSubmit RFI response
update_rfi_statusUpdate RFI status
get_rfi_detailsGet detailed RFI information

Submittals

ToolDescription
list_submittalsList submittal items
create_submittalCreate new submittal
update_submittal_statusUpdate submittal status
add_submittal_revisionAdd revision to submittal

Photos

ToolDescription
list_photosList project photos
get_photo_detailsGet photo metadata
search_photos_by_locationFind photos by location
search_photos_by_dateFind photos by date range

Forms & Checklists

ToolDescription
list_formsList available forms
get_form_responsesGet submitted forms
search_formsSearch forms by type/status

Cost Management

ToolDescription
get_budget_summaryGet project budget overview
list_change_ordersList change orders
get_cost_trendsGet cost trend analysis

API Reference

For detailed API documentation, see docs/api-reference.md

Examples

Example 1: Issue Management Workflow

// List open issues const issues = await tools.list_issues({ projectId: "project-123", status: "open", assignedTo: "john.doe@company.com" }); // Create a new issue const newIssue = await tools.create_issue({ projectId: "project-123", title: "Concrete crack in foundation", description: "Found 2mm crack in northeast corner", location: "Building A - Foundation", priority: "high", assignTo: "jane.smith@company.com" });

Example 2: RFI Workflow

// Create an RFI const rfi = await tools.create_rfi({ projectId: "project-123", subject: "Clarification on electrical panel specs", question: "Please confirm the amperage rating for Panel A", assignTo: "engineer@design.com", dueDate: "2024-03-15" });

More examples in examples/ directory.

Development

Project Structure

mcp-autodesk-build/ ├── src/ │ ├── index.js # Main server entry point │ ├── auth.js # OAuth2 authentication │ ├── config.js # Configuration management │ ├── tools/ # Tool implementations │ │ ├── issues.js │ │ ├── rfis.js │ │ ├── submittals.js │ │ ├── photos.js │ │ └── ... │ └── utils/ # Utility functions ├── docs/ # Documentation │ ├── architecture.md │ ├── dev-setup.md │ ├── protocol.md │ └── api-reference.md ├── examples/ # Usage examples ├── tests/ # Test suite ├── package.json ├── .env.example ├── .gitignore └── LICENSE

Running Tests

# Run all tests npm test # Run with coverage npm run test:coverage # Run specific test file npm test -- tests/tools/issues.test.js

Debugging

Enable debug logging:

DEBUG=mcp:* npm start

Building for Production

npm run build

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Development Workflow

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Code Style

  • Use ES6+ features
  • Follow ESLint configuration
  • Add JSDoc comments for all public functions
  • Write tests for new features

Troubleshooting

Common Issues

Authentication Errors

  • Ensure your Autodesk app has the correct permissions
  • Check that redirect URI matches exactly
  • Verify client ID and secret are correct

Connection Issues

  • Check firewall settings
  • Verify internet connectivity
  • Ensure Autodesk services are accessible

Rate Limiting

  • The server implements automatic retry with backoff
  • Consider enabling caching for frequently accessed data

For more help, see docs/troubleshooting.md

Security

  • Credentials are stored securely using system keychain when available
  • All API communications use HTTPS
  • OAuth2 tokens are refreshed automatically
  • Sensitive data is never logged

See SECURITY.md for security policies.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Support

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables AI assistants to interact with Jenkins CI/CD servers, providing tools to check build statuses, trigger builds, and retrieve build logs.
    Last updated -
    3
    10
    JavaScript
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server implementation that enables AI assistants to interact with Linear project management systems, allowing them to create, retrieve, and modify data related to issues, projects, teams, and users.
    Last updated -
    15
    3
    TypeScript
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables AI interfaces to seamlessly interact with Plane's project management system, allowing management of projects, issues, states, and other work items through a standardized API.
    Last updated -
    46
    619
    50
    TypeScript
    MIT License
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that enables AI assistants to interact with Azure DevOps services, providing capabilities for work item management, project management, and team collaboration through natural language.
    Last updated -
    21
    Python

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SamuraiBuddha/mcp-autodesk-build'

If you have feedback or need assistance with the MCP directory API, please join our Discord server