Commit 48cb8d3
committed
feat: add SEP-1330 conformance test tool to everything-server
Add test_elicitation_sep1330_enum_schemas tool that demonstrates all 5
enum schema patterns introduced in SEP-1330:
- Untitled single-select (simple enum array)
- Titled single-select (oneOf with const/title)
- Untitled multi-select (array with items.enum)
- Titled multi-select (array with items.oneOf)
- Legacy format (enum + enumNames for backward compatibility)
This enables conformance testing of the SEP-1330 implementation in the
Python SDK, matching the TypeScript server implementation.1 parent 6ddfee7 commit 48cb8d3
File tree
1 file changed
+58
-0
lines changed- examples/servers/everything-server/mcp_everything_server
1 file changed
+58
-0
lines changedLines changed: 58 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
169 | 227 | | |
170 | 228 | | |
171 | 229 | | |
| |||
0 commit comments