Answers

How do I connect P0 to Gemini Enterprise as a custom MCP server?

In the Google Cloud console open Gemini Enterprise, Data stores, search for the Custom MCP Server card, click Add MCP server, choose No authentication and enter the MCP Server URL https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp. An administrator with the Discovery Engine Editor role has to do it, and Google blocks custom MCP data stores by an organization policy until that constraint is overridden. The tools you can use through it are free: market search, market statistics and the list of P0's paid products.

Data as of 2026-10-25 · Source: Google Cloud: Set up your custom MCP server data store

The numbers

P0 MCP endpoint
https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp
Transport
Streamable HTTP, JSON-RPC 2.0
Authentication
None required; an optional prepaid access key is accepted as Authorization: Bearer p0k_… (see the notes)
Free tools worth allowing
search_x402_services, x402_market_stats, list_paid_data_products

Steps in Gemini Enterprise

StepWhat to do
1Grant your administrator the Discovery Engine Editor role (roles/discoveryengine.editor) and override the organization policy constraint that blocks custom MCP data store creation.
2If egress is restricted by organization policy, allow the host name of the P0 endpoint (the domain only, not the full URL); if project enforcement or VPC Service Controls apply, add custom_mcp to the allowed data sources.
3In the Google Cloud console go to Gemini Enterprise, then Data stores, enter Custom MCP Server in the search field, select its card and click Add MCP server.
4Authentication settings: No authentication. MCP Server URL: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp (HTTPS; Google says the URL often ends with /mcp).

What works through the connector, and what does not

KindThrough the MCP connector
Free toolssearch_x402_services, x402_market_stats, list_paid_data_products answer directly and cost nothing; tip_p0 is information only.
Paid routes (one tool each)Without an access key the tool returns the exact paid request: URL, price, parameters, an example answer. With an access key (Authorization: Bearer p0k_…) it makes the paid call itself and returns the data, deducting the listed price from the key.
The paid data itselfThe request answers HTTP 402 until it is paid. Pay with an x402 client or wallet, or by a direct transfer (below).

Copy-paste setup

Check the endpoint first (any shell)

curl -s -X POST https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Paying for the data

Paid routes answer HTTP 402 with the payment requirements until paid over x402 or MPP (no account or key); see how to pay, pay without a client, OpenAPI. The figures on this page are also at ?format=json.

Limits and notes

Related questions

Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All answers