MCP.so
登录

UV Documentation MCP Server

@StevenBtw

基本信息

分类

记忆与知识

传输方式

stdio

作者

StevenBtw

关于 UV Documentation MCP Server

A Model Context Protocol (MCP) server that provides access to UV package manager's documentation.

UV Documentation MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "uv-docs-mcp": {
      "command": "uv",
      "args": [
        "run",
        "uv-docs"
      ]
    }
  }
}

UV Documentation MCP Server 工具

2

** Update the documentation cache if the live version has changed.

** Perform real-time searches over the UV documentation.

概览

What is UV Documentation MCP Server?

An MCP server that provides programmatic access to UV documentation through a standardized API, exposing high‑level documentation sections and detailed command documentation (including subsections) as individual MCP resources.

How to use UV Documentation MCP Server?

Requires Python 3.13+ (minimum 3.10 for MCP SDK compatibility). Clone the repository, create a virtual environment, install dependencies with pip install -e ., then run the server with uv run uv-docs. For use with Claude Desktop, configure the MCP server settings using the uv command with the appropriate --directory and run arguments.

Key features of UV Documentation MCP Server

  • Hierarchical resource structure using uv-docs:// URIs (sections, commands, subsections)
  • Tools: update_cache and search_documentation for cache and real‑time queries
  • Prompt template summarize-docs for AI documentation summaries
  • Version‑aware caching with segmented section storage
  • Fully open‑source and publishable to PyPI

Use cases of UV Documentation MCP Server

  • AI assistants retrieving precise UV documentation sections on demand
  • Developers automating the lookup of UV CLI commands and their options
  • Integrating UV documentation into custom MCP‑compatible tools or workflows
  • Generating summaries of selected UV documentation areas for reporting

常见问题

1

What does the resource layer provide?

Resources expose UV documentation via URIs like `uv-docs://cli`, `uv-docs://cli/uv-cache`, and `uv-docs://cli/uv-cache/uv-cache-dir`, returning JSON with metadata and full documentation content.

2

How can I search documentation in real time?

Use the `search_documentation` tool, which accepts a `query` string and performs a live search over the UV documentation.

3

What are the runtime dependencies?

Python 3.10+ (3.13+ recommended) and the MCP Python SDK. The project is installed via `pip` and run with `uv` (or `uvx` for published versions).

4

How does caching work?

A version‑aware cache is initialized at startup. Each documentation section (CLI, settings, resolver) is cached separately. The cache is automatically updated when the live version changes, or manually via the `update_cache` tool.

5

Is authentication or specific transport required?

No authentication or special transport is mentioned. The server uses standard MCP communication over stdio, configured through MCP client settings.

评论

记忆与知识 分类下的更多 MCP 服务器