Model Context Protocol (MCP) with Gemini 2.5 Pro. Convert conversational queries into flight searches using Gemini's function calling capabilities and MCP's flight search tools
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add gemini-function-calling-model-context-pr -- python client.py~/.codex/config.toml
[mcp_servers.gemini-function-calling-model-context-pr]
command = "python"
args = ["client.py"]
# codex mcp add gemini-function-calling-model-context-pr -- python client.py~/.cursor/mcp.json
{
"mcpServers": {
"gemini-function-calling-model-context-pr": {
"command": "python",
"args": [
"client.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"gemini-function-calling-model-context-pr": {
"type": "stdio",
"command": "python",
"args": [
"client.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gemini-function-calling-model-context-pr": {
"command": "python",
"args": [
"client.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gemini-function-calling-model-context-pr": {
"command": "python",
"args": [
"client.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"gemini-function-calling-model-context-pr": {
"command": "python",
"args": [
"client.py"
]
}
}
}