KD

kapeli/dash-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

190 stars 32 forks 质量 70 趋势 4MIT

kapeli/dash-mcp-server 是从 https://github.com/kapeli/dash-mcp-server. 导入的 MCP 服务器候选

概览

kapeli/dash-mcp-server 是从 https://github.com/kapeli/dash-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,提供与 Dash 文档浏览器 API 交互的工具。

Dash 8是必填的。你可以在https://blog.kapeli.com/dash-8.下载Dash 8。

mcp-name: io.github.Kapeli/dash-mcp-server

概述

Dash MCP 服务器提供了直接从 Dash(macOS 文档浏览器)访问和检索文档的工具。MCP 客户端可以:

  • 列表已安装文档集
  • 跨文档集和代码片段进行搜索
  • 从搜索结果加载文档页面
  • 启用针对特定文档集的全文搜索

通知

这还在进行中。欢迎任何建议!

工具

  1. list_installed_docsets
  • 列出 Dash 中所有已安装的文档集
  1. search_documentation
  • 文档集和摘要间的搜索
  1. load_documentation_page
  • 从load_url返回的文档页面加载search_documentation
  1. enable_docset_fts
  • 支持对特定文档集的全文搜索

要求

  • macOS(Dash 应用必填)
  • 仪表盘安装
  • Python 3.12 或更高版本
  • 紫外线

配置

使用 UVX

在claude_desktop_config.json

在Claude Code

本页由 AI 翻译,技术细节请以原文为准。

README

mcp-server-dash

A Model Context Protocol (MCP) server that provides tools to interact with the Dash documentation browser API.

Dash 8 is required. You can download Dash 8 at https://blog.kapeli.com/dash-8.

mcp-name: io.github.Kapeli/dash-mcp-server

Overview

The Dash MCP server provides tools for accessing and searching documentation directly from Dash, the macOS documentation browser. MCP clients can:

  • List installed docsets
  • Search across docsets and code snippets
  • Load documentation pages from search results
  • Enable full-text search for specific docsets

Notice

This is a work in progress. Any suggestions are welcome!

Tools

  1. list_installed_docsets
    • Lists all installed documentation sets in Dash
  2. search_documentation
    • Searches across docsets and snippets
  3. load_documentation_page
    • Loads a documentation page from a load_url returned by search_documentation
  4. enable_docset_fts
    • Enables full-text search for a specific docset

Requirements

  • macOS (required for Dash app)
  • Dash installed
  • Python 3.12 or higher
  • uv

Configuration

Using uvx

brew install uv

in claude_desktop_config.json

{
  "mcpServers": {
      "dash-api": {
          "command": "uvx",
          "args": [
              "--from",
              "git+https://github.com/Kapeli/dash-mcp-server.git",
              "dash-mcp-server"
          ]
      }
  }
}

in Claude Code

claude mcp add dash-api -- uvx --from "git+https://github.com/Kapeli/dash-mcp-server.git" "dash-mcp-server"
在 GitHub 查看完整 README

安装

uvx --from git+https://github.com/Kapeli/dash-mcp-server.git dash-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "dash-api": { "command": "uvx", "args": [ "--from", "git+https://github.com/Kapeli/dash-mcp-server.git", "dash-mcp-server" ] } } }