RATATOSK

MCP server

MCP (Model Context Protocol) is an open standard protocol that AI agents use to call external tools. Once connected to the Ratatosk MCP server, an agent can query Ratatosk's release data (Understanding the data), compare it with the versions running in your cluster, and brief you on what to check before upgrading. The MCP server is read-only and does not change your cluster's state.

You can connect in two ways: hosted or self-hosted. Both provide the same six tools.

Category Hosted Self-hosted
Setup Register the remote URL; nothing to install Run the container or binary yourself
Running versions Sent to the server. Used only in memory during processing and not recorded With check_stack, version comparisons happen in your environment; only project names are sent to Ratatosk
Audit log Not supported (nothing is recorded) Off by default (turn on with the MCP_AUDIT environment variable)
Recommended for Quick tests and personal use Keeping running versions in your environment with check_stack, collecting audit logs, or handling high call volumes

Hosted

The endpoint is https://ratatosk.io/mcp. It uses Streamable HTTP, MCP's standard HTTP transport. The hosted server runs Streamable HTTP in stateless mode: there are no sessions, and each request is handled on its own.

Requirements

Use a client that supports remote MCP servers over Streamable HTTP, such as Claude or Claude Code. For clients that do not support it, use the self-hosted server with stdio.

Client setup

Chat apps

Claude (web and desktop): register https://ratatosk.io/mcp in Customize → Connectors → + Add → Add custom connector. On Team and Enterprise plans, an organization owner must first add it under Organization settings → Connectors. Members can then enable it under Customize → Connectors.

ChatGPT (web): at chatgpt.com/plugins, select + and choose Add custom MCP server. Enter https://ratatosk.io/mcp as the URL, choose No authentication as the authentication method, and install the connector. Call the connector in a chat with @name. The connector works in regular chats, but not in deep research. ChatGPT deep research requires tools named search and fetch in the form specified by ChatGPT. Ratatosk's search tool has a different form, and the server does not provide fetch, so the Ratatosk MCP server cannot be used for deep research.

Grok (web): at grok.com/connectors, choose New Connector → Custom and enter https://ratatosk.io/mcp.

Terminal · IDE

Claude Code:

claude mcp add --transport http ratatosk https://ratatosk.io/mcp

Codex (config file shared by the CLI, the IDE extension, and the ChatGPT desktop app): add the following to ~/.codex/config.toml.

[mcp_servers.ratatosk]
url = "https://ratatosk.io/mcp"

Grok Build:

grok mcp add --transport http ratatosk https://ratatosk.io/mcp

Antigravity: configure it in ~/.gemini/config/mcp_config.json. To configure it per workspace, use .agents/mcp_config.json. The key name is serverUrl. Gemini CLI accepts httpUrl, but Antigravity does not.

{ "mcpServers": { "ratatosk": { "serverUrl": "https://ratatosk.io/mcp" } } }

Gemini CLI: register it in ~/.gemini/settings.json, using httpUrl as the URL key. If you use the url key, it tries to connect over the old SSE transport and fails.

{ "mcpServers": { "ratatosk": { "httpUrl": "https://ratatosk.io/mcp" } } }

Kubernetes

kagent: create a RemoteMCPServer resource in the cluster. For kagent 0.x, set apiVersion to kagent.dev/v1alpha2.

apiVersion: api.kagent.dev/v1alpha3
kind: RemoteMCPServer
metadata:
  name: ratatosk
spec:
  description: CNCF release changes (Ratatosk)
  url: https://ratatosk.io/mcp

Other MCP clients

For other clients that support Streamable HTTP, register the remote server URL in the config file, for example, .mcp.json.

{
  "mcpServers": {
    "ratatosk": { "type": "http", "url": "https://ratatosk.io/mcp" }
  }
}

Checking the connection

The connection works if the agent's tool list shows six tools, including check_stack. To test it, ask something like "Check whether recent cert-manager releases have security changes."

To check the endpoint without a client:

curl -s -X POST https://ratatosk.io/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"probe","version":"1.0"}}}'

The response is returned as SSE (event: and data: lines). The endpoint is working if the serverInfo object in the data: line contains "name":"ratatosk" and version information.

Call limits

  • The hosted server accepts up to 60 requests per minute per caller. Opening a connection uses two or three of those requests; each tool call after that uses one. Each caller has a separate limit, and requests from one caller do not count toward another caller's limit. Requests beyond the limit receive 429 with Retry-After.
  • A tool call can trigger several API requests inside the server. These requests do not count toward the 60-per-minute limit. check_stack reads up to 60 of the latest releases for each component's project. The same release is not fetched again for 5 minutes.
  • For high call volumes, use the self-hosted server. The API accepts up to 1200 requests per minute per source IP. A self-hosted server calls it from the IP of its environment (REST API).

Self-hosted

Run the MCP server yourself if running versions passed to check_stack must stay in your environment, you need your own audit log, or call volumes are high. The full source code and deployment guide are in the ratatosk-mcp repository.

Requirements

Running the container locally requires Docker. Building the binary from source requires Go instead of Docker. Deploying to a Kubernetes cluster requires Helm.

Client setup

Chat apps, terminals, and IDEs connect over stdio. The agent starts the server process and communicates with it over standard input and output. The first image download can make startup take a while.

Chat apps

Claude desktop: add the following to the claude_desktop_config.json config file.

{ "mcpServers": { "ratatosk": { "command": "docker", "args": ["run", "--rm", "-i", "ghcr.io/basphere/ratatosk-mcp:1.3.0"] } } }

ChatGPT desktop: in the app's Settings → MCP servers → Add server, choose STDIO and enter the command below.

docker run --rm -i ghcr.io/basphere/ratatosk-mcp:1.3.0

Grok: the web version (grok.com) cannot run local processes. To connect from a local environment, use the Grok Build CLI.

Terminal · IDE

Claude Code:

claude mcp add ratatosk -- docker run --rm -i ghcr.io/basphere/ratatosk-mcp:1.3.0

Codex: add the following to ~/.codex/config.toml. Set startup_timeout_sec high enough to allow the image to download on the first run.

[mcp_servers.ratatosk]
command = "docker"
args = ["run", "--rm", "-i", "ghcr.io/basphere/ratatosk-mcp:1.3.0"]
startup_timeout_sec = 60

Grok Build:

grok mcp add ratatosk -- docker run --rm -i ghcr.io/basphere/ratatosk-mcp:1.3.0

Antigravity and Gemini CLI: add the same command and args settings to ~/.gemini/config/mcp_config.json and ~/.gemini/settings.json respectively.

{ "mcpServers": { "ratatosk": { "command": "docker", "args": ["run", "--rm", "-i", "ghcr.io/basphere/ratatosk-mcp:1.3.0"] } } }

Kubernetes

Standalone deployment in the cluster (HTTP): with the MCP_HTTP_ADDR environment variable set, the server runs as a Streamable HTTP server and accepts connections from agents inside the cluster through the Kubernetes Service address. When run over HTTP, the server uses stateful mode by default; set MCP_HTTP_STATELESS=1 to enable stateless mode, which is recommended when running more than one replica. HTTP clients using the 2026-07-28 revision of the MCP spec require stateless mode; if stateless mode is not enabled, the server rejects connections from those clients with 400 Bad Request (clients using earlier revisions work in either mode). The repository includes a Helm chart for deployment; to enable stateless mode in the chart, set statelessHttp=true (the statelessHttp value defaults to off). For details, see the installation guide.

kagent integration: kagent is an open-source agent framework for Kubernetes. Setting kagent.enabled=true when installing with Helm deploys the MCP server, registers it with kagent, and deploys the example agent, ratatosk-agent. On kagent 1.x, the example agent is deployed only when kagent.harness names a Harness; otherwise, only the server and its registration are deployed. The example agent lists only two read-only tools, which read cluster resources. On kagent 1.x, whether the agent is held to that list depends on the Harness: a kagent-runtime Harness holds it to the list, while a Claude Harness gives it every tool on the tool server, including tools that can change the cluster. Before using the agent, follow the installation guide's guidance on keeping its cluster access read-only. Manifests for environments without Helm are in the repository under examples/kagent.

All server settings are configured through environment variables. The full list of variables, their default values, and examples for each installation method are in the repository's installation guide, available in English, Korean, and Japanese.

