Qt Documentation
Qt 5 and Qt 6 framework and product docs: Qt Creator, MCUs, Squish, Coco and more.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"qt-documentation": {
"url": "https://qt-docs-mcp.qt.io/mcp"
}
}
}Remote-Endpunkte
https://qt-docs-mcp.qt.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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"
]
}Empfohlene Prompts
qt_documentation_searchqt_documentation_searchqt_documentation_readqt_documentation_readqt_documentation_searchqt_documentation_readCommunity
Nachweis