Repository navigation
Commit 31688a3
committed
fix(server): let Claude approve Yes/No MCP confirmation forms
mongodb-mcp-server (and the hosted Atlas connector) confirms writes with a
required "confirmation" enum ["Yes","No"]. No option matched the
allow-once pattern, so the Claude adapter declined before any approval card
appeared and the tool failed with "User did not confirm".
When the user clicks Approve, the Claude path now also picks a one-time
affirmative choice (Yes/Confirm/Proceed/Continue/OK). Schema defaults stay
stripped and persistence choices are still never picked; the Codex path is
unchanged since the option is opt-in.1 parent 119bf4c commit 31688a3
2 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3855 | 3855 | | |
3856 | 3856 | | |
3857 | 3857 | | |
| 3858 | + | |
3858 | 3859 | | |
3859 | 3860 | | |
3860 | 3861 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
180 | 186 | | |
181 | 187 | | |
182 | 188 | | |
| 189 | + | |
183 | 190 | | |
184 | 191 | | |
185 | 192 | | |
| |||
203 | 210 | | |
204 | 211 | | |
205 | 212 | | |
206 | | - | |
207 | | - | |
208 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
209 | 217 | | |
210 | 218 | | |
211 | 219 | | |
| |||
0 commit comments