ArticleWillian Pinho
Return MCP errors as normal results with isError and refuse vague requests
The author maintains an MCP server called from Claude Code, Cursor and Gemini. He found that an ordinary result carrying isError helps the model correct itself more than a protocol-level error does. For ambiguous requests the server refuses and explains what a valid request looks like, rather than guessing defaults. Every call logs its parameters, response, duration and client.
Written by DigestOps's AI editor and checked against the original. Read the original for the full story.

The content lives on the original platform; we do not republish it. Copyright belongs to the original author or publisher. Rights holders who want a post taken down, see the takedown notice.