Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ data:
- retry jobs or trigger custom checkouts (with a token)

Tools that only read data are annotated as read-only, so MCP clients can
require confirmation before the job-triggering ones run.
require confirmation before the job-triggering ones run. The MCP server is
experimental: tool names, parameters and response formats may change
between releases.

MCP support is an optional extra:

Expand Down
4 changes: 4 additions & 0 deletions docs/mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description = 'Run an MCP server exposing KernelCI data and actions to AI agents
This command runs an MCP (Model Context Protocol) server so AI agents and
automation tools can query KernelCI results and drive Maestro jobs.

> **Experimental**: tool names, parameters and response formats may
> change between releases. Please report any issues on the
> [issue tracker](https://github.com/kernelci/kci-dev/issues).

MCP support is an optional extra:

```sh
Expand Down
3 changes: 2 additions & 1 deletion kcidev/mcp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from kcidev.libs.common import kcidev_version
from kcidev.mcp import tools_dashboard, tools_maestro

SERVER_INSTRUCTIONS = """KernelCI MCP server.
SERVER_INSTRUCTIONS = """KernelCI MCP server (experimental: tools,
parameters and response formats may change between releases).

Query KernelCI build, boot and test results and known issues from the
web dashboard, inspect Maestro nodes, and, when a token is configured,
Expand Down
6 changes: 6 additions & 0 deletions kcidev/subcommands/mcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
@click.command(
help="""Run an MCP (Model Context Protocol) server exposing KernelCI.

EXPERIMENTAL: tool names, parameters and response formats may change
between releases. Please report any issues at:

\b
https://github.com/kernelci/kci-dev/issues

Read-only dashboard query tools are always available. Maestro node
lookup tools are enabled when the configured instance has an 'api' URL,
and job retry/checkout trigger tools when it also has a 'pipeline' URL
Expand Down
Loading