Qt Documentation
Qt 5 and Qt 6 framework and product docs: Qt Creator, MCUs, Squish, Coco and more.
¿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": {
"qt-documentation": {
"url": "https://qt-docs-mcp.qt.io/mcp"
}
}
}Puntos de conexión remotos
https://qt-docs-mcp.qt.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (2)
🟢qt_documentation_search(filter, intent, keywords, max_results, module, ...)
Call qt_documentation_search when: (a) you're about to claim a signal/slot/property/default exists, (b) the API is in Qt 6.7+ or a non-core module (MQTT, OPC UA, Network Auth, etc), (c) the user used the words 'docs', 'official', 'verify', or 'check'. Skip when: the question is about basic QString/QObject/signal-slot syntax.
Esquema de entrada
{
"type": "object",
"properties": {
"filter": {
"description": "Optional: Filter by document type. Default is 'all'. Note: 'function' returns the class reference page that contains the function (there are no function-level pages); for QML, use 'qml'.",
"enum": [
"all",
"class",
"qml",
"function",
"guide"
],
"type": "string"
},
"intent": {
"description": "Optional: Prioritizes (not filters) results by type. 'api'=class reference, 'tutorial'=how-to guides, 'guide'=overviews, 'concept'=explanations, 'example'=code samples, 'migration'=porting guides.",
"enum": [
"api",
"tutorial",
"guide",
"concept",
"example",
"migration"
],
"type": "string"
},
"keywords": {
"description": "Optional: Array of keywords to search for. Results match ANY keyword. Example: [\"button\", \"signal\", \"connect\"]. Alternative to 'query' for better multi-term matching.",
"items": {
"type": "string"
},
"type": "array"
},
"max_results": {
"description": "Optional: Maximum number of results to return (1-10). Default is 3.",
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"module": {
"description": "Optional: Limit search to specific Qt module (e.g., 'qtcore', 'qtwidgets', 'qtqml', 'qtquick', 'qtnetwork')",
"type": "string"
},
"product": {
"description": "Optional: Limit search to a specific documentation product (e.g. 'qt', 'qtcreator', 'pyside6'). Omit to search all products.",
"type": "string"
},
"query": {
"description": "Search query for Qt documentation (e.g., 'Animation', 'QTimer', 'signal slot'). Optional if 'keywords' is provided.",
"type": "string"
},
"version": {
"description": "Optional: Qt version to search (e.g., '6.10.0', '6.9.0'). Defaults to latest installed version if not specified.",
"type": "string"
}
}
}🟢qt_documentation_read(file, version)
Read the full content of a specific Qt documentation page. Use the filename shown in search results.
Esquema de entrada
{
"type": "object",
"properties": {
"file": {
"description": "Filename of the Qt documentation page. Use ONLY the filename from search results (e.g., 'signalsandslots.html' NOT full paths with version numbers). Module paths like 'qtcore/qobject.html' also work.",
"type": "string"
},
"version": {
"description": "Optional: Qt version to read from (e.g., '6.10.0', '6.9.0'). Defaults to latest installed version if not specified.",
"type": "string"
}
},
"required": [
"file"
]
}Prompts recomendados
qt_documentation_searchqt_documentation_searchqt_documentation_readqt_documentation_readqt_documentation_searchqt_documentation_readComunidad
Evidencia