LogsLoom
Ingest and search LogsLoom logs from coding agents.
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~987Token(工具定義)
~1.8 KB典型回應大小
中等的注意力影響(128k 上下文的 0.77%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"logsloom": {
"command": "npx",
"args": [
"@logsloom/mcp"
]
}
}
}可執行的套件
npm@logsloom/mcp
0.1.1stdio遠端端點
https://mcp.logsloom.com/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟡logs_ingest(level, message, timestamp, service, environment, ...)
Send one or many log events to LogsLoom (POST /v1/logs). Provide a single event via level+message, or a batch in `events` (max 100).
輸入結構描述
{
"type": "object",
"properties": {
"level": {
"description": "Required unless `events` is set",
"type": "string",
"enum": [
"debug",
"info",
"warn",
"error",
"fatal"
]
},
"message": {
"description": "Required unless `events` is set",
"type": "string",
"minLength": 1
},
"timestamp": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"service": {
"type": "string",
"minLength": 1
},
"environment": {
"type": "string",
"minLength": 1
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"events": {
"description": "Batch of events; overrides single-event fields when set",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"level": {
"type": "string",
"enum": [
"debug",
"info",
"warn",
"error",
"fatal"
]
},
"message": {
"type": "string",
"minLength": 1
},
"timestamp": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"service": {
"type": "string",
"minLength": 1
},
"environment": {
"type": "string",
"minLength": 1
},
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"level",
"message"
]
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢logs_search(q, level, service, limit, offset)
List logs for the API-key's project (GET /v1/logs). Filters: q (message contains), level, service, limit, offset.
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"description": "Case-insensitive message contains",
"type": "string",
"minLength": 1
},
"level": {
"type": "string",
"enum": [
"debug",
"info",
"warn",
"error",
"fatal"
]
},
"service": {
"description": "Exact service name",
"type": "string",
"minLength": 1
},
"limit": {
"description": "1–100, default 50",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"description": "Pagination offset, default 0",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢logs_get(id)
Fetch one log by id. The HTTP API has no GET /v1/logs/:id yet, so this tries that path and falls back to searching the latest list page.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"description": "Log event id from ingest or search",
"type": "string",
"minLength": 1
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢logs_projects_list
There is no user-session projects API. Returns the project scope implied by the current API key (connectivity check via GET /v1/logs).
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據
近期觀測
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具