Skip to main content
Glama
franklinnolasco7

quickshell-docs-mcp

quickshell-docs-mcp

为 AI 编码代理提供实时的 Quickshell 文档。

PyPI Python codecov


一个 MCP 服务器,让 AI 代理能够实时访问官方 Quickshell 文档,从而不再依赖过时的训练数据猜测 QML API 名称。

同时包含:

  • 来自 doc.qt.io 的 Qt 基础类型(RectangleRowLayout 等)

  • 来自 quickshell-examples 的官方示例配置

  • 真实世界的实现,可在 Caelestia 和 Noctalia shell 中搜索

每个结果都带有其来源 URL。当实现与文档不一致时,以文档为准。

目录

Related MCP server: Context7 MCP

安装

pip install quickshell-docs-mcp        # or: uvx quickshell-docs-mcp
git clone https://github.com/franklinnolasco7/quickshell-docs-mcp
cd quickshell-docs-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -e .
nix run github:franklinnolasco7/quickshell-docs-mcp
docker build -t quickshell-docs-mcp .
docker run --rm -i quickshell-docs-mcp     # speaks MCP over stdio

配置

opencodeopencode.json):

{
  "mcp": {
    "quickshell-docs": {
      "type": "local",
      "command": ["/absolute/path/to/quickshell-docs-mcp/.venv/bin/quickshell-docs-mcp"],
      "enabled": true
    }
  }
}

Claude Desktop:相同的 JSON 放在 claude_desktop_config.json 中,并包裹在 mcpServers 里。对于 HTTP 传输,设置 QUICKSHELL_DOCS_MCP_TRANSPORT=http(以及可选的 HOST/PORT)。

设置 QUICKSHELL_DOCS_MCP_LOG=DEBUG 可在 stderr 上输出详细的请求日志。 批量文档索引会持久化到磁盘(~/.cache/quickshell-docs-mcp,30 天新鲜度)。可通过 QUICKSHELL_DOCS_MCP_DISK_CACHE 重新定位或禁用,通过 QUICKSHELL_DOCS_MCP_DISK_TTL_HOURS 重新调整。

工具

工具

功能

quickshell_search

搜索类型名称、指南 slug,可选全文搜索(包括类型页面的深度搜索)。在凭记忆编写 QML 之前先调用此工具。

quickshell_list_versions

已发布的文档版本及最新版本

quickshell_list_types / quickshell_get_type

浏览和获取 Quickshell QML 类型文档

quickshell_list_guide_pages / quickshell_get_guide_page

使用指南页面(Markdown 格式)

quickshell_about / quickshell_changelog

关于和更新日志页面

quickshell_list_qt_types / quickshell_get_qt_type

Qt 侧类型(QtQuick、Controls、Layouts 等)

quickshell_list_examples / quickshell_get_example

官方示例配置

quickshell_search_implementations

在 Caelestia 或 Noctalia 中查找 bar/OSD/IPC/... 模式

quickshell_get_implementation

读取这些文件,可通过 find= 缩小范围

quickshell_stats

会话调用次数和缓存命中率

页面获取工具接受 version="latest"(默认)或显式版本,如 "v0.3.0"。缓存支持的工具接受 refresh=True 以绕过 30 分钟缓存。

来源层级

  1. 官方文档(quickshell.org、doc.qt.io),具有权威性

  2. 官方示例,其次

  3. Caelestia / Noctalia 结果,标记为 real-world implementation 的实用参考

参考

数据来自以下上游来源:

来源

URL

提供内容

Quickshell 文档

https://quickshell.org

类型参考、使用指南、更新日志

Qt 文档

https://doc.qt.io/qt-6

QtQuick 基础类型(Rectangle、RowLayout 等)

Quickshell 示例

https://git.outfoxxed.me/quickshell/quickshell-examples

官方示例配置

Caelestia shell

https://github.com/caelestia-dots/shell

真实世界实现参考

Noctalia shell

https://github.com/noctalia-dev/noctalia (legacy-v4)

真实世界实现参考

开发

参见 CONTRIBUTING.md 了解设置、工作流程以及如何提交更改。

限制

  • 深度类型页面搜索(include_type_pages=True)每台机器会获取一次所有类型页面(冷启动约 15 秒,之后在磁盘上缓存 30 天,跨会话有效;refresh=True 强制重新获取)。普通名称搜索保持即时。

  • 示例配置可能针对与您不同的 Quickshell 版本;列表包含 last_modified 日期,以便您判断其时效。

许可证

MIT

A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
16Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides instant access to 700+ programming documentation sources and creates isolated Docker containers for safe code testing and experimentation. Combines comprehensive documentation lookup with containerized development environments for enhanced development workflows.
    AGPL 3.0
  • A
    license
    A
    quality
    D
    maintenance
    Provides LLMs with up-to-date, version-specific documentation and code examples directly from library sources, eliminating outdated training data and hallucinated APIs by fetching current documentation at prompt time.
    4
    2
    1,169,818
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Provides AI models with direct access to documentation for over 600 technologies from DevDocs.io, including popular languages, frameworks, and tools. It enables comprehensive searching, content retrieval, and offline access via an intelligent local caching system.
    12
    2

View all related MCP servers

Related MCP Connectors

  • Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…

  • @latest documentation and code examples to 9000+ libraries for LLMs and AI code editors in a singl…

  • Search @imqueue docs and scaffold typed services & clients from your AI coding agent.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/franklinnolasco7/quickshell-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server