Skip to content
VS Code

qt4 doc mcp server for VS Code

io.github.jztan/qt4-doc-mcp-server

Offline MCP server for local Qt 4.8, Qt 5, and Qt 6 documentation with full-text search.

client:VS Code transport:stdio runtime:pypi

Install qt4 doc mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "qt-doc-base",
      "description": "QT_DOC_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qt-doc-state-dir",
      "description": "QT_DOC_STATE_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "server-host",
      "description": "SERVER_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "server-port",
      "description": "SERVER_PORT",
      "password": true
    }
  ],
  "servers": {
    "qt4-doc-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "qt4-doc-mcp-server"
      ],
      "env": {
        "QT_DOC_BASE": "${input:qt-doc-base}",
        "QT_DOC_STATE_DIR": "${input:qt-doc-state-dir}",
        "SERVER_HOST": "${input:server-host}",
        "SERVER_PORT": "${input:server-port}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

qt4 doc mcp server in other clients