How to connect your AI agent
gemini mcp add --transport http \ --header "Authorization: Bearer op_..." \Your API key goes here unde https://undelabs.dev/mcpServer address. Do not change it.
Gemini CLI turns MCP servers off in folders it does not trust. Trust the folder first.
Long tasksA production plan can take a few minutes. Gemini CLI waits 10 minutes by default. In Google ADK, set
sse_read_timeout=900.Retrying safelySend the same
idempotency_key when you retry a plan, so it does not run twice.Source IDA source ID from an upload expires after 30 minutes.
LimitsEach tool call counts against its REST route’s limit. See each tool’s limit in Pick a tool.
- Choose your agent in the tabs.
- Copy the setup.
- Put your API key where it says
op_.... - Run it, then ask your agent a question.
Try this question“What is the likely origin of a heat gun assembled in Thailand from a motor and control board made in China?”
FilesUpload files in the application, then give your agent only the source ID. Do not paste files into the chat.
Full MCP guide and tested transcripts ↗