From 09bfb3c7efe18e1e9d47f4db7fff820f623e9d13 Mon Sep 17 00:00:00 2001 From: Aljosa Makevic Date: Wed, 1 Apr 2026 11:56:31 +0200 Subject: [PATCH] add desktop app installation button ChatGPT in MCP section --- plugins/ai_docs/plugin.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/plugins/ai_docs/plugin.py b/plugins/ai_docs/plugin.py index 30d3f46..f1d28f6 100644 --- a/plugins/ai_docs/plugin.py +++ b/plugins/ai_docs/plugin.py @@ -132,10 +132,13 @@ def _generate_mcp_section(self, project_name: str, mcp_name: str, mcp_url: str) vscode_btn = utils.mcp_install_button(utils.build_vscode_deeplink(mcp_name, mcp_url), ":material-microsoft-visual-studio-code: VS Code") claude_cmd = utils.mcp_copy_code(f"claude mcp add --transport http {mcp_name} {mcp_url}") codex_cmd = utils.mcp_copy_code(f"codex mcp add {mcp_name} --url {mcp_url}") - desktop_btn = utils.mcp_install_button( - "https://modelcontextprotocol.io/docs/develop/connect-remote-servers#connecting-to-a-remote-mcp-server", ":simple-claude: Claude Desktop" + claude_desktop_btn = utils.mcp_install_button( + "https://modelcontextprotocol.io/docs/develop/connect-remote-servers#connecting-to-a-remote-mcp-server", ":simple-claude: Claude" + ) + chatgpt_icon = utils.twemoji_icon('') + chatgpt_desktop_btn = utils.mcp_install_button( + "https://help.openai.com/en/articles/12584461-developer-mode-and-mcp-apps-in-chatgpt-beta", "ChatGPT", html_icon=chatgpt_icon ) - return f"""## Connect via MCP Use the [Model Context Protocol (MCP)](https://modelcontextprotocol.io) to connect your AI tools directly to {project_name} documentation. @@ -151,9 +154,10 @@ def _generate_mcp_section(self, project_name: str, mcp_name: str, mcp_url: str) {cursor_btn} {vscode_btn} -- **Install via App** +- **Install via Desktop App** - {desktop_btn} + {claude_desktop_btn} + {chatgpt_desktop_btn}