Gravity AI UI

Search public Gravity AI UI drafts and generate Gravity UI interface payloads.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
93%
命名质量
95%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~690token 数(工具定义)
~1.3 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.54%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "gravity-ai-ui": {
      "url": "https://gravity-ai.ydb-qdrant.tech/mcp"
    }
  }
}

远程端点

https://gravity-ai.ydb-qdrant.tech/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_interfaces(query, limit)

Use to discover public liked Gravity AI UI interface drafts by title, summary, or id. This returns public gallery metadata only. Use get_interface when you need the full payload or React code for a known id.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Optional text matched against public interface titles and summaries.",
      "type": "string"
    },
    "limit": {
      "description": "Optional maximum result count. Defaults to 10 and is clamped to 1-48.",
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_interface(id)

Use when you already have a public Gravity AI UI gallery id and need the sanitized public interface metadata, composed payload, thumbnail URLs, page URL, and copyable React code.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "description": "Public Gravity AI UI gallery interface id.",
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡generate_interface(prompt, conversationId)

Use to generate a new Gravity AI UI composed interface from a prompt. This calls the public generator with the server OpenAI configuration and does not save or publish the result.

输入模式

{
  "type": "object",
  "properties": {
    "prompt": {
      "description": "Natural-language prompt for the interface to generate.",
      "type": "string",
      "minLength": 1,
      "maxLength": 6000
    },
    "conversationId": {
      "description": "Optional stable conversation id for this generation.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    }
  },
  "required": [
    "prompt"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡refine_interface(instruction, payload, dataModel, history, conversationId)

Use to refine a previously generated Gravity AI UI composed payload with a natural-language instruction. This does not save or publish the result.

输入模式

{
  "type": "object",
  "properties": {
    "instruction": {
      "description": "Natural-language refinement instruction.",
      "type": "string",
      "minLength": 1,
      "maxLength": 6000
    },
    "payload": {
      "description": "Previous composed Gravity interface payload."
    },
    "dataModel": {
      "description": "Optional latest data model for the previous payload."
    },
    "history": {
      "description": "Optional short conversation history for refinement context.",
      "maxItems": 12,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "enum": [
              "user",
              "assistant"
            ]
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "surfaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          }
        },
        "required": [
          "role",
          "text"
        ]
      }
    },
    "conversationId": {
      "description": "Optional stable conversation id for this refinement.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    }
  },
  "required": [
    "instruction",
    "payload"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

推荐提示词

search_research
Search for information about [topic] using Gravity AI UI
预期工具: search_interfaces
find_specific
Find [specific item] using Gravity AI UI
预期工具: search_interfaces
retrieve_data
Get details about [item] from Gravity AI UI
预期工具: get_interface
fetch_info
Fetch [information type] using Gravity AI UI
预期工具: get_interface
research_workflow
Search for [topic], then get detailed information about the top results using Gravity AI UI
预期工具: search_interfacesget_interface

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具
已验证未记录版本4 个工具