Skip to main content
Glama
MCP KEDA Documentation Server

MCP KEDA Documentation Server

by martoc

License: MIT Python 3.12 MCP

MCP KEDA Documentation Server

An MCP (Model Context Protocol) server that provides search and retrieval tools for KEDA (Kubernetes Event-driven Autoscaling) documentation. This server enables AI assistants like Claude to search and read KEDA documentation directly, including markdown pages and structured TOML data files (FAQ entries).

Features

  • Full-text search using SQLite FTS5 with BM25 ranking and Porter stemming

  • Section filtering to narrow search results by documentation category

  • TOML data indexing for FAQ entries across KEDA versions

  • TOML frontmatter parsing for KEDA's Hugo-based documentation

  • Sparse checkout for efficient cloning of only the required directories from kedacore/keda-docs

  • Docker support for portable deployment across projects

  • STDIO transport for seamless MCP client integration

Related MCP server: microCMS Document MCP Server

Quick Start

The martoc/mcp-keda-documentation container image is published to Docker Hub with the documentation index pre-built. Available for linux/amd64 and linux/arm64.

# Pull and run the server
docker run -i --rm martoc/mcp-keda-documentation:latest

Building Locally with Docker

# Build the Docker image (includes pre-indexed documentation)
make docker-build

# Test the server
make docker-run

Using uv (Local Development)

# Initialise the environment
make init

# Build the documentation index
make index

# Run the server
make run

Container Image

The martoc/mcp-keda-documentation container image is published to Docker Hub. It includes the pre-built documentation index so the server is ready to use immediately.

Property

Value

Registry

Docker Hub

Image

martoc/mcp-keda-documentation

Platforms

linux/amd64, linux/arm64

Base image

python:3.12-slim

Index

Pre-built at image build time from kedacore/keda-docs main branch

# Pull the latest image
docker pull martoc/mcp-keda-documentation:latest

# Run the MCP server
docker run -i --rm martoc/mcp-keda-documentation:latest

Configuration

Claude Code / Claude Desktop

Add to your .mcp.json or global settings to use the published container image:

{
  "mcpServers": {
    "keda-documentation": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "martoc/mcp-keda-documentation:latest"]
    }
  }
}

For a locally built Docker image:

{
  "mcpServers": {
    "keda-documentation": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "mcp-keda-documentation"]
    }
  }
}

For local development without Docker:

{
  "mcpServers": {
    "keda-documentation": {
      "command": "uv",
      "args": ["run", "mcp-keda-documentation"],
      "cwd": "/path/to/mcp-keda-documentation"
    }
  }
}

MCP Tools

Tool

Description

search_documentation

Search KEDA documentation by keyword query with optional section filtering

read_documentation

Retrieve the full content of a specific documentation page

search_documentation

Search KEDA documentation using full-text search with stemming support.

Parameter

Type

Required

Default

Description

query

string

Yes

-

Search terms (supports stemming)

section

string

No

None

Filter by section (e.g., docs, blog, faq)

limit

integer

No

10

Maximum results (1-50)

Common Sections: docs, blog, troubleshooting, faq

read_documentation

Retrieve the full content of a documentation page.

Parameter

Type

Required

Description

path

string

Yes

Relative path to document (from search results)

CLI Commands

# Build/rebuild the documentation index
uv run keda-docs-index index
uv run keda-docs-index index --rebuild
uv run keda-docs-index index --branch main

# Show index statistics
uv run keda-docs-index stats

Development

make init       # Initialise development environment
make build      # Run full build (lint, typecheck, test)
make test       # Run tests with coverage
make format     # Format code
make lint       # Run linter
make typecheck  # Run type checker

Documentation

Licence

This project is licensed under the MIT Licence - see the LICENSE file for details.

Available Tools

2 tools
read_documentationB

Read the full content of a specific KEDA documentation page.

Inputs: path (required). Returns: result

search_documentationB

Search KEDA documentation by keyword query.

Inputs: query (required), limit, section. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one searches documentation by keyword, and the other reads a specific documentation page. There is no overlap in intent or expected inputs, so an agent can easily choose between them.

    Naming Consistency5/5

    Both tool names follow the same predictable verb_noun snake_case pattern: search_documentation and read_documentation. The convention is consistent and immediately readable.

    Tool Count3/5

    The two-tool surface is coherent and minimal, but it sits at the thin end of what is typically appropriate. For a documentation server, search plus read is a valid pair, yet the set feels sparse compared with a fuller browsing surface.

    Completeness5/5

    Search and read together cover the core documentation retrieval workflow: find relevant pages, then open the chosen page. No obvious lifecycle operation is missing for this narrowly scoped purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers