Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KATA_PACKS_DIRNoOverrides the packs directory. Defaults to ~/.claude/kata/packs.
KATA_GLOBAL_DIRNoOverrides the global chains directory. Defaults to ~/.claude/kata.
KATA_PROJECT_ROOTNoOverrides the project root directory. Defaults to the server process cwd.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_chainsA

List all available thinking chains: built-ins (master router, default freeform sequential thinking) plus file-defined chains from the global (~/.claude/kata), pack (/packs/, declared in /.claude/kata.json) and project (/.claude/kata) layers. Shadowing: project > pack > global. Also reports invalid chain files (with reasons), missing packs, pack conflicts and shadowing.

run_chainA

Start a thinking chain by name. When the task shape clearly matches a chain, call that chain directly; when nothing matches or the task needs multi-step reasoning, call run_chain("master") to route between PASS (no chains), "default" (freeform step-by-step thinking) and custom chains. Checklist chains return one complete checklist (single-shot). Staged/freeform chains open a session; continue with advance_chain.

advance_chainA

Submit the current stage's result and receive the next stage. Staged chains: pass exactly one of stage_output (work done for this stage) or skip_reason (why the stage was skipped). Freeform default chain: pass each thought as stage_output; set done: true with your final verified thought. expected_stage_index guards against retries: re-sending the previous index returns the same response idempotently.

save_chainA

Create or update a custom thinking chain as a Markdown file with YAML frontmatter (fields: name, description, mode: checklist|staged, optional domain/language/schema_version). The content is fully validated before writing; nothing is written on validation failure. name must equal the frontmatter name. Existing chains are only replaced when overwrite: true.

export_chainA

Export a chain's raw Markdown source for sharing (returns content, sha256, suggested filename). To import a shared chain, read its file and call save_chain with the content. If the name exists in both global and project scope, pass scope to disambiguate.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/keoy7am/kata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server