{
  "_source": "Tools sourced from platform/src/services/logfire-remote-mcp/logfire_remote_mcp/main.py registrations and tools/*.py docstrings. Not auto-maintained — update by hand if the MCP surface changes.",
  "name": "Pydantic Logfire MCP Server",
  "description": "Pydantic Logfire MCP Server — query and manage your observability data. Run SQL against telemetry, manage dashboards, alerts, issues, notification channels, and feature-flag variables. Authentication is via OAuth.",
  "version": "1.0.0",
  "serverUrl": "https://logfire.pydantic.dev/mcp",
  "transport": "streamable-http",
  "auth": {
    "type": "oauth2"
  },
  "provider": {
    "name": "Pydantic",
    "url": "https://pydantic.dev",
    "contact_email": "hello@pydantic.dev"
  },
  "documentation_url": "https://pydantic.dev/docs/logfire/guides/mcp-server/",
  "regions": [
    {
      "name": "US",
      "url": "https://logfire.pydantic.dev/mcp"
    },
    {
      "name": "EU",
      "url": "https://logfire-eu.pydantic.dev/mcp"
    }
  ],
  "tools": [
    {
      "name": "token_info",
      "description": "Get information about the current authentication token. Only call this when the user explicitly asks about their identity, account, or permissions — never as a preamble to other work."
    },
    {
      "name": "query_schema_reference",
      "description": "Get the database schema and query handbook for the Logfire DataFusion database."
    },
    {
      "name": "query_run",
      "description": "Run an arbitrary SQL SELECT query against the Logfire database for investigation and exploration."
    },
    {
      "name": "query_find_exceptions_in_file",
      "description": "Get the details about the 10 most recent exceptions matching a source file path."
    },
    {
      "name": "project_list",
      "description": "List all readable projects for the authenticated user in their organization."
    },
    {
      "name": "project_logfire_link",
      "description": "Generate a Logfire UI link to view a specific trace."
    },
    {
      "name": "dashboard_list",
      "description": "List dashboards in a project with optional search and cursor-based pagination."
    },
    {
      "name": "dashboard_get",
      "description": "Get the full dashboard definition as Perses-compatible JSON. Suitable for exporting or version-controlling dashboards."
    },
    {
      "name": "dashboard_create",
      "description": "Create a new dashboard from a Perses JSON definition or as an empty dashboard."
    },
    {
      "name": "dashboard_update",
      "description": "Update a dashboard's name and/or full Perses definition."
    },
    {
      "name": "dashboard_delete",
      "description": "Delete a dashboard by slug. Permanently removes the dashboard and all its panels."
    },
    {
      "name": "dashboard_update_settings",
      "description": "Update dashboard time range and auto-refresh settings."
    },
    {
      "name": "dashboard_add_panel",
      "description": "Add a new panel to an existing dashboard with optional layout position."
    },
    {
      "name": "dashboard_update_panel",
      "description": "Update an existing panel's properties. Only provided fields are changed."
    },
    {
      "name": "dashboard_remove_panel",
      "description": "Remove a panel from a dashboard. Also removes associated layout items."
    },
    {
      "name": "dashboard_update_variables",
      "description": "Replace all variables on a dashboard with the provided list."
    },
    {
      "name": "dashboard_add_variable",
      "description": "Add a single variable to a dashboard at an optional position."
    },
    {
      "name": "dashboard_update_variable",
      "description": "Update an existing variable by name, replacing it with a new definition."
    },
    {
      "name": "dashboard_remove_variable",
      "description": "Remove a variable from a dashboard by name."
    },
    {
      "name": "dashboard_create_group",
      "description": "Create a new layout group in a dashboard. Groups organize panels into collapsible sections."
    },
    {
      "name": "dashboard_delete_group",
      "description": "Delete an empty layout group from a dashboard. Fails if the group still contains panels."
    },
    {
      "name": "dashboard_rename_group",
      "description": "Change the title of a dashboard layout group."
    },
    {
      "name": "dashboard_toggle_group_collapse",
      "description": "Set whether a dashboard layout group is collapsed or expanded."
    },
    {
      "name": "dashboard_reorder_groups",
      "description": "Change the display order of layout groups in a dashboard."
    },
    {
      "name": "alert_list",
      "description": "List all alerts in a project, including their last run status."
    },
    {
      "name": "alert_get",
      "description": "Get an alert's configuration and last run result by ID."
    },
    {
      "name": "alert_history",
      "description": "Get the run history of an alert, showing each time it was evaluated and whether it matched."
    },
    {
      "name": "alert_status",
      "description": "Check if an alert is currently firing and when it last triggered or resolved."
    },
    {
      "name": "alert_create",
      "description": "Create a new alert that periodically runs a SQL query and sends notifications based on results."
    },
    {
      "name": "alert_update",
      "description": "Update an existing alert's configuration. Only provided fields are changed."
    },
    {
      "name": "alert_delete",
      "description": "Delete an alert. Permanent and cannot be undone."
    },
    {
      "name": "issue_list",
      "description": "List all tracked exception issues for a project."
    },
    {
      "name": "issue_set_states",
      "description": "Open, ignore, or resolve one or more exception issues."
    },
    {
      "name": "variable_list",
      "description": "List all managed variables (feature flags) in a project."
    },
    {
      "name": "variable_get",
      "description": "Get a managed variable (feature flag) by name."
    },
    {
      "name": "variable_list_versions",
      "description": "List all versions of a managed variable, ordered by version number."
    },
    {
      "name": "variable_create",
      "description": "Create a new managed variable (feature flag)."
    },
    {
      "name": "variable_update",
      "description": "Update a managed variable's (feature flag) metadata."
    },
    {
      "name": "variable_delete",
      "description": "Permanently delete a managed variable and all its versions, labels, and history."
    },
    {
      "name": "variable_update_rollout",
      "description": "Update the rollout configuration and targeting overrides for a managed variable."
    },
    {
      "name": "variable_create_version",
      "description": "Create a new version (immutable value snapshot) for a managed variable."
    },
    {
      "name": "variable_assign_label",
      "description": "Assign a label to a specific version, latest, or code_default for a managed variable."
    },
    {
      "name": "channel_list",
      "description": "List all notification channels in the organization."
    },
    {
      "name": "channel_get",
      "description": "Get a specific notification channel by ID."
    },
    {
      "name": "channel_create_webhook",
      "description": "Create a webhook notification channel for Slack, Discord, or custom HTTP endpoints."
    },
    {
      "name": "channel_create_opsgenie",
      "description": "Create an Opsgenie notification channel for incident management alerts."
    },
    {
      "name": "channel_update_webhook",
      "description": "Update a webhook channel's URL, format, label, or active status."
    },
    {
      "name": "channel_update_opsgenie",
      "description": "Update an Opsgenie channel's API key, label, or active status."
    },
    {
      "name": "channel_delete",
      "description": "Delete a notification channel from the organization."
    },
    {
      "name": "exec",
      "description": "Execute Python code in a secure sandbox with access to Logfire platform functions."
    },
    {
      "name": "help",
      "description": "Look up lf_* function docs and type definitions for use with the exec tool."
    }
  ]
}
