Ulabase Docs

Search and read the Ulabase documentation: the manual, the Kit and the starters.

我該用這個嗎

品質與安全性

A
說明品質
93%
結構描述完整度
97%
命名品質
93%
汙染風險
80%
權限相符程度
100%
協定合規性
100%

發現項目(3)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool 'how_to_call' description contains placeholder text在 how_to_call 中
  • INFOTool description contains placeholder or incomplete text在 how_to_call 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,166Token(工具定義)
~2.1 KB典型回應大小
中等的注意力影響(128k 上下文的 0.91%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "docs": {
      "url": "https://d0c5a1.ulabase.app/mcp"
    }
  }
}

遠端端點

https://d0c5a1.ulabase.app/mcpstreamable-http

它能做什麼

工具清單

工具(3)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟡list_apis(resource, query, kind, limit, cursor)

The catalog of the APIs this session may use. list_apis() → every resource: uri, kind, description, actions. actions = {name: [arguments the action requires]}. list_apis(resource=<uri>) → that resource in full: each action with its params, body_schema, notes and examples. query, kind filter the catalog; limit, cursor page it. In a resource's actions: depends_on: arguments the permission reads from the call; without them the call is refused. filtered_by: arguments the server's filter reads from the call; without them nothing matches. server_sets: body fields the server writes; do not send them. note: what the action depends on, or how it behaves. The catalog is complete. A client's resource list is not: it omits resources listed only by resources/templates/list. Execute any action with call_api.

輸入結構描述

{
  "type": "object",
  "properties": {
    "resource": {
      "type": "string",
      "description": "A resource uri, to describe it in full. Omit for the catalog."
    },
    "query": {
      "type": "string",
      "description": "Optional. Case-insensitive substring match against each resource's uri/kind/description. Ignored if `resource` is given."
    },
    "kind": {
      "type": "string",
      "description": "Optional. Restrict the catalog to a single kind (e.g. `collection`, `service`). Ignored if `resource` is given."
    },
    "limit": {
      "type": "integer",
      "description": "Optional. Max catalog entries to return (default: framework-configured page size). Ignored if `resource` is given."
    },
    "cursor": {
      "type": "string",
      "description": "Optional. Continues a previous paged catalog call."
    }
  }
}
🔴call_api(resource, action, args)

Executes an action of a resource, on the server, with this session's identity and permissions. Input: resource (uri from list_apis), action (name from list_apis), args. args = each argument by name, the request body as `body`. Validate `body` against the action's body_schema, when it has one; the action's description says what the body is. Output: status (the HTTP status code), headers, body (parsed when JSON). Reads: `query` (collection), `get` (document), `execute` (aggregation), with their params in args. Writes: create → 201, headers.Location = URI of the new document, no body. create with an array body → 200, body = {inserted, links: [path of each new document]}; not atomic: each document is written or refused on its own, a partial failure → 207. update, delete → 200 or 204, no body. A write never returns the stored data: read it afterwards. A non-2xx status is a result, not a tool error; body states the reason. 403: not permitted to this session. 409: a rule of the resource refused the write; the action's description or note says which 409s to retry. Change streams (SSE, WebSocket) cannot be opened here: subscribe to the collection with resources/subscribe and re-read on notifications/resources/updated, or describe the stream with how_to_call.

輸入結構描述

{
  "type": "object",
  "properties": {
    "resource": {
      "type": "string",
      "description": "Resource URI, as listed by list_apis."
    },
    "action": {
      "type": "string",
      "description": "Action name as declared in the resource's actions map."
    },
    "args": {
      "type": "object",
      "description": "Each argument by name; the request body as `body`."
    }
  },
  "required": [
    "resource",
    "action"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "status": {
      "type": "integer",
      "description": "The HTTP status the API answered with."
    },
    "headers": {
      "type": "object",
      "description": "Response headers, each as name to its first value."
    },
    "body": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "array"
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "description": "The response body, parsed when the API returned JSON."
    },
    "truncated": {
      "type": "boolean",
      "description": "Present and true when the body was too large and was cut."
    },
    "body_bytes": {
      "type": "integer",
      "description": "The body's real size, when it was truncated."
    }
  },
  "required": [
    "status",
    "headers"
  ]
}
🟡how_to_call(resource, action, args, transport)

Describes the HTTP request behind an action; does not execute it. To act, use call_api. Output: transport, method, URL, headers, body — for code the user runs outside MCP. The only way MCP offers to open a change stream (websocat, curl -N, a browser). Authorization holds the placeholder `<your-credential>`; the user's code replaces it with their own credential. No credential is ever included.

輸入結構描述

{
  "type": "object",
  "properties": {
    "resource": {
      "type": "string",
      "description": "Resource URI."
    },
    "action": {
      "type": "string",
      "description": "Action name as declared in the resource's actions map."
    },
    "args": {
      "type": "object",
      "description": "Each argument by name; the request body as `body`."
    },
    "transport": {
      "type": "string",
      "description": "Optional transport preference (e.g. websocket vs sse for streams). If omitted, the resource's default transport is used."
    }
  },
  "required": [
    "resource",
    "action"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本3 個工具