mcpField
P
Procore Mcp Server

Procore Mcp Server

Local
github.com/TylerIlungaBusiness & Marketing14Updated 10w ago

About Procore Mcp Server

Procore Mcp Server exposes Procore's REST API to AI assistants and MCP-compatible clients. Its endpoint catalog and discovery tools let clients find operations and call them through a compact tool interface.

Key features

  1. 01Discover API categories and endpoints
  2. 02Search endpoints and inspect schemas
  3. 03Call Procore API operations
  4. 04OAuth authentication with token refresh
  5. 05Handle rate limits and pagination

Use cases

  1. 01Access Procore data from Claude Desktop
  2. 02Use Procore operations in Claude Code
  3. 03Find and call an API endpoint from an assistant

MCP support

Exposes Procore API access through seven discovery and configuration meta-tools, with API calls routed through `procore_api_call`. An optional mode registers a dedicated MCP tool for each endpoint.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Procore MCP Server

procore-mcp-server MCP server

MCP server that exposes the full Procore REST API to AI assistants like Claude. Built with TypeScript and the Model Context Protocol SDK.

Works with Claude Desktop, Claude Code, and any MCP-compatible client.

What it does

A build-time parser converts Procore's OpenAPI spec into a compact catalog, then auto-generates individual MCP tools for every API operation. At runtime, 7 meta-tools let the AI discover and call any Procore endpoint:

ToolPurpose
procore_discover_categoriesList API categories with endpoint counts
procore_discover_endpointsList endpoints in a category
procore_search_endpointsFull-text search across all endpoints
procore_get_endpoint_detailsGet full parameter schema for an endpoint
procore_api_callExecute any Procore API call
procore_get_configShow current config and auth status
procore_set_configSet runtime config (company_id, project_id)

Prerequisites

  • Node.js 18+
  • A Procore Developer Portal account
  • An OAuth app with Authorization Code grant type
  • Set your redirect URI to http://localhost

Setup

git clone https://github.com/TylerIlunga/procore-mcp-server.git
cd procore-mcp-server
npm install

Copy the example env file and fill in your credentials:

cp .env.example .env
PROCORE_CLIENT_ID=your_client_id
PROCORE_CLIENT_SECRET=your_client_secret
PROCORE_COMPANY_ID=your_company_id

By default the server exposes the 7 discovery tools, and every Procore endpoint is reached through procore_api_call. Registering a dedicated tool per endpoint instead emits roughly 4.7 MB (~1.2M tokens) of tool definitions — more than any current model's context window — so that surface is opt-in:

PROCORE_TOOL_MODE=all

Coverage is identical in both modes; only the size of the advertised tool list differs. If you switch to all and are migrating from before v2.0.0, see data/tool-renames.json for the old -> new tool name map.

You'll need Procore's OpenAPI spec file placed at specs/combined_OAS.json. This file is not included in the repo due to its size (~54MB). You can obtain it from Procore's API documentation.

Build the catalog and compile TypeScript:

npm run build

Authenticate with Procore (opens browser for OAuth):

npm run auth

Start the server:

npm start

Claude Desktop configuration

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "procore": {
      "command": "node",
      "args": ["/absolute/path/to/procore-mcp-server/dist/src/index.js"],
      "env": {
        "PROCORE_CLIENT_ID": "your_client_id",
        "PROCORE_CLIENT_SECRET": "your_client_secret",
        "PROCORE_COMPANY_ID": "your_company_id"
      }
    }
  }
}

Claude Code configuration

Add to .mcp.json in your project root:

{
  "mcpServers": {
    "procore": {
      "command": "node",
      "args": ["/absolute/path/to/procore-mcp-server/dist/src/index.js"],
      "env": {
        "PROCORE_CLIENT_ID": "your_client_id",
        "PROCORE_CLIENT_SECRET": "your_client_secret",
        "PROCORE_COMPANY_ID": "your_company_id"
      }
    }
  }
}

Project structure

src/
  auth/       OAuth token exchange, refresh, storage
  api/        HTTP client with auth, rate limits, retries
  catalog/    Endpoint catalog loading, search, filtering
  tools/      MCP tool handlers and registration
scripts/
  generate-catalog.ts          Parse OAS into catalog
  generate-tools-manifest.ts   Generate per-endpoint MCP tools
  validate-catalog.ts          Validate catalog integrity
data/         Build output (committed): catalog.json, endpoint details, tools manifest
specs/        Source OAS file (gitignored — too large for the repo)

How it works

  1. Build time: scripts/generate-catalog.ts parses the ~54MB Procore OpenAPI spec (3,155 operations) and produces a compact data/catalog.json plus individual endpoint detail files in data/endpoint-details/. scripts/generate-tools-manifest.ts then generates a tools manifest with one named MCP tool per API operation — 2,929 in total, after collapsing older-version duplicates of the same path.

    Each generated tool carries a structured description covering what it acts on, when to reach for it, which parent ids to resolve first, what it returns, and how it fails. Endpoints Procore has deprecated are registered with their sunset date in the description and a (Deprecated) title. The interactive /oauth/* endpoints are not registered as tools — npm run auth owns that flow — but remain reachable through procore_api_call.

  2. Auth: Run npm run auth once to complete the OAuth flow in your browser. Tokens are saved to ~/.procore-mcp/tokens.json and auto-refresh when expired.

  3. Runtime: The MCP server loads the catalog and registers the 7 discovery tools (plus the full per-endpoint surface when PROCORE_TOOL_MODE=all). When an AI assistant calls a tool, the server maps it to the correct Procore API endpoint, injects auth headers, handles rate limits and pagination, and returns the response.

Inspiration

Built to help my girlfriend, a construction engineer who uses Procore daily.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.