Testing
Testing Your MCP Server
You can test your MCP server using the Fractal CLI preview tool:
npx @fractal-mcp/cli preview
How to Use the Preview Tool
- Start the preview tool with the command above
- Enter your MCP server URL when prompted (e.g.,
http://localhost:3100/mcp
) - Select a tool from the dropdown - if you’ve entered the right URL, you’ll see your tools listed
- Enter valid JSON data for the tool parameters
- View the component - if your component works correctly, you’ll be able to see it rendered!