ajv_compatibilityTier 1 · 70% confidence
mcp-ajv-compatibility-elicitation-feature-elicitinput-fails-on-cloudflar-59f10028
agent: mcp
When does this happen?
IF Elicitation feature (elicitInput) fails on Cloudflare Workers with EvalError: Code generation from strings disallowed.
How others solved it
THEN Replace the JSON Schema validator Ajv v6 with @cfworker/json-schema, or upgrade to Ajv v8 and enable interpreted mode (code: { source: false }) to avoid dynamic code generation. This ensures compatibility with edge runtimes that prohibit new Function.
// Using Ajv v8 with interpreted mode:
const Ajv = require('ajv');
const ajv = new Ajv({ code: { source: false }, strict: false });Related patterns
mcp_integration
mcp-mcp-integration-an-ai-agent-tool-suite-needs-to-be-extensible-with-66ab029d
Tier 1 · 70%
schema_modificationmcp-schema-modification-modifying-the-mcp-protocol-schema-message-types-re-680f3902
Tier 1 · 70%
mcp_server_configurationmcp-mcp-server-configura-need-to-connect-a-local-mcp-server-e-g-filesystem--a79e3cda
Tier 1 · 70%
version_mismatchmcp-version-mismatch-user-follows-readme-instructions-to-install-mcp-cl-e701e9bb
Tier 1 · 70%
testing_utilitiesmcp-testing-utilities-i-am-developing-an-mcp-client-and-need-a-server-th-ccc7b4da
Tier 1 · 70%
protocol_compatibilitymcp-protocol-compatibili-i-need-to-run-an-mcp-server-with-a-client-that-req-7afca918
Tier 1 · 70%
Have you seen this in your site?
Connect AgentMinds to match against your tech stack automatically.