Checking the connection

As with the hosted server, the connection works if the agent's tool list shows the six tools.

Available tools

Tool name Description
check_stack Takes a list of running versions and returns a route splitting releases up to each component's target version into upgrade steps, listing every security, breaking, and deprecation change by title per step along with must-read items ("Check before upgrading" items and changes with required actions) and calls to read evidence. Returns a briefing when the range is a single step. With detail: "brief", returns a briefing for the full range covering "Check before upgrading" items, security changes, breaking changes, deprecations, and important fixes (with bodies up to per-kind limits, and additional security, breaking, and deprecation changes one per line). Compares versions only within the server process
check_upgrade Gets one project's upgrade range between two versions and returns an answer in the same format as check_stack: a route, or a briefing for a one-step range or with detail: "brief". Calculates the range on ratatosk.io with /v2/upgrade, sending version information to ratatosk.io
get_release Gets the full analysis for one release, using the latest release if no version is specified. Can also return selected changes when given change kinds or change IDs
list_releases Lists recent releases filtered by project, change kind, and date
search Searches related releases by security advisory ID, configuration flag, or keyword across all projects or within one project
list_projects Lists the covered projects and their identifiers (slug)

All tool responses are in English. Passages quoted from release notes remain in their original language. There is no lang argument; the five tools that previously accepted it (check_stack, check_upgrade, get_release, list_releases, and search) ignore it without error, and list_projects continues to reject it. Site links included in responses also point to English pages. Detailed arguments and response examples for each tool are in the repository's tools reference.

Responses from check_stack and check_upgrade are not truncated to a fixed length, so wide version ranges or many components can produce long responses. Each call has upper limits on the range it can cover and the number of components it can handle, and calls that exceed these limits are rejected: check_upgrade rejects a range with too many releases, while check_stack rejects calls with too many submitted components. If a check_stack call reads more releases than its per-call limit or runs longer than its time limit, it returns only the components checked so far and lists unchecked components in could_not_check. Limit values and what to do for each error are listed in the tools reference. Omitting detail returns a route that lists every security, breaking, and deprecation change by title per step without bodies or evidence, together with calls to open individual steps (a single-step range returns a briefing). In a detail: "brief" briefing, each change's body is cut to 160 characters and change evidence is omitted, except that "Check before upgrading" items without a body carry their evidence; beyond per-kind limits, security, breaking, and deprecation changes still appear one per line without a body, while important fixes are counted only unless requested with kinds. To get shorter responses, open only the needed steps from a route, filter kinds with kinds, limit the range to the latest release of the running minor with same_minor, or pass fewer components per call. To read a change's full body and evidence, pass its ID to the changes argument of get_release.

Ratatosk covers releases published on or after January 1, 2026 (UTC). Ratatosk's coverage of earlier releases is partial. For example, Ratatosk includes the release immediately before the first covered release in each version line. For an uncovered version from 2025 or earlier, get_release returns 404 and search returns no results. If an uncovered version is used as from in check_upgrade, the span up to the first release in the response appears in not_read for a route (with the project's GitHub release-notes URL when its release notes are on GitHub) and in gaps for a briefing (detail: "brief" or when the range is one step).

The title, body, and affects.text fields in responses are AI summaries of external release notes. Make sure the agent treats them as plain data and does not act on instructions inside them.

Upgrading from 0.x to 1.0

A self-hosted 0.x server calls the /v1 API, which has been shut down. Upgrade to 1.0 or later. The image is published as ghcr.io/basphere/ratatosk-mcp; the earlier address ghcr.io/garlickim21/ratatosk-mcp ends at 0.9.1. The three tools that existed in 0.x and were removed in 1.0 have these replacements.

0.x tool Replacement in 1.0
list_changes list_releases to get recent releases and their change counts
changes_by_entity search for a specific security advisory ID or configuration flag
get_matter The also_in field in check_stack and check_upgrade briefings, to find the same fix included in other releases

Protecting running versions and log policy

