Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,21 @@ Create a `.zed/settings.json` file in your project's root directory:
}
}
```

## Sandboxed Environments

If browser-based authentication is not available (e.g. in sandboxed environments), generate an API key with at least the `project:read` scope from your organization or project settings, then use it as a Bearer token:

```json
{
"mcpServers": {
"logfire": {
"type": "http",
"url": "https://logfire-us.pydantic.dev/mcp",
"headers": {
"Authorization": "Bearer <your-logfire-api-key>"
}
}
}
}
```
18 changes: 18 additions & 0 deletions tests/README.md.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,21 @@ Create a `.zed/settings.json` file in your project's root directory:
}
}
```

## Sandboxed Environments

If browser-based authentication is not available (e.g. in sandboxed environments), generate an API key with at least the `project:read` scope from your organization or project settings, then use it as a Bearer token:

```json
{
"mcpServers": {
"logfire": {
"type": "http",
"url": "https://logfire-us.pydantic.dev/mcp",
"headers": {
"Authorization": "Bearer <your-logfire-api-key>"
}
}
}
}
```