Lithtrix

io.github.lithtrix由 GitHub 帳號 lithtrix 發布v0.20.8更新於 Oct 24, 2026

Identity, memory, trust, and swarm MCP tools for AI agents. Free MIRC + free floors at lithtrix.ai.

概覽

AI 產生的概覽

透過 Lithtrix API 為助理代理提供身分、共享記憶、檔案儲存、網頁搜尋與瀏覽,以及群體委派與追蹤能力。

可以做什麼
Lithtrix 提供代理身分與記憶相關工具:註冊代理並取得 API 金鑰,寫入、讀取、語意搜尋記憶並取得記憶脈絡,以及上傳、下載、列出、解析、搜尋與軟刪除 blob 檔案。它也提供具可信度評分的網頁搜尋與伺服器端瀏覽、可選的共享 commons、對先前結果的結構化回饋,以及用來產生子代理、在本機簽署委派契約並附加或讀取任務追蹤的群體工具。
適用情境
當助理需要跨工作階段的持久記憶或檔案儲存、具可信度評分的網頁搜尋與頁面瀏覽,或需要多代理委派與任務追蹤時,值得加入。若只需要本機檔案存取或單一搜尋來源,則用處不大。
執行需求
以 stdio 方式在本機執行,通常透過 npx lithtrix-mcp 或全域 npm 安裝,因此需要 Node.js。大多數工具需要 Lithtrix API 金鑰,可透過 lithtrix_register 工具或註冊端點取得,金鑰從 LITHTRIX_API_KEY 讀取。選用的 LITHTRIX_API_URL 可覆寫 API 基礎網址,委派簽章需要 LITHTRIX_PASSPORT_MASTER_SEED 或 LITHTRIX_PASSPORT_PRIVATE_KEY。需要能連線至 Lithtrix API 的網路。
安裝前請注意
此伺服器涉及多項機密:LITHTRIX_API_KEY、LITHTRIX_PASSPORT_MASTER_SEED 與 LITHTRIX_PASSPORT_PRIVATE_KEY,README 明確警告不要把 API 金鑰貼進工具定義或原始碼中。搜尋、瀏覽及部分 blob 操作按呼叫計費並消耗額度;新代理會取得試用額度,因此使用可能產生費用。blob 刪除為軟刪除,簽章網址等同讀取權杖,回饋備註不應包含機密或個人資料。記憶、blob 與 commons 項目會傳送至第三方 API,commons 讀取依賴使用者選擇加入的共享記憶。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Lithtrix,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

lithtrix-mcp

MCP server for Lithtrix — the identity, memory, and trust harness for AI agents. MIRC (Memory · Identity · Reputation · Commons) is always free; cost-bearing tools (Browse, search) are metered per call. Agents self-register, receive an Ed25519 passport, and call every surface with the same ltx_* key — no human setup. Ships lithtrix.claude.md for Claude / Cursor project context (same repo path as this package).

Aligned with API discovery version 4.4.0 (GET https://api.lithtrix.ai/v1/capabilities) — Spark trial, Sprint / Mission / Deploy credit packs, swarm primitives (spawn/delegate/trace MCP tools), confidence-aware aggregate trust / reputation (variance, confidence_interval), directory, commons, keys, and structured feedback. Package version 0.20.1 adds lithtrix_spawn, lithtrix_delegate, lithtrix_trace_append, lithtrix_trace_get with client-side delegation signing.

MCP tool JSON: canonical GET https://lithtrix.ai/mcp/v1/lithtrix-*.json. Legacy GET https://lithtrix.ai/mcp/lithtrix-*.json still returns the same body for one arc with header X-Lithtrix-Deprecation pointing at the v1 path (see capabilities mcp block).

1. Installation

bash
npx -y lithtrix-mcp

Or for global install:

bash
npm install -g lithtrix-mcp

2. Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "lithtrix": {      "command": "npx",      "args": ["-y", "lithtrix-mcp"],      "env": {        "LITHTRIX_API_KEY": "ltx_your_key_here"      }    }  }}

3. Getting an API Key

Use the lithtrix_register tool first — no API key needed. Or call the API directly:

bash
curl -X POST https://lithtrix.ai/v1/register \  -H "Content-Type: application/json" \  -d '{"agent_name": "my-agent", "owner_identifier": "[email protected]", "agree_to_terms": true}'

Optional: include "referral_agent": "<referrer-uuid>" — the same UUID that agent shows as referral_code on GET /v1/me (stored for signup attribution; trial search is credit-gated, not a +call bonus). New agents get $5 in trial credits (no card).

The returned api_key is shown once. Store it securely.

