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 个工具