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커뮤니티
증거