---
title: "Return structured JSON from MCP servers | Ian Nuttall"
description: "Return data as JSON for MCP server"
canonical: "https://ian.is/post/mcp-json-responses"
language: "en"
---

# Return structured JSON from MCP servers

May 2025 / 13,170 views / [via X](https://x.com/iannuttall/status/1921842357437169932)

Pro tip if you're building an MCP server to use in Cursor/Windsurf

Return your data as structured JSON

makes it much easier for the agent to figure out exactly what it should do.

![Image from the original X post](https://ian.is/media/tweets/1921842357437169932/1921842357437169932/6c7d460d97397f697d8cb78234356529060525842418ab55803e6676d742ac33.jpg)

## Ian's List

Join 15k\+ subscribers
