Skip to content

MCP server for accessing documentation and code snippets of dev tools. Based on `mcp-server-qdrant`

Notifications You must be signed in to change notification settings

qdrant/mcp-for-docs

Repository files navigation

MCP for Qdrant Documentation

The idea is to create a PoC for curated documentation MCP server based on mcp-server-qdrant.

Motivation

Default mcp-server-qdrant is too general and expects you to put data into it. But one of the main use-cases for MCP is to provide LLMs with latest and most accurate documentation.

This project should serve as an example of how you can build ready-to-use MCP server for a specific package documentation.

This MCP server is read-only, model is only allowed retrieve data about the documentation.

Setup

This is a Python project using uv for package management.

  1. Install uv if you haven't already:

    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Create a virtual environment and install dependencies:

    uv venv
    source .venv/bin/activate  # On Unix/macOS
    # or
    .venv\Scripts\activate  # On Windows
    
    uv pip install -r requirements.txt
  3. Install the package in development mode:

    uv pip install -e .

Development

  • Use ruff for linting and formatting
  • The project uses hatchling as the build backend

MCP Server Inspector

uv run mcp dev qdrant_docs_mcp/server.py

Run for serving

uv run qdrant_docs_mcp/main.py --transport=sse

Importing libraries

To import a single supported library, run

uv run -m qdrant_docs_mcp.tools.importer --library 'qdrant-client-python'

Alternatively, you can import all supported libraries with

uv run -m qdrant_docs_mcp.tools.importer --library 'all'

About

MCP server for accessing documentation and code snippets of dev tools. Based on `mcp-server-qdrant`

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •