Skip to main content

Connect the Gemini CLI to Marketproof MCP

Add Marketproof as a remote MCP server in the Gemini CLI. Note: the Gemini consumer app does not support remote MCP, only the CLI does.

Written by Ning

Marketproof MCP connects the Gemini CLI to live NYC real-estate data: building and unit search, recorded sales and comps, owner and contact lookups, DOB permits and violations, and market analysis. Ask in the CLI and Gemini pulls the data for you.

Note: remote MCP servers are supported by the Gemini CLI, not the Gemini consumer app. These steps are for the CLI.

Before you start

  • The Gemini CLI installed and signed in.

  • A Marketproof MCP account with a credit balance. Sign up at mcp.marketproof.com and buy a credit pack. You need credits to run any queries.

  • A Connection from your Marketproof console, which gives you a Server URL, a Client ID, and a Client Secret. Create one under Connect your AI agent. The Client Secret is shown only once, so copy it when you create the connection.

Connect it

  1. Get your credentials from the Marketproof console as above.

  2. Edit your settings. Open ~/.gemini/settings.json and add Marketproof under mcpServers. Remote HTTP servers use httpUrl, and authProviderType: "dynamic_discovery" turns on OAuth:

    {  "mcpServers": {    "marketproof": {      "httpUrl": "https://mcp.marketproof.com/tools",      "authProviderType": "dynamic_discovery"    }  }}
  3. Authenticate. Start the Gemini CLI and run /mcp auth marketproof. Complete the Marketproof sign-in and authorization in your browser.
    Using a token instead? Replace authProviderType with a headers block: "headers": { "Authorization": "Bearer YOUR_TOKEN" }.

  4. Verify. Run /mcp. Marketproof shows status CONNECTED with its capabilities listed.

What you can do now

  • "Find recent comparable sales near 250 East 40th Street and summarize the range."

  • "Pull the open DOB violations and recent permits for a building in the Bronx."

  • "Show this week's Manhattan contract activity by property type, with days on market."

Troubleshooting

  • marketproof shows DISCONNECTED. Run /mcp auth marketproof to authenticate, and confirm you used httpUrl (not url) with the exact address https://mcp.marketproof.com/tools.

  • Every request fails with "insufficient credits." Your Marketproof balance is empty. Buy a credit pack in the console.

  • Lost Client Secret. Rotate it in the console (open the Connection → Rotate).

Did this answer your question?