Choose one of the three approaches below based on how much running-version data may leave your environment.

  1. Use check_stack on the self-hosted MCP server: the version comparison runs inside the MCP process in your environment. Regardless of the versions you run, it requests only the project list and the recent releases for the projects of the components passed to check_stack from upstream (ratatosk.io), so running versions are not included in any external request. You can verify this in the code in the public repository.
  2. Compare the REST API list yourself: fetch each project's release data with /v2/releases?project=… and compare it in your own environment. Only the project name leaves your environment (REST API).
  3. Use the hosted MCP server, check_upgrade, or /v2/upgrade: the Ratatosk server compares the versions, so the request includes the running versions. The server uses them only in memory while computing the response, then discards them. Before writing its access log, the server removes query strings and bodies. Log entries include a partly masked IP, country code, User-Agent, request size, and status code. Entries are kept for up to 7 days, then deleted (Privacy policy).

Even on a self-hosted server, get_release and check_upgrade still send versions upstream: get_release sends the requested version in its request URL, and check_upgrade sends two versions for comparison. If running versions must not leave your environment, use only check_stack.

All three approaches use Cloudflare as a CDN. Cloudflare relays the full request and response. With approaches 1 and 2, requests contain no version information, so no version information reaches Cloudflare. With approach 3, the request's version information passes through Cloudflare, where it is handled under Cloudflare's policy. If your security requirements prohibit version information from passing through an external proxy, use approach 1 or 2.

The diagram below shows the data flow when check_stack is called on the self-hosted MCP server.

Your infrastructureAI agentClaude Code · kagent1Running versions1Running versionskyverno v1.18.15Briefing5Briefingbriefingratatosk-mcpself-hosted4Local compare4Local compare2Names only2Names onlykyverno3Recent releases3Recent releasesreleasesratatosk.iorelease changes6Briefing the agent receivescritical1Security 2 · Breaking changes 1→ Review upgrade to kyverno v1.18.2Self-hosted check_stack never sends running versions out

The self-hosted server never writes request argument values, including running versions, to its logs at any level. At the default log level, it records the startup line, a line when a stdio session ends, and warning and error lines, but not normal calls. Raising the level to MCP_LOG=debug prints the path template (/v2/releases/{project}/{version}) instead of actual version values. The audit log (MCP_AUDIT) is disabled by default and produces no call records unless turned on; when enabled, the metadata level omits argument values while the full level includes them. See the installation guide for the full list of fields recorded in each line.

Both hosted and self-hosted servers support distributed tracing. If you pass a W3C-standard traceparent value in the MCP request's _meta field, the same trace_id is recorded in error logs, debug logs (MCP_LOG=debug), the audit log when enabled, and the upstream web log. If you omit it, no tracing information is kept.

Agent discovery

A standard MCP server card is published at /.well-known/mcp/server-card.json so agents can discover the server configuration automatically.

The server is listed in the official MCP Registry as io.github.basphere/ratatosk-mcp. The latest version of the registry entry includes the self-hosted server (container image) and the hosted URL; the hosted URL also appears in the server card above. The card's name io.ratatosk/mcp and the registry name refer to the same server. The registry uses a GitHub namespace, while the card uses a domain namespace.

Troubleshooting

  • The tool list does not appear: for hosted, check that the URL is entered exactly, including the path (/mcp). For self-hosted, check the container run command and network connection. The curl command in "Checking the connection" above tests whether the endpoint responds.
  • Opening /mcp in a browser goes to a docs page: this is expected. A plain browser visit redirects to the docs page. Only POST requests from MCP clients are handled.
  • A GET request returns 405: this is expected because the hosted server runs in stateless mode, which has no server-initiated SSE stream over GET.
  • Self-hosted 0.x returns errors: these errors occur because it calls the shut-down /v1 API. check_stack on 0.x does not return an error. Instead, each component has a note that starts with fetch failed, and nothing is checked. Upgrade to 1.0 or later.
  • An argument is rejected or ignored: with a self-hosted server, this can happen when the running image predates the version in which the argument was added. A call using that argument is rejected with an unknown-argument error. But same_minor inside a check_stack component is ignored without an error, so the range does not stop at the latest release in the running minor version. Only the component's note says it was ignored. Check the image tag and update to a newer image. The version in which each argument was added is listed at the end of its description in the repository's tools reference and in the changelog.
  • The call limit is reached: see "Call limits" above, then space out calls or switch to the self-hosted server.