Build Flows

Integrations · November 16, 2026 · 10 min read

How to Connect a Procore MCP Server to Google Gemini (Developer Mode)

A help guide that matches the video from 23:05 to 24:50: what Gemini Apps Developer Mode is, how to run the server on port 8123 at /mcp, how to build the URL with mode and persona, each Gemini screen in order, the confirmation prompts, the Tool schemas, Environment and Authentication tabs, and troubleshooting.

By Charley Forey, founder of Build Flows

Key takeaways

  • Gemini Apps Developer Mode, at gemini.google.com/devmode, is Google's test bench for MCP servers, with an event log, tool schemas, simulated environment and OAuth settings.
  • Gemini needs a public HTTPS URL ending in /mcp, so a local server on port 8123 needs a tunnel or a Cloud Run deployment.
  • The demo build reads ?mode= and ?persona= from the URL because Gemini's connect dialog takes only a URL. Headers win when both are present.
  • Check the tool count before you connect: hybrid mode with the GC persona shows 42 tools, and thousands means the server is in expanded mode.
  • A working call shows Confirmation requested, then Confirmed, then 200 OK in the event log.
  • Google's docs don't state who is eligible for Developer Mode, so treat it as a test surface and roll out through Gemini Enterprise or ADK.

70 seconds · From a Build Flows walkthrough

Gemini connects to the Procore MCP and lists projects

After connecting the server in Gemini Developer Mode, Gemini shows 42 tools, then answers which Procore projects you're on by calling list_companies and list_projects, each confirmed and logged.

Read the clip transcript

Cool. So we have 42 tools that we are using in this instance. We will connect. And here we go. Now, let's go to what Procore project is working on. Okay. Let's pull this live thing. So I can see down here it's doing list companies, confirm list the companies, it lists the projects and gathered insights around the projects. And so these are all the different projects that I am working on. So it looks like this MCP is working quite well. Anyways, thank you very much for your time. I really appreciate it. And I wish you all the best. If there's anything you have questions on or need insight into,

Captions adapted from the source video; proper names may reflect automatic transcription. Original segment: 23:48–24:58. Watch at the source.

You have a Procore MCP server running and you want to see it work in Google Gemini before you build anything bigger. Gemini's Developer Mode lets you do that in a few minutes: paste an HTTPS URL, review the tools, and ask a question. Every tool call shows up in an event log with its status and latency.

This is the step-by-step version of what the video shows from 23:05 to 24:50. It covers running the server over streamable HTTP, building the server URL, each Gemini screen in order, what the confirmation prompts mean, and how to fix the errors you're most likely to hit. The example is the open-source Procore MCP server in hybrid mode with a read-only GC persona, connected to a Procore developer sandbox.

Five steps to connect an MCP server in Gemini Developer Mode: open gemini.google.com/devmode, paste the https URL ending in /mcp, accept the trust prompt and connect, review the 42 tools, then ask a question and confirm. A mock event log shows list_companies moving from Confirmation requested to Confirmed to 200 OK.From a URL to a live Procore answer in Gemini Developer Mode.

What Gemini Developer Mode is, and who can use it

Google describes Gemini Apps Developer Mode as "an interactive, web-based debugging and evaluation workspace" for testing an MCP server before you submit a connected app for review. You open it from Settings > Gemini Apps Developer Mode or by going to gemini.google.com/devmode. It gives you a chat pane on the left and an inspector on the right with four tabs: Event log, Tool schemas, Environment and Authentication.

What the docs say about the connection:

  • The server must be reachable at an HTTPS URL. The connect dialog says "Make sure your URL starts with https://".
  • Credentials go under Additional settings > Show more.
  • The Authentication tab offers Dynamic Client Registration or Manual Client Registration, so the supported auth is OAuth. The docs don't mention API keys or custom headers.

What the docs don't say: which account types can use Developer Mode (personal, Workspace, or both), regional availability, or any limit on tool count. We couldn't find an official statement on eligibility as of November 2026, so check with your Google admin if the menu item doesn't show up for you.

Treat Developer Mode as a test bench. To roll Procore answers out to employees, use a Gemini Enterprise custom MCP server data store, which an admin manages, or an ADK agent. The pillar guide covers those paths.

Before you start: run the server over streamable HTTP

Gemini talks to the server over the network, so it needs the HTTP transport, not stdio. From the repo root (github.com/charley-forey/procore-mcp):

npm install
npm run build

# Credentials: copy .env.example to .env and fill in
# PROCORE_CLIENT_ID, PROCORE_CLIENT_SECRET and PROCORE_COMPANY_ID

# Sandbox, hybrid mode, GC persona, read-only policies
export PROCORE_ENVIRONMENT=sandbox
export PROCORE_MCP_MODE=hybrid
export PROCORE_MCP_PERSONA=gc_demo
export PROCORE_MCP_POLICIES=readonly-by-default,sandbox-only
export PROCORE_MCP_EMBEDDINGS=disabled

npm run start:http
# Procore MCP Streamable HTTP Server listening on port 8123
# Connect to: http://localhost:8123/mcp

