Sign in at dashboard.jazzmcp.com → API Keys.
Click Generate Key → copy the value (looks like sk-live-…).
Store it in a secret store or export for local testing:
export JAZZMCP_API_KEY="sk-live-0123456789abcdef"
curl -N -H "Authorization: Bearer $JAZZMCP_API_KEY" \ https://mcp.jazzmcp.com/sse/list_tools
You should receive a JSON array that defines search_web, crawl_pages, and exec_py.
from openai_agents import Agent, run from openai_agents.tools.remote import McpServer import os mcp = McpServer( sse_params={ "url": "https://mcp.jazzmcp.com/sse", "headers": {"Authorization": f"Bearer {os.getenv('JAZZMCP_API_KEY')}"}, } ) assistant = Agent( model="o3", system="You are a concise research assistant.", tools=mcp.tools, # <- auto-imported tool list ) print(run(assistant, "Search for 2025 electric-vehicle battery costs and plot them in Python"))
The agent will: