Skip to content

Commit f99fa5f

Browse files
authored
Tracing screenshot for MCP docs (#355)
1 parent bd47a41 commit f99fa5f

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

docs/assets/images/mcp-tracing.jpg

398 KB
Loading

docs/mcp.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Model context protocol
1+
# Model context protocol (MCP)
22

33
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:
44

@@ -46,6 +46,15 @@ Every time an Agent runs, it calls `list_tools()` on the MCP server. This can be
4646

4747
If you want to invalidate the cache, you can call `invalidate_tools_cache()` on the servers.
4848

49-
## End-to-end example
49+
## End-to-end examples
5050

5151
View complete working examples at [examples/mcp](https://github.com/openai/openai-agents-python/tree/main/examples/mcp).
52+
53+
## Tracing
54+
55+
[Tracing](./tracing.md) automatically captures MCP operations, including:
56+
57+
1. Calls to the MCP server to list tools
58+
2. MCP-related info on function calls
59+
60+
![MCP Tracing Screenshot](./assets/images/mcp-tracing.jpg)

0 commit comments

Comments
 (0)