# Pydantic Logfire MCP
> Pydantic-hosted MCP service for querying OpenTelemetry traces and metrics in Logfire and managing observability resources such as dashboards, alerts, issues, and managed variables.
Canonical: https://www.mcpfolio.com/servers/logfire
Last updated: 2026-10-28
## Catalog record

- Publisher: Pydantic
- Categories: development

## Website

https://pydantic.dev/docs/logfire/guides/mcp-server/

## Transports

Streamable HTTP

## Authentication

Browser OAuth on first connection. A Logfire API key as a bearer token is documented for headless/CI usage. Choose US or EU endpoint to match the Logfire data region.

## Tools

- **query_run**: Run SQL queries over Logfire telemetry.
- **query_schema_reference**: Inspect the telemetry query schema.
- **query_find_exceptions_in_file**: Find recent exceptions for a file.
- **project_list**: List accessible Logfire projects.
- **token_info**: Inspect authentication token context.
- **project_logfire_link**: Create a Logfire project link.
- **project_logfire_ui_link**: Create a Logfire UI link.
- **agent-feedback**: Share permitted agent feedback with Pydantic.
- **dashboard_create**: Create a dashboard.
- **dashboard_list**: List dashboards.
- **dashboard_get**: Get a dashboard and its panels.
- **dashboard_update**: Update dashboard properties.
- **dashboard_delete**: Delete a dashboard.
- **dashboard_update_settings**: Update dashboard settings.
- **dashboard_add_panel**: Add a panel to a dashboard.
- **dashboard_update_panel**: Update a dashboard panel.
- **dashboard_remove_panel**: Remove a dashboard panel.
- **dashboard_add_variable**: Add a dashboard variable.
- **dashboard_update_variable**: Update a dashboard variable.
- **dashboard_update_variables**: Replace or update dashboard variables.
- **dashboard_remove_variable**: Remove a dashboard variable.
- **dashboard_create_group**: Create a dashboard layout group.
- **dashboard_delete_group**: Delete a dashboard group.
- **dashboard_rename_group**: Rename a dashboard group.
- **dashboard_toggle_group_collapse**: Change dashboard group collapsed state.
- **dashboard_reorder_groups**: Reorder dashboard groups.
- **alert_create**: Create a SQL-based alert.
- **alert_list**: List alerts.
- **alert_get**: Get alert details.
- **alert_update**: Update an alert.
- **alert_delete**: Delete an alert.
- **alert_status**: Get alert status.
- **alert_history**: Get alert history.
- **channel_create_webhook**: Create a webhook notification channel.
- **channel_create_opsgenie**: Create an Opsgenie notification channel.
- **channel_list**: List notification channels.
- **channel_get**: Get a notification channel.
- **channel_update_webhook**: Update a webhook channel.
- **channel_update_opsgenie**: Update an Opsgenie channel.
- **channel_delete**: Delete a notification channel.
- **schedule_create**: Create a notification schedule.
- **schedule_list**: List schedules.
- **schedule_get**: Get a schedule.
- **schedule_update**: Update a schedule.
- **schedule_delete**: Delete a schedule.
- **issue_list**: List tracked exception issues.
- **issue_set_states**: Update issue states.
- **variable_list**: List managed variables.
- **variable_get**: Read managed variable details and history.
- **variable_resolve**: Resolve the variable value for an evaluation context.
- **variable_manage**: Create or update variables, versions, rollouts, and labels using an action parameter.
- **variable_delete**: Delete a variable, version, or label; destructive.
- **local_dev_session**: Create a local development session for sending telemetry.

## Sources

- [official_tool_reference](https://pydantic.dev/docs/logfire/guides/mcp-server/)
- [official_documentation_or_source](https://pydantic.dev/docs/logfire/manage/mcp-access/)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/logfire) to view instructions for each supported client.