Gravity AI UI
Search public Gravity AI UI drafts and generate Gravity UI interface payloads.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"gravity-ai-ui": {
"url": "https://gravity-ai.ydb-qdrant.tech/mcp"
}
}
}Puntos de conexión remotos
https://gravity-ai.ydb-qdrant.tech/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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#"
}Prompts recomendados
search_interfacessearch_interfacesget_interfaceget_interfacesearch_interfacesget_interfaceComunidad
Evidencia