Procore MCP Server
Procore MCP Server
Servidor MCP que expone la API REST completa de Procore a asistentes de IA como Claude. Construido con TypeScript y el Model Context Protocol SDK.
Funciona con Claude Desktop, Claude Code y cualquier cliente compatible con MCP.
Qué hace
Un analizador en tiempo de compilación convierte la especificación OpenAPI de Procore en un catálogo compacto y luego genera automáticamente herramientas MCP individuales para cada operación de la API. En tiempo de ejecución, 7 meta-herramientas permiten a la IA descubrir y llamar a cualquier endpoint de Procore:
Herramienta | Propósito |
| Lista las categorías de la API con recuentos de endpoints |
| Lista los endpoints de una categoría |
| Búsqueda de texto completo en todos los endpoints |
| Obtiene el esquema completo de parámetros de un endpoint |
| Ejecuta cualquier llamada a la API de Procore |
| Muestra la configuración actual y el estado de autenticación |
| Establece la configuración en tiempo de ejecución (company_id, project_id) |
Related MCP server: mcp-clickup
Requisitos previos
Node.js 18+
Una cuenta en el Portal para desarrolladores de Procore
Una aplicación OAuth con tipo de concesión Authorization Code
Establece tu URI de redirección en
http://localhost
Configuración
git clone https://github.com/TylerIlunga/procore-mcp-server.git
cd procore-mcp-server
npm installCopia el archivo de entorno de ejemplo y completa tus credenciales:
cp .env.example .envPROCORE_CLIENT_ID=your_client_id
PROCORE_CLIENT_SECRET=your_client_secret
PROCORE_COMPANY_ID=your_company_idPor defecto, el servidor expone las 7 herramientas de descubrimiento y cada endpoint de Procore se alcanza a través de procore_api_call. Registrar una herramienta dedicada por endpoint emite aproximadamente 4.7 MB (~1.2M tokens) de definiciones de herramientas, más de lo que cabe en la ventana de contexto de cualquier modelo actual, por lo que esa superficie es opcional:
PROCORE_TOOL_MODE=allLa cobertura es idéntica en ambos modos; solo difiere el tamaño de la lista de herramientas anunciadas. Si cambias a all y migras desde antes de v2.0.0, consulta data/tool-renames.json para ver el mapa de nombres de herramientas antiguos a nuevos.
Necesitarás el archivo de especificación OpenAPI de Procore colocado en specs/combined_OAS.json. Este archivo no se incluye en el repositorio debido a su tamaño (~54MB). Puedes obtenerlo en la documentación de la API de Procore.
Compila el catálogo y el TypeScript:
npm run buildAutentícate con Procore (se abre el navegador para OAuth):
npm run authInicia el servidor:
npm startConfiguración de Claude Desktop
Añade a tu configuración de Claude Desktop (~/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"
}
}
}
}Configuración de Claude Code
Añade a .mcp.json en la raíz de tu proyecto:
{
"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"
}
}
}
}Estructura del proyecto
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)Cómo funciona
Tiempo de compilación:
scripts/generate-catalog.tsanaliza la especificación OpenAPI de Procore de ~54MB (3,155 operaciones) y produce undata/catalog.jsoncompacto, además de archivos de detalles de endpoints individuales endata/endpoint-details/. Luego,scripts/generate-tools-manifest.tsgenera un manifiesto de herramientas con una herramienta MCP nombrada por cada operación de la API: 2,929 en total, después de eliminar duplicados de versiones anteriores de la misma ruta.Cada herramienta generada incluye una descripción estructurada que cubre sobre qué actúa, cuándo usarla, qué ids de padres resolver primero, qué devuelve y cómo falla. Los endpoints que Procore ha obsoleto se registran con su fecha de retirada en la descripción y un título
(Deprecated). Los endpoints interactivos/oauth/*no se registran como herramientas —npm run authgestiona ese flujo — pero siguen siendo accesibles a través deprocore_api_call.Autenticación: Ejecuta
npm run authuna vez para completar el flujo OAuth en tu navegador. Los tokens se guardan en~/.procore-mcp/tokens.jsony se renuevan automáticamente cuando caducan.Tiempo de ejecución: El servidor MCP carga el catálogo y registra las 7 herramientas de descubrimiento (más la superficie completa por endpoint cuando
PROCORE_TOOL_MODE=all). Cuando un asistente de IA llama a una herramienta, el servidor la mapea al endpoint correcto de la API de Procore, inyecta los encabezados de autenticación, gestiona los límites de velocidad y la paginación, y devuelve la respuesta.
Inspiración
Construido para ayudar a mi novia, una ingeniera de construcción que usa Procore a diario.
Licencia
MIT
Available Tools
7 toolsprocore_api_callExecute Any Procore API CallADestructive
Executes any Procore REST API call. This is the only tool here that reaches Procore and the only one that can change data — resolve the exact method, path, and parameters with procore_get_endpoint_details first. WRITES ARE REAL: DELETE permanently removes the record, POST creates one, and PATCH/PUT overwrite fields, so confirm the target id before calling and prefer a GET to verify it exists. Handles OAuth from the saved tokens, substitutes {placeholders} from path_params, and rewrites double underscores in query keys into brackets (filters__status becomes filters[status]). company_id and project_id fall back to whatever procore_set_config holds when the path needs them and you omit them. Returns the parsed JSON response together with pagination and rate-limit metadata. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, 404 when an id does not resolve, 422 when the body fails validation, and 429 when the rate limit is exhausted. Step 4 of the workflow; this reaches every Procore endpoint, including any not exposed as a dedicated tool.
Inputs: path (required), method (required), body, page, +4 more.
procore_discover_categoriesDiscover Procore API CategoriesARead-onlyIdempotent
Lists Procore's API surface as a Category > Module tree with an endpoint count for each. Start here when you do not yet know which part of Procore holds the data you need; if you already know the resource by name ('RFI', 'budget'), procore_search_endpoints gets you there in one step instead of three. The category and module names returned are the exact values procore_discover_endpoints expects. Takes no arguments and returns a JSON object. Reads the catalog bundled with this server, so it makes no Procore request and needs no authentication — it cannot fail with 401/403 and costs no rate limit. Step 1 of the discover -> detail -> call workflow.
Inputs: no named parameters.
procore_discover_endpointsDiscover Endpoints in a CategoryARead-onlyIdempotent
Lists the Procore endpoints inside one category or module, optionally narrowed by a summary substring or HTTP method. Use it after procore_discover_categories to enumerate a focused area; prefer procore_search_endpoints when you have a keyword but no category. Every argument is optional, but omitting all of them returns the entire ~3,100-endpoint catalog, so pass at least a category or a search term. Returns a JSON array of {operationId, summary, method, path}; feed an operationId to procore_get_endpoint_details. Filters that match nothing return an empty array, not an error. Reads the bundled catalog: no Procore request, no authentication, no rate-limit cost. Step 2 of the workflow.
Inputs: module, search, category, method_filter.
procore_get_configShow Server ConfigurationARead-onlyIdempotent
Reports this server's current state: whether Procore OAuth tokens are present and still valid, the default company_id, and the active project_id that procore_api_call substitutes when you omit those parameters. Check this first when a call fails with 401 or 403, or to confirm which project subsequent calls will target before running a write. Never returns token values or the client secret — only whether credentials are present. Takes no arguments and returns a JSON object. Reads local process state, so it makes no Procore request. Pair with procore_set_config to change any of it.
Inputs: no named parameters.
procore_get_endpoint_detailsGet Full Endpoint DetailsARead-onlyIdempotent
Returns the complete parameter schema for one Procore endpoint: every path, query, and body field with its type and required flag, plus the response shape. Call this after discovery and before procore_api_call — api_call needs exact parameter names, and guessing them is the most common cause of a rejected request. Takes the operationId string that procore_discover_endpoints and procore_search_endpoints return; an unrecognized operation_id comes back as a not-found message rather than an error. Reads the bundled catalog: no Procore request, no authentication, no rate-limit cost. Step 3 of the workflow.
Inputs: operation_id (required).
procore_search_endpointsFull-Text Search Across EndpointsARead-onlyIdempotent
Searches every Procore endpoint's summary, tag, and path for a term and returns the matches ranked by relevance. This is the fastest way in when you already know roughly what you want ('punch list', 'submittal', 'budget line item'); reach for procore_discover_categories instead when you want to browse the API surface rather than search it. Returns a JSON array of {operationId, summary, method, path}; feed an operationId to procore_get_endpoint_details to get its parameters. A term with no matches returns an empty array, so retry with a broader or singular form before concluding the endpoint does not exist. Reads the bundled catalog: no Procore request, no authentication, no rate-limit cost.
Inputs: query (required).
procore_set_configSet Runtime Configuration ValueAIdempotent
Sets the default company_id or project_id that later procore_api_call requests use when the path needs one and you omit it. Use it to switch project context mid-session instead of restarting the server, then call procore_get_config to confirm what took effect. Only 'company_id' and 'project_id' are accepted; both are coerced to integers, and a non-numeric value is reported back as a message rather than stored. The change lives in memory for this server process only — it is never written to disk and is lost on restart. Setting the same value twice is a no-op, and nothing in Procore is modified: this only changes which ids this server fills in for you. Returns a confirmation plus the full updated configuration.
Inputs: key (required), value (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct role: browse categories, search endpoints, get endpoint details, execute an API call, and read/write config. Even discover_endpoints and search_endpoints both return endpoints, but their descriptions frame them as browse vs. keyword lookup, so an agent should not misselect.
All tools share a procore_ snake_case prefix and most follow a verb_noun pattern (discover_categories, get_config, search_endpoints). The one outlier is procore_api_call, which reads as noun_noun rather than call_api, but it remains clear and does not create real confusion.
Seven tools is well-scoped for a generic API-access server: discovery, search, schema inspection, execution, and config get/set each earn their place. There is no redundancy and no obvious missing companion tool.
The tool set fully covers its stated discover -> detail -> call workflow, with search added for faster lookup and config tools for context switching. Since procore_api_call can reach every Procore endpoint, no dedicated per-resource tools are needed for the server's purpose.
Maintenance
Related MCP Connectors
The official Planning Center MCP server for interacting with your ministry's data.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
The official MCP Server for the Mux API
MCP server for Product Management
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceMCP server for Huntress API integration1MIT
- MIT
- AlicenseAqualityAmaintenanceMCP server for Huly (task tracker) integration61,170 npm64MIT
- AlicenseBqualityDmaintenanceMCP Server for Git operations, agent templates, and project utilities.953 npmMIT