On Windows PowerShell, set each variable with $env:NAME="value" instead of export. Your Procore client ID, secret and company ID come from environment variables loaded on the server. They never go in the URL and Gemini never sees them.

Check it's alive before you involve Gemini:

curl http://localhost:8123/health
# {"status":"ok","service":"procore-mcp-server"}

The port defaults to 8123. Change it with PORT or --port=XXXX. The MCP endpoint is always /mcp.

Gemini runs in Google's cloud, so it can't reach localhost. You need a public HTTPS URL that forwards to port 8123: a Cloudflare quick tunnel for a five-minute test, or Cloud Run or a named tunnel behind access controls for anything longer. How to choose, and how to do it without leaking a token, is in Expose a Dev MCP Server to Gemini Safely. For production hosting, see Hosting Streamable HTTP MCP Servers.

Build the server URL

Anatomy of the server URL. https:// is required by Gemini. The host is your tunnel or Cloud Run hostname. /mcp is the server's single endpoint. ?mode=hybrid picks the tool surface. &persona=gc_demo applies the GC persona's tool allowlist and read-only policies. Below, the request path: Gemini calls the HTTPS host, which forwards to the server on port 8123, where the server reads mode and persona, checks policy, and calls the Procore sandbox with its own service account.Each part of the URL has one job. Secrets don't belong in it.

Most MCP clients let you set headers, and this server normally takes its mode and persona from x-procore-mcp-mode and x-procore-mcp-persona. Gemini's connect dialog only takes a URL, so the demo build of the server also reads them from the query string in src/server/http.ts:

https://<your-https-host>/mcp?mode=hybrid&persona=gc_demo
  • mode=hybrid shows the persona's tools plus the router meta-tools.
  • persona=gc_demo limits the Procore tools to a 15-tool read-only allowlist and applies readonly-by-default and sandbox-only.
  • If a header is also present, the header wins.

Both parameters are optional. Without them the server falls back to PROCORE_MCP_MODE and the persona set on the server, which is the cleaner choice once you deploy. Leave mode and persona in the URL only while you're testing.

Connect it, step by step

The video covers this at 23:05.

  1. Open Developer Mode. In Gemini on the web, click Settings > Gemini Apps Developer Mode, or go straight to gemini.google.com/devmode. The Developer Mode panel opens on the right with "No telemetry recorded."

  2. Create a custom app. In the Choose an app dialog ("No custom MCP servers yet"), click + Create new.

  3. Enter the server URL. In Connect to an MCP server, paste your URL into MCP Server URL. It has to start with https:// and end in /mcp, plus any query parameters.

    Gemini's Connect to an MCP server dialog. The MCP Server URL field shows the placeholder https://your-app-link.com/mcp, with the hint Make sure your URL starts with https:// below it. Additional settings has a Show more toggle. An About custom Connected Apps note warns that Gemini will send info to a custom connected app that Google hasn't reviewed. Cancel and Next buttons are at the bottom.The connect dialog, before a URL is entered.

  4. Check Additional settings. Click Show more if your server uses OAuth and enter the client details there. Our sandbox demo didn't use OAuth, so we left it closed.

  5. Read the trust notice, then connect. Click Next. Gemini shows a notice headed Make sure you trust this MCP server: Google "does not control, monitor, or secure this MCP server," and the server "may request data beyond what is needed." Tick I understand and accept the security and privacy risks of connecting this custom app and click Connect. That warning is a fair one. Only connect servers you run or have vetted.

  6. Review the tools. The Save your custom app dialog shows the app name (ours came through as "Procore Mcp Server") and Available actions with a last-synced time. Click See all 42 to check the list: the 15 Procore read tools from the persona, then the 27 procore_* meta-tools. If you see thousands of tools, the server is in expanded mode. Stop and fix that first. Click Connect, and Gemini confirms with "Custom app added."

  7. Ask your first question. We used: "What Procore projects am I working on?"

  8. Answer the prompts. Two prompts showed up in the video, and they're different things:

    • The browser asked whether gemini.google.com may Show notifications. That's Chrome's site permission, not the server. Allow or Block, either works.
    • Gemini asked Let Gemini use list companies? with Don't allow, Allow once and Always allow. That's the tool-level confirmation. Charley chose Always allow for this read-only tool.

    Left, Gemini's tool permission card from Procore Mcp Server: Let Gemini use list companies? with Don't allow, Allow once and Always allow buttons. Right, the Developer Mode event log with the prompt What procore projects am i working on?, an Environment event, and list_companies marked Confirmation requested.Gemini asks before calling the tool. The event log shows Confirmation requested.

  9. Watch the event log. Under Telemetry, list_companies moved from Confirmation requested to Confirmed and then to a tool result of 200 OK in 889 ms. list_projects followed the same pattern. Expand any event to see the JSON-RPC request and response.

    The Developer Mode event log with Telemetry 7. list_companies shows Confirmation requested at 02:47:42 PM, then Confirmed at 02:47:50 PM, then a tool result with 200 OK and 889ms at 02:47:52 PM, all from Procore Mcp Server.Confirmation requested, Confirmed, 200 OK. That's a working connection.

