Dev building own MCP hits client inconsistencies, tempted by the very 'if clientname ==' hacks everyone mocks

lucasmeijer · x · 2026-10-05

Developer Lucas Meijer shares a firsthand pain point while building his own MCP server: clients behave inconsistently, with Claude Code truncating MCP instructions. He notes the community mocks Figma MCP's "if clientname ==" checks, yet he's tempted to do the same — detecting Claude Code and yelling at the model to read a doc from disk instead. The post highlights a real issue in the MCP ecosystem: poor client compatibility is forcing server authors into client-specific workarounds.

Original post →

More from coding & agent

coding & agent channel →