OpenAI SDK Integration
Integrate Talordata MCP Server with OpenAI SDK to give AI agents access to real-time SERP data and structured search results.
Hosted MCP
2
Configure your MCP server
from openai import OpenAI
client = OpenAI()
resp = client.responses.create(
model="gpt-4o",
tools=[
{
"type": "mcp",
"server_label": "TalorData",
"server_url": "https://mcp.talordata.net/API_TOKEN/mcp",
"require_approval": "never",
},
],
input="What is the weather in Paris ?",
)
print(resp.output_text)Last updated