Skip to content
Closed
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
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,11 @@ Hitting **Connect** will open a browser window for LFID login.

### LFX Lens

| Tool | Description |
|------------------|-------------------------------------------------------------------------------------------------------|
| `query_lfx_lens` | Ask natural-language questions about a project's data (events, contributors, health, value, and more) |
| Tool | Description |
|------------------------------|-------------------------------------------------------------------------------------------------------|
| `query_lfx_lens` | Ask natural-language questions about a project's data (events, contributors, health, value, and more) |
| `explore_lfx_semantic_layer` | Discover Insights metrics and the dimensions available to them |
| `query_lfx_semantic_layer` | Run a metric query against the Insights Semantic Layer (filter, group, rank, trend) |

### B2B Organizations

Expand Down
3 changes: 3 additions & 0 deletions cmd/lfx-mcp-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ var defaultTools = []string{
"list_email_templates",
"send_email",
"query_lfx_lens",
"explore_lfx_semantic_layer",
"query_lfx_semantic_layer",
"search_b2b_orgs",
}
Expand Down Expand Up @@ -797,6 +798,8 @@ func newServer(cfg Config, serviceName string, callerToken *auth.TokenInfo) *mcp
if enabledTools["query_lfx_lens"] && canRead && isStaff {
tools.RegisterQueryLFXLens(server)
}
// RegisterSemanticLayer adds both explore_lfx_semantic_layer and
// query_lfx_semantic_layer; they are a pair and share the same gate.
if enabledTools["query_lfx_semantic_layer"] && canRead && isStaff {
tools.RegisterSemanticLayer(server)
}
Expand Down
Loading
Loading