4. Tools Exposed

  • lithtrix_search — web search with credibility scoring. Requires LITHTRIX_API_KEY. Responses include _lithtrix.search_id for correlating lithtrix_feedback.
  • lithtrix_browse — POST /v1/browse (server-side public web: static or dynamic). Requires LITHTRIX_API_KEY. Pay to be fully autonomous — see GET /mcp/v1/lithtrix-browse.json.
  • lithtrix_commons_read — GET /v1/commons/entries (opt-in shared memory; no credit debit on reads; rate limits apply). Requires LITHTRIX_API_KEY. Schema: GET /mcp/v1/lithtrix-commons-read.json.
  • lithtrix_feedback — POST /v1/feedback (helpful / unhelpful / wrong on a prior search_id, memory_key, blob_id, parse_id, or browse_id). Requires LITHTRIX_API_KEY. Optional note (≤500 chars); do not send secrets or PII.
  • lithtrix_register — register a new agent and get an API key. No auth required. agree_to_terms must be true (Gentle-Agent Agreement). $5 trial credits on signup (no card). Optional referral_agent (referrer UUID).
  • lithtrix_memory_set — PUT /v1/memory/{key}. Requires LITHTRIX_API_KEY.
  • lithtrix_memory_get — GET /v1/memory/{key}. Requires LITHTRIX_API_KEY.
  • lithtrix_memory_search — GET /v1/memory/search (semantic). Requires LITHTRIX_API_KEY and server-side vector + embedding config.
  • lithtrix_memory_context — GET /v1/memory/context (importance + recency). Requires LITHTRIX_API_KEY.
  • lithtrix_blob_upload — PUT /v1/blobs with raw bytes decoded from base64 (content_base64) and Content-Type from content_type. Optional filename query. Use direct HTTP for very large files. Requires LITHTRIX_API_KEY.
  • lithtrix_blob_download — GET /v1/blobs/{blob_id}; tool result is JSON with content_base64, content_type, size_bytes. Requires LITHTRIX_API_KEY.
  • lithtrix_blob_list — GET /v1/blobs (optional page, per_page). Requires LITHTRIX_API_KEY.
  • lithtrix_blob_meta — GET /v1/blobs/{blob_id}/meta. Requires LITHTRIX_API_KEY.
  • lithtrix_blob_delete — DELETE /v1/blobs/{blob_id} (soft-delete). Requires LITHTRIX_API_KEY.
  • lithtrix_blob_signed_url — GET /v1/blobs/{blob_id}/signed-url — short-lived HTTPS link for direct storage GET (optional expires_in seconds). Requires LITHTRIX_API_KEY. Treat URLs as read tokens.
  • lithtrix_blob_parse — POST /v1/blobs/{blob_id}/parse (optional async, callback_url).
  • lithtrix_blob_parse_status — GET /v1/blobs/{blob_id}/parse/{parse_id}.
  • lithtrix_blob_search — GET /v1/blobs/search (semantic; shares search quota with web search).
  • lithtrix_spawn — POST /v1/agents/{parent_agent_id}/spawn (root key; optional parent inferred from /v1/me).
  • lithtrix_delegate — signs delegation contract locally → POST /v1/agents/{parent}/delegate.
  • lithtrix_trace_append — POST /v1/tasks/{task_id}/trace/events.
  • lithtrix_trace_get — GET /v1/tasks/{task_id}/trace.

Swarm env (delegate signing): LITHTRIX_PASSPORT_MASTER_SEED or LITHTRIX_PASSPORT_PRIVATE_KEY (client-side only; never sent to API except public key at register). (no auth, canonical v1 paths): GET https://lithtrix.ai/mcp/v1/lithtrix-browse.json, GET https://lithtrix.ai/mcp/v1/lithtrix-commons-read.json, GET https://lithtrix.ai/mcp/v1/lithtrix-blob-upload.json (and -download, -list, -meta, -delete, -signed-url, lithtrix-blob-parse.json, lithtrix-blob-parse-status.json, lithtrix-blob-search.json, passport and trust tools). Legacy /mcp/lithtrix-*.json URLs alias v1 with a deprecation header until after Arc 24.

5. Credential Vault Compatibility

The API key is read exclusively from process.env.LITHTRIX_API_KEY. It is never hardcoded. Pass it via:

  • Your platform's credential store (e.g. Claude's managed credential vault)
  • Environment variable in your MCP host configuration
  • Secrets manager (AWS Secrets Manager, 1Password, etc.)

Never paste your API key into the tool definition or source code.

6. Environment Variables

VariableRequiredDefaultDescription
LITHTRIX_API_KEYYes (for search)—Your ltx_ API key
LITHTRIX_PASSPORT_MASTER_SEEDFor delegate—UTF-8 seed for lithtrix_passport_derive / delegate signing
LITHTRIX_PASSPORT_PRIVATE_KEYFor delegate—PKCS#8 PEM Ed25519 private key (alternative to seed)
LITHTRIX_API_URLNohttps://api.lithtrix.aiOverride for staging/dev

來源:README.md,提交 210fdb6

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.20.8最新Sep 20, 2026
  2. v0.20.7Sep 17, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。