Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
uvx logfire-mcp@latest --read-token=YOUR_READ_TOKENConfig
{
"mcpServers": {
"logfire": {
"type": "http",
"url": "https://logfire-us.pydantic.dev/mcp"
}
}
}Exposed MCP Tools (4)
find_exceptions_in_fileRetrieves details about the most recent exceptions in a specified file.
Read-only operation that retrieves exception data.
arbitrary_queryExecutes an arbitrary SQL query on the Pydantic Logfire database.
Allows arbitrary queries, which could expose sensitive data if not carefully constructed.
logfire_linkCreates a link to view a specific trace in the Logfire UI.
Generates a URL, posing minimal risk.
schema_referenceProvides the database schema for the Logfire DataFusion database.
Read-only access to schema information.
Safety Assessment
The Logfire MCP server is relatively safe for read-only telemetry data retrieval. Risks are primarily associated with the exposure of the read token and the potential for information leakage through poorly constructed queries. Using the remote MCP server is recommended for enhanced security.
- Read-only access to telemetry data via API.
- Authentication via read token.
- No direct execution of arbitrary code on the server.
- Remote MCP server option available, managed by Pydantic Logfire.
- Exposure of telemetry data if read token is compromised.
- Potential for information leakage via arbitrary queries if not carefully constructed.
- Dependency on Pydantic Logfire's infrastructure and security.
- Deprecated local server option increases attack surface if used.
