{"version":"2.1.219","anchor":"mcp-error-escaping-typed-telemetry-ids-and-shared-version-no","canonical_anchor":"mcp-error-escaping-typed-telemetry-ids-and-shared-version-no","heading":"MCP error escaping, typed telemetry ids and shared version normalisation","tier":"internal","area":"MCP","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219\/e\/mcp-error-escaping-typed-telemetry-ids-and-shared-version-no","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219","markdown":"### MCP error escaping, typed telemetry ids and shared version normalisation\n\nMCP server error lines are escaped before display, plus minor telemetry and version-string cleanups.\n\n**What**\n\nThree small plumbing changes around display escaping and telemetry value typing.\n\n**Details**\n\n- Server error lines in the MCP UI pass code, path and message through a sanitising helper before rendering.\n- Prompt-cache diagnosis telemetry wraps `requestId` and `previousMessageId` in the typed-value helpers instead of passing raw strings.\n- Version strings in the logging pipeline are normalised via a shared helper rather than an inline regex.\n\n**Evidence**\n\n`tengu_prompt_cache_diagnosis_received`\n\n- Area: MCP\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 0\/5"}