core-agent-ide/codex-rs/core/tests
Gabriel Peal 40fba1bb4c
[MCP] Add support for resources (#5239)
This PR adds support for [MCP
resources](https://modelcontextprotocol.io/specification/2025-06-18/server/resources)
by adding three new tools for the model:
1. `list_resources`
2. `list_resource_templates`
3. `read_resource`

These 3 tools correspond to the [three primary MCP resource protocol
messages](https://modelcontextprotocol.io/specification/2025-06-18/server/resources#protocol-messages).

Example of listing and reading a GitHub resource tempalte
<img width="2984" height="804" alt="CleanShot 2025-10-15 at 17 31 10"
src="https://github.com/user-attachments/assets/89b7f215-2e2a-41c5-90dd-b932ac84a585"
/>

`/mcp` with Figma configured
<img width="2984" height="442" alt="CleanShot 2025-10-15 at 18 29 35"
src="https://github.com/user-attachments/assets/a7578080-2ed2-4c59-b9b4-d8461f90d8ee"
/>

Fixes #4956
2025-10-17 01:05:15 -04:00
..
common test: reduce time dependency on test harness (#5053) 2025-10-15 09:56:59 +01:00
fixtures Improve SSE tests (#1546) 2025-07-12 16:53:55 -07:00
suite [MCP] Add support for resources (#5239) 2025-10-17 01:05:15 -04:00
all.rs test: faster test execution in codex-core (#2633) 2025-08-24 11:10:53 -07:00
chat_completions_payload.rs [codex][otel] propagate user email in otel events (#5223) 2025-10-15 17:53:33 -07:00
chat_completions_sse.rs [codex][otel] propagate user email in otel events (#5223) 2025-10-15 17:53:33 -07:00
cli_responses_fixture.sse Add CLI streaming integration tests (#1542) 2025-07-12 18:05:58 -07:00
responses_headers.rs [codex][otel] propagate user email in otel events (#5223) 2025-10-15 17:53:33 -07:00