MCP surface for tkn CLI
Nobody has claimed this yet.
- 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 serveor 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
-
tkncan 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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