Skip to Content

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

  1. Start the preview tool with the command above
  2. Enter your MCP server URL when prompted (e.g., http://localhost:3100/mcp)
  3. Select a tool from the dropdown - if you’ve entered the right URL, you’ll see your tools listed
  4. Enter valid JSON data for the tool parameters
  5. View the component - if your component works correctly, you’ll be able to see it rendered!