Get the URL and a key
On the Dashboard, open the Google Flights integration. Its Connect panel gives the MCP URL, and Create a key makes an integration key, which reaches only this integration’s tools and jobs. Keep the key in your secret manager.Connect your agent
Connect your agent’s MCP client over Streamable HTTP, with the key as a bearer token:Call its tools
The MCP lists the site’s tools by their own names, such assearch_flights, plus get_job, answer_job and cancel_job. A site tool takes its input as an object:
next (get_job with wait_seconds).
Handle a question
A job can stop with statusneeds_input and an input_request, which holds a message, its questions and an answer_url.
For a plain question, such as a choice, your agent asks the user, then calls answer_job with an answer for each question ID:
answer_url, a protected page that keeps the value out of your agent’s conversation. Then keep waiting with get_job.
Either way the same job continues. Never start it again.
Details
Details
- Answer before the request’s
expires_at, or the job fails. - An integration key can run tools and follow, answer and cancel jobs. Building a tool or managing a login needs an account key.
- More in integration MCPs, answer questions and the integration MCP reference.