()
| 165 | // cfworker validator does not use code generation and works in every |
| 166 | // runtime we ship to. |
| 167 | const createClient = (): Client => |
| 168 | new Client( |
| 169 | { name: "executor-mcp", version: "0.1.0" }, |
| 170 | { |
| 171 | capabilities: { elicitation: { form: {}, url: {} } }, |
| 172 | jsonSchemaValidator: new CfWorkerJsonSchemaValidator(), |
| 173 | }, |
| 174 | ); |
| 175 | |
| 176 | const connectionFromClient = (client: Client): McpConnection => ({ |
| 177 | client, |