ext-apps/examples/basic-server-react/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner 61cd4ed219 Use content instead of structuredContent in examples
Not all MCP clients support structuredContent in MCP tool results, so
examples now return data as JSON in content and parse it client-side.

Pattern used:
- Server: content: [{ type: "text", text: JSON.stringify(data) }]
- Client: JSON.parse(result.content!.filter(...).map(...).join(""))

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 16:35:20 -06:00
..
global.css Add basic-host and basic-server-react examples 2025-12-04 14:28:27 -06:00
mcp-app.module.css Add basic-host and basic-server-react examples 2025-12-04 14:28:27 -06:00
mcp-app.tsx Use content instead of structuredContent in examples 2025-12-05 16:35:20 -06:00
vite-env.d.ts Add basic-host and basic-server-react examples 2025-12-04 14:28:27 -06:00