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.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers