Skip to content

Building AI agents, atomically

gpt 5 mini for mcp clients

jon fox5216e8d8d167
diff --git a/atomic-examples/mcp-agent/example-client/example_client/main_fastapi.py b/atomic-examples/mcp-agent/example-client/example_client/main_fastapi.py
index 9239671..1d46c54 100644
--- a/atomic-examples/mcp-agent/example-client/example_client/main_fastapi.py
+++ b/atomic-examples/mcp-agent/example-client/example_client/main_fastapi.py
@@ -20,7 +20,7 @@ class MCPConfig:
"""Configuration for the MCP Agent system using HTTP Stream transport."""
mcp_server_url: str = "http://localhost:6969"
- openai_model: str = "gpt-4o"
+ openai_model: str = "gpt-5-mini"
openai_api_key: str = os.getenv("OPENAI_API_KEY") or ""
def __post_init__(self):
diff --git a/atomic-examples/mcp-agent/example-client/example_client/main_sse.py b/atomic-examples/mcp-agent/example-client/example_client/main_sse.py
index 8b96e89..6e862f8 100644
--- a/atomic-examples/mcp-agent/example-client/example_client/main_sse.py
+++ b/atomic-examples/mcp-agent/example-client/example_client/main_sse.py
@@ -21,11 +21,11 @@ class MCPConfig:
mcp_server_url: str = "http://localhost:6969"
- # NOTE: In contrast to other examples, we use gpt-4o and not gpt-4o-mini here.
- # In my tests, gpt-4o-mini was not smart enough to deal with multiple tools like that
+ # NOTE: In contrast to other examples, we use gpt-5-mini and not gpt-4o-mini here.
+ # In my tests, gpt-5-mini was not smart enough to deal with multiple tools like that
# and at the moment MCP does not yet allow for adding sufficient metadata to
# clarify tools even more and introduce more constraints.
- openai_model: str = "gpt-4o"
+ openai_model: str = "gpt-5-mini"
openai_api_key: str = os.getenv("OPENAI_API_KEY")
def __post_init__(self):
diff --git a/atomic-examples/mcp-agent/example-client/example_client/main_stdio.py b/atomic-examples/mcp-agent/example-client/example_client/main_stdio.py
index 2530d50..b4c9622 100644
--- a/atomic-examples/mcp-agent/example-client/example_client/main_stdio.py
+++ b/atomic-examples/mcp-agent/example-client/example_client/main_stdio.py
@@ -22,11 +22,11 @@ from mcp.client.stdio import stdio_client
class MCPConfig:
"""Configuration for the MCP Agent system using STDIO transport."""
- # NOTE: In contrast to other examples, we use gpt-4o and not gpt-4o-mini here.
- # In my tests, gpt-4o-mini was not smart enough to deal with multiple tools like that
+ # NOTE: In contrast to other examples, we use gpt-5-mini and not gpt-5-mini here.
+ # In my tests, gpt-5-mini was not smart enough to deal with multiple tools like that
# and at the moment MCP does not yet allow for adding sufficient metadata to
# clarify tools even more and introduce more constraints.
- openai_model: str = "gpt-4o"
+ openai_model: str = "gpt-5-mini"
openai_api_key: str = os.getenv("OPENAI_API_KEY")
# Command to run the STDIO server.
diff --git a/atomic-examples/mcp-agent/example-client/example_client/main_stdio_async.py b/atomic-examples/mcp-agent/example-client/example_client/main_stdio_async.py
index 8e11501..0219e72 100644
--- a/atomic-examples/mcp-agent/example-client/example_client/main_stdio_async.py
+++ b/atomic-examples/mcp-agent/example-client/example_client/main_stdio_async.py
@@ -22,11 +22,11 @@ from mcp.client.stdio import stdio_client
class MCPConfig:
"""Configuration for the MCP Agent system using STDIO transport."""
- # NOTE: In contrast to other examples, we use gpt-4o and not gpt-4o-mini here.
- # In my tests, gpt-4o-mini was not smart enough to deal with multiple tools like that
+ # NOTE: In contrast to other examples, we use gpt-5-mini and not gpt-4o-mini here.
+ # In my tests, gpt-5-mini was not smart enough to deal with multiple tools like that
# and at the moment MCP does not yet allow for adding sufficient metadata to
# clarify tools even more and introduce more constraints.
- openai_model: str = "gpt-4o"
+ openai_model: str = "gpt-5-mini"
openai_api_key: str = os.getenv("OPENAI_API_KEY")
# Command to run the STDIO server.