tektoncd / tektoncd/cli

MCP surface for tkn CLI

Open
#2,861 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature
Dominant language
Go
Stars
461
Forks
277
Avg merge
16h 48m
Merged PRs (30d)
95

Description

Summary

Expose tkn as an MCP (Model Context Protocol) server, enabling direct integration with AI agents like Claude Code without requiring shell execution. This could consolidate the standalone tekton mcp-server into the tkn binary itself.

Proposal

  • Expose tkn operations as MCP tools via JSON-RPC
  • Support tkn mcp serve or similar to start MCP server mode
  • Maintain CLI, kubectl plugin, and MCP surfaces from a single binary
  • Support environment variable credential injection for headless execution

Acceptance Criteria

  • tkn can serve as an MCP server exposing Tekton operations as tools
  • MCP tools cover core operations (list, describe, create, start, logs)
  • Single binary serves CLI, kubectl plugin, and MCP interfaces
  • Migration path documented for standalone tekton mcp-server users

Context

Part of #2849 — making tkn agent-friendly.

Note: A standalone tekton mcp-server already exists. This epic would evaluate consolidating that into tkn itself to reduce deployment complexity. Deprecation timeline would be coordinated with the Tekton community.

/kind feature

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the standalone tekton mcp-server and the proposed tkn mcp serve entry point, with context from #2849. Define the integration scope around the listed core operations and credential injection. Done means the acceptance criteria are met and the migration path for standalone users is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.