crc-doc-mcp

crc-doc-mcp

An MCP server that provides intelligent access to CRC/OpenShift Local documentation by fetching, caching, and searching official docs.

Category
Visit Server

README

CRC Documentation MCP Server

An MCP (Model Context Protocol) server that provides intelligent access to CRC/OpenShift Local documentation. This server fetches, caches, and searches through official CRC documentation to answer questions about CRC or OpenShift Local.

Features

  • Multi-source Documentation Access: Fetches content from multiple CRC documentation sources
  • Intelligent Search: Finds relevant sections based on query relevance scoring
  • Caching System: Reduces API calls by caching fetched documentation
  • Clean Text Extraction: Extracts readable content from HTML pages
  • MCP Integration: Works seamlessly with MCP-compatible clients

Documentation Sources

The server accesses the following CRC documentation sources:

  • CRC Docs: https://crc.dev/docs - Official documentation
  • CRC Blog: https://crc.dev/blog - Blog posts and announcements
  • CRC Engineering: https://crc.dev/engineering-docs - Engineering documentation

Installation

Prerequisites

  • Python 3.13 or higher
  • uv (recommended) or pip

Install with uv (recommended)

# Clone the repository
git clone <repository-url>
cd crc-documentation

# Install dependencies
uv sync

Usage

Running the Server

Start the MCP server:

# With uv
uv run server.py

# With Python directly
python server.py

The server runs on stdio transport and is designed to be used with MCP-compatible clients.

Using with Cursor/VSCode

Cursor Configuration

To use this MCP server with Cursor, add the following configuration to your Cursor settings:

  1. Open Cursor Settings (Cmd/Ctrl + ,)
  2. Search for "MCP" or go to Extensions → MCP
  3. Add a new MCP server configuration:
{
  "mcpServers": {
    "crcdocs": {
      "command": "/path/to/your/uv/binary",
      "args": [
        "--directory",
        "/path/to/your/crc-documentation",
        "run",
        "server.py"
      ]
    }
  }
}

Deployed Server

Cursor Configuration

{
  "mcpServers": {
    "crcdocs": {
      "url": "https://crc-doc-mcp.onrender.com/mcp/"
    }
  }
}

Testing the Integration

Once configured, you can test the integration by:

  1. Restart Cursor/VSCode
  2. Open the MCP panel or use the command palette
  3. Try asking questions like:
    • "How do I install CRC on Linux?"
    • "What are the system requirements for CRC?"
    • "How do I troubleshoot CRC startup issues?"

The server will search through CRC documentation and provide relevant answers.

Available Tools

crc_doc_query

Query CRC documentation to get answers about CodeReady Containers or OpenShift Local.

Parameters:

  • query (required): Your question about CRC or OpenShift Local
  • sources (optional): List of specific sources to search (defaults to all sources)

Example:

# Query all sources
result = await crc_doc_query("How do I install CRC on Linux?")

# Query specific sources
result = await crc_doc_query(
    "What are the system requirements?", 
    sources=["crc", "crc-blog"]
)

clear_cache

Clear the documentation cache to fetch fresh content on the next query.

Example:

result = await clear_cache()

Configuration

The server is configured through the following constants in server.py:

DOC_SOURCES = {
    "crc": "https://crc.dev/docs",
    "crc-blog": "https://crc.dev/blog", 
    "crc-dev": "https://crc.dev/engineering-docs"
}

How It Works

  1. Content Fetching: The server fetches HTML content from CRC documentation sources
  2. Text Extraction: Uses BeautifulSoup to extract clean, readable text from HTML
  3. Relevance Scoring: Analyzes content to find sections most relevant to your query
  4. Caching: Stores fetched content to improve performance on subsequent queries
  5. Response Formatting: Returns structured results with source attribution

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

Logging

The server uses Python's built-in logging module. Logs are set to INFO level by default and include:

  • Documentation fetching operations
  • Error handling for failed requests
  • Cache operations

Support

For issues with this MCP server, please open an issue in the repository.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured