Skip to content

Commit 937b276

Browse files
authored
Fix oauth .well-known metadata discovery (openai#4677)
This picks up modelcontextprotocol/rust-sdk#459 which is required for proper well-known metadata discovery for some MCPs such as Figma.
1 parent 5611e58 commit 937b276

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

codex-rs/Cargo.lock

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codex-rs/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ rand = "0.9"
142142
ratatui = "0.29.0"
143143
regex-lite = "0.1.7"
144144
reqwest = "0.12"
145+
# When this gets bumped, remove the patch below.
145146
rmcp = { version = "0.7.0", default-features = false }
146147
schemars = "0.8.22"
147148
seccompiler = "0.5.0"
@@ -243,5 +244,11 @@ strip = "symbols"
243244
codegen-units = 1
244245

245246
[patch.crates-io]
247+
# Uncomment to debug local changes.
246248
# ratatui = { path = "../../ratatui" }
247249
ratatui = { git = "https://github.com/nornagon/ratatui", branch = "nornagon-v0.29.0-patch" }
250+
251+
# Uncomment to debug local changes.
252+
# rmcp = { path = "../../rust-sdk/crates/rmcp" }
253+
# 0.7.0 + https://github.com/modelcontextprotocol/rust-sdk/pull/459 which includes dynamic .well-known discovery which is required for Figma.
254+
rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", rev = "c0b777c7f784ba2d456b03c2ec3b98c9b28b5e10", default-features = false }

0 commit comments

Comments
 (0)