Skip to content

Installation

Requirements

  • Python 3.10+
  • Elasticsearch 8.x (for tool indexing and user storage)

Install

pip install model-context-catalog

Or with uv:

uv add model-context-catalog

Elasticsearch

MCC requires a running Elasticsearch instance. The quickest way to get one locally:

curl -fsSL https://elastic.co/start-local | sh

Configuration

Create a settings.local.yaml in your working directory:

default:
  elasticsearch:
    dynaconf_merge: true
    api_key: "key provided"

See Auth Backends for authentication configuration.