Flare by Spatie
  • Features
  • Pricing
  • Docs
  • Blog
  • LOG IN
  • START TRACKING
  • Home
  • Features
  • Pricing
  • Docs
  • Blog
    • Try Flare for free
    • Sign in
Flare Flare Laravel Laravel PHP PHP JavaScript JavaScript
  • General
  • Welcome to Flare
  • Getting started
  • Working with errors
  • Working with error occurrences
  • Our MCP server
  • AI powered solutions
  • Searching errors
  • Sharing errors
  • Spike protection
  • Error grouping
  • GitHub integration
  • Jira integration
  • GitLab integration
  • Linear integration
  • Using the API
  • Notifications
  • Configuring notifications
  • Mail
  • Slack
  • Telegram
  • SMS
  • Webhooks
  • Discord
  • Microsoft Teams

Our MCP server

The Flare MCP server allows you to integrate Flare's error tracking capabilities directly into your AI-powered development workflows. Use it with AI assistants like Claude to automatically monitor, analyze, and resolve application errors.

What is MCP?

MCP (Model Context Protocol) is an open protocol that enables AI assistants to securely connect with external data sources and tools. By using the Flare MCP server, your AI assistant gains direct access to your error tracking data and can perform actions in Flare on your behalf.

Key features

With the Flare MCP server, you can ask your AI assistant to:

  • "Show me the latest errors from my project"
  • "Fix the error regarding the PHP syntax error in myfile.php"
  • "Mark the error as resolved in Flare"
  • "Fix error ERROR-ID-HERE and mark the error as resolved"
  • "Show me all slow routes in my app"
  • "Create a note in Flare with the results of your investigation about this error"

Getting started

Step 1: Create an API token

First, create an API token in your Flare account settings. This token will authenticate your AI assistant with Flare.

Step 2: Configure your AI assistant

Choose your AI assistant below and follow the specific configuration steps.

Step 3: Add project hints

To help your AI assistant use the Flare MCP server effectively, provide it with context about your projects. For example:

"When a user asks to show or investigate an error, use the Flare MCP tool to get data. The project name in Flare is INSERT-YOUR-PROJECT-NAME-HERE."

Installation in Claude Code

Configure the Flare MCP server for Claude Code:

claude mcp add --transport http flare https://flareapp.io/mcp \
--header "Authorization: Bearer <INSERT-YOUR-TOKEN-HERE>"

Optionally, verify that the server was added successfully:

claude mcp get flare

Add the project hint to your CLAUDE.md file:

"When a user asks to show or investigate an error, use the Flare MCP tool to get data. The project name in Flare is INSERT-YOUR-PROJECT-NAME-HERE."

Installation in Junie

Configure the Flare MCP server for JetBrains' Junie AI assistant (available in PhpStorm and other JetBrains IDEs).

Create or edit the configuration file at ~/.junie/mcp/mcp.json:

{
  "mcpServers": {
    "flare": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://flareapp.io/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer <YOUR-API-TOKEN>"
      }
    }
  }
}

Beta status

This functionality is currently in beta. If you have any feedback or questions, please reach out to us at [email protected].

Available commands

Once configured, your AI assistant can:

  • List projects: View all projects associated with your Flare account
  • Show errors: Display recent errors from a specific project
  • View error details: Get full information about a specific error including stack traces and context
  • Resolve errors: Mark errors as resolved directly from your AI conversation
  • Search errors: Find errors matching specific criteria
  • Create notes: Add investigation notes to errors for team collaboration
  • Monitor performance: Check slow routes and performance issues in your application

Security

The Flare MCP server uses your API token for authentication. This token provides the same access level as your user account, so keep it secure and never share it publicly. You can revoke tokens at any time from your Flare account settings.

Working with error occurrences AI powered solutions
  • On this page
  • What is MCP?
  • Key features
  • Getting started
  • Installation in Claude Code
  • Installation in Junie
  • Beta status
  • Available commands
  • Security

Monitor your web apps and sites from errors to slowdowns with Flare, the easiest application monitoring platform for Laravel, PHP & Javascript.

  • Platform
  • Error Tracking
  • Performance Monitoring
  • Pricing
  • Support
  • Resources
  • Blog
  • Changelog
  • Documentation
  • Affiliate program
  • Service status
  • Terms of use
  • DPA
  • Privacy & Cookie Policy
Flare