MCPcopy Create free account
hub / github.com/openai/openai-agents-python / main

Function main

examples/mcp/manager_example/smoke_test.py:131–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129
130
131async def main() -> None:
132 mcp_port = _free_port()
133 process = _start_mcp_server(mcp_port)
134 try:
135 _wait_for_port(process, mcp_port)
136 await _exercise_app(mcp_port)
137 finally:
138 _stop_process(process)
139
140 print("MCP manager example smoke test completed successfully.")
141
142
143if __name__ == "__main__":

Callers 1

smoke_test.pyFile · 0.70

Calls 5

_free_portFunction · 0.85
_start_mcp_serverFunction · 0.85
_wait_for_portFunction · 0.85
_exercise_appFunction · 0.85
_stop_processFunction · 0.85

Tested by

no test coverage detected