Gravity AI UI
Search public Gravity AI UI drafts and generate Gravity UI interface payloads.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `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_interfacessearch_interfacesget_interfaceget_interfacesearch_interfacesget_interfaceコミュニティ
エビデンス