Skip to content

Commit fd49d0e

Browse files
authored
Add Logfire MCP server (#161)
Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 23f75d2 commit fd49d0e

1 file changed

Lines changed: 73 additions & 0 deletions

File tree

servers/dev.logfire-mcp-uvx.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "dev.logfire-mcp-uvx",
4+
"name": "Logfire (uvx)",
5+
"alias": "logfire",
6+
"description": "Connect to Pydantic Logfire observability data. Query traces, metrics, and exceptions, run arbitrary SQL against your project, and inspect OpenTelemetry telemetry from your applications.",
7+
"logo": "https://avatars.githubusercontent.com/u/110818415?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"monitoring"
11+
],
12+
"tags": [
13+
"logfire",
14+
"pydantic",
15+
"observability",
16+
"monitoring",
17+
"tracing",
18+
"opentelemetry",
19+
"metrics"
20+
],
21+
"transport": {
22+
"type": "stdio",
23+
"command": "uvx",
24+
"args": [
25+
"logfire-mcp@latest"
26+
],
27+
"env": {
28+
"LOGFIRE_READ_TOKEN": "${input:LOGFIRE_READ_TOKEN}"
29+
},
30+
"metadata": {
31+
"inputs": [
32+
{
33+
"id": "LOGFIRE_READ_TOKEN",
34+
"label": "Logfire Read Token",
35+
"description": "A Logfire read token scoped to the project whose telemetry you want to query. Create one under your Logfire project's Settings > Read Tokens.",
36+
"type": "text",
37+
"required": true,
38+
"secret": true,
39+
"placeholder": "pylf_v1_****************************",
40+
"obtain": {
41+
"url": "https://logfire.pydantic.dev/",
42+
"instructions": "1. Open your project in Logfire\n2. Go to Settings > Read Tokens\n3. Click 'Create read token'\n4. Copy the generated token (starts with pylf_v1_)",
43+
"button_label": "Create Read Token"
44+
}
45+
}
46+
]
47+
}
48+
},
49+
"auth": {
50+
"type": "api_key",
51+
"instructions": "Create a read token in your Logfire project under Settings > Read Tokens, then provide it as LOGFIRE_READ_TOKEN."
52+
},
53+
"contributor": {
54+
"name": "Pydantic",
55+
"github": "pydantic",
56+
"url": "https://pydantic.dev/logfire"
57+
},
58+
"links": {
59+
"repository": "https://github.com/pydantic/logfire-mcp",
60+
"homepage": "https://pydantic.dev/logfire",
61+
"documentation": "https://logfire.pydantic.dev/docs/"
62+
},
63+
"platforms": [
64+
"all"
65+
],
66+
"capabilities": {
67+
"tools": true,
68+
"resources": false,
69+
"prompts": false,
70+
"read_only_mode": true
71+
},
72+
"changelog_url": "https://github.com/pydantic/logfire-mcp/releases"
73+
}

0 commit comments

Comments
 (0)