Tracing screenshot for MCP docs (#355)

This commit is contained in:
Rohan Mehta 2025-03-26 13:56:34 -04:00 committed by GitHub
parent bd47a41d0b
commit f99fa5f23c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB

View file

@ -1,4 +1,4 @@
# Model context protocol
# Model context protocol (MCP)
The [Model context protocol](https://modelcontextprotocol.io/introduction) (aka MCP) is a way to provide tools and context to the LLM. From the MCP docs:
@ -46,6 +46,15 @@ Every time an Agent runs, it calls `list_tools()` on the MCP server. This can be
If you want to invalidate the cache, you can call `invalidate_tools_cache()` on the servers.
## End-to-end example
## End-to-end examples
View complete working examples at [examples/mcp](https://github.com/openai/openai-agents-python/tree/main/examples/mcp).
## Tracing
[Tracing](./tracing.md) automatically captures MCP operations, including:
1. Calls to the MCP server to list tools
2. MCP-related info on function calls
![MCP Tracing Screenshot](./assets/images/mcp-tracing.jpg)