The other three tabs

The video stays on the Event log, but the other tabs are worth a look before you build on this. Per Google's docs:

  • Tool schemas lists the server's instructions and every tool from tools/list, with a filter, safety badges (Read-only, Destructive, Auth-required), parameters, the raw schema and the response structure. Sync schema re-fetches the tool list without resetting the chat. Use it after you change a persona or restart the server.
  • Environment sets a Simulated Date, Simulated Time and Language. That's handy for anything date-relative, like "overdue as of today." Set it to the date your data was captured and the answers stay stable.
  • Authentication is where you pick Dynamic Client Registration or Manual Client Registration for OAuth, then Save.

What it looks like on real data

Gemini answered the first question with a table of the 10 Procore projects the sandbox service account can see. That matches the server's own capture from the same day. Once that works, the GC persona's tools answer real project questions. Here's what the same server returned on the sandbox project:

PromptTools Gemini should callSandbox result
Which RFIs are overdue and who has the ball?list_project_rfi_rfis23 open, 22 past due
What's our open change exposure?list_change_events5 events, $114,021 ROM
Where are we over budget?list_budget_views, list_budget_view_detail_rows3 lines, $261,050 over
Can you create an RFI for me?procore_call_toolDenied by policy readonly-by-default

Paste these after the first test to exercise each domain:

What Procore projects am I working on?

On The Sparkling Skyrise Project, which RFIs are overdue as of today?
Rank by days late and show who has the ball in court.

What open or pending change events are there, and what's the total
ROM exposure?

Create an RFI asking the architect to confirm the L4 embed locations.
(Expect a policy denial: this persona is read-only.)

The last one is a good test to show your IT lead. The write gets refused at the server, before it reaches Procore, whatever the model decides to try.

Troubleshooting

What you seeLikely causeFix
Connection fails with 401 UnauthorizedThe server requires a token and Gemini isn't sending a valid one. The server answers with JSON-RPC error -32001 UnauthorizedUse OAuth for anything shared. For a short throwaway demo, see the token options in the security guide. Then reconnect
"Make sure your URL starts with https://"You pasted http:// or localhostPut the server behind an HTTPS tunnel or deploy it to Cloud Run
Worked yesterday, fails todayThe quick tunnel's hostname changed or the tunnel process stoppedStart a new tunnel and create a new custom app with the new URL, or move to a stable hostname
Thousands of tools, slow or confused answersThe server is in expanded mode (2,755 tools)Use mode=hybrid with a persona, or router. See the modes guide
A confirmation card on every callThe tools don't declare readOnlyHint, so Gemini asks firstChoose Always allow for read tools you trust. Adding readOnlyHint to read tools is the server-side fix
-32602 invalid paramsGemini's arguments don't match the tool schemaCompare the Tool call payload with Tool schemas and tighten the description
403 from ProcoreThe service account isn't in that project's directoryAdd it in Procore, or ask about a project it can see
429 or slow responsesProcore rate limit (25 per window on our sandbox)The server retries with backoff. Ask narrower questions
Tools changed, Gemini shows the old listCached schemaClick Sync schema on the Tool schemas tab

Do it with us

BuildFlows sets this up with GCs, from the Procore service account to a Gemini Enterprise rollout with personas, policies and audit. If you want to see your own projects in Gemini, email charley@buildflows.ai or visit /engage. The whole run is on the Procore MCP and Gemini demo page, and the use-case catalog is in the Procore Agent Playbook.

Related reading: Routing 2,755 Procore API Tools Through MCP, What is MCP?, Hardening MCP Servers for Production and Governing AI Agents in Construction.

References

Frequently asked questions

Where is Developer Mode in Gemini?

In Gemini on the web, open Settings and choose Gemini Apps Developer Mode, or go to gemini.google.com/devmode. Then click + Create new in the Choose an app dialog to add a custom MCP server.

Can I connect a localhost MCP server to Gemini?

No. Gemini runs in Google's cloud and requires a URL that starts with https://. Put the local server behind an HTTPS tunnel for a short test, or deploy it to Cloud Run for anything longer.

What authentication does Gemini Developer Mode support?

Google's docs describe OAuth, with Dynamic Client Registration or Manual Client Registration on the Authentication tab. They don't mention API keys or custom headers.

Why does Gemini ask for confirmation before every tool call?

Gemini decides when to confirm based on tool annotations and context. Tools without readOnlyHint get a confirmation card. Choose Always allow for read tools you trust, or add readOnlyHint to read-only tools on the server.

What does a 401 Unauthorized mean when connecting?

The server requires a token and Gemini didn't send a valid one. The Procore MCP server returns JSON-RPC error -32001 Unauthorized before any tool runs. Use OAuth for anything shared, and see the security guide for short demos.

Who can use Gemini Developer Mode?

Google's documentation, last updated October 28, 2026, doesn't state account-type or regional eligibility. If the menu item doesn't appear, check with your Google admin.

Next step

Need this connection in your environment?

Scope one integration: the records, direction, timing, and business rules behind the connection.

Prefer email? charley@buildflows.ai

Keep learning