How to build integration tests for MCP with widget?

I’m building mcp tool with widget for chatgpt, anyone knows how to make integration testing for this? I’d like to have a way to execute command and render widget in environment as close as possible to chatgpt: js APIs, full screen mode, external links, etc

Hi Pascha,

I asked ChatGPT and it gave me this answer: ChatGPT - MCP Tool Integration Testing
Can you take a look first and tell us if you need additional information?

Thanks.

By the way welcome to the community! Nice to hear and see you here! :slightly_smiling_face:

Hey @pasha888 , did you find any solution? I just launched the mcp-studio. Runs entirely locally, and you can test your mcp app, interactive with your widget and full widget setting like display mode, dark/light mode, etc. You just need to interactive with your mcp application in mcp studio.

You can try by just run npx @pragmalabs/mcp-studio

mcp-studio-replay-test