TM

tektoncd/mcp-server

Analytics & monitoring

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

27 stars 28 forks 品質 70 トレンド 25Apache-2.0

tektoncd/mcp-server は、 [https://github.com/tektoncd/mcp-server. からインポートされた MCP サーバーの候補です

概要

tektoncd/mcp-server は、 [https://github.com/tektoncd/mcp-server. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

テクトン MCP サーバーは、Tekton リソースを Tekton リソースに expose します。 モデルコンテキストプロトコル(MCP)クライアント。 それは、 現在 [tektoncd/pipeline に焦点を当てています。 stdio と Streamable HTTP の両方の転送をサポートしています。

【重要】 このプロジェクトは、アクティブな開発下にあります。 非生産クラスターでテストする サーバーと接続されているMCPクライアントの両方に付与されたアクセスを見直します。

前提条件

サーバーのニーズ:

  • Kubernetesクラスターへのアクセス Tektonのパイプラインは取付けました
  • ローカル使用のためのkubeconfig、またはデプロイ時にサービスアカウント クベルネ
  • [go.modの版で行く ソースから構築

[[T2] と [ko] は、マニフェストを a からデプロイするためにも必要です。 ソースチェックアウト。

ソースからビルドする

サーバは、標準のKubernetesクライアント設定を使用します。 確認する [kubectl config current-context 実行前に意図したクラスターのポイント お問い合わせ

ローカルで実行

stdioの

MCP クライアントがサーバーをサブプロセスとして起動したときに stdio を使用します。

典型的なMCPクライアントのエントリはこのように見えます。 周囲の設定を適応させます 使用しているクライアントへ:

ストリーム可能な HTTP

ローカル開発のためのローカルホストに結合:

MCP クライアントを http://127.0.0.1:8080 に接続します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Tekton Model Context Protocol server

Tekton MCP Server exposes Tekton resources to Model Context Protocol (MCP) clients. It currently focuses on tektoncd/pipeline and supports both stdio and Streamable HTTP transports.

[!IMPORTANT] This project is under active development. Test it in a non-production cluster and review the access granted to both the server and the connected MCP client.

Prerequisites

The server needs:

  • access to a Kubernetes cluster with Tekton Pipelines installed
  • a kubeconfig for local use, or an in-cluster service account when deployed to Kubernetes
  • Go at the version in go.mod when building from source

kubectl and ko are also required to deploy the manifests from a source checkout.

Build from source

git clone https://github.com/tektoncd/mcp-server.git
cd mcp-server
mkdir -p bin
go build -mod=vendor -o bin/tekton-mcp-server ./cmd/tekton-mcp-server

The server uses the standard Kubernetes client configuration. Confirm that kubectl config current-context points to the intended cluster before running it.

Run locally

stdio

Use stdio when an MCP client starts the server as a subprocess:

./bin/tekton-mcp-server -transport=stdio

A typical MCP client entry looks like this; adapt the surrounding configuration to the client being used:

{
  "mcpServers": {
    "tekton": {
      "command": "/absolute/path/to/bin/tekton-mcp-server",
      "args": ["-transport=stdio"]
    }
  }
}

Streamable HTTP

Bind to localhost for local development:

./bin/tekton-mcp-server -transport=http -address=127.0.0.1:8080

Connect the MCP client to http://127.0.0.1:8080.

Deploy to Kubernetes

Set KO_DOCKER_REPO to a registry accessible to the cluster, then build the image and apply the manifests:

export KO_DOCKER_REPO=registry.example.com/YOUR-USER/mcp-server
ko apply -R -f config/
kubectl -n tekton-mcp rollout status deployment/tekton-mcp-server

For local access to the in-cluster service:

kubectl -n tekton-mcp port-forward service/tekton-mcp-server 8080:8080

ko delete -R -f config/ removes every included resource, including the tekton-mcp namespace and anything else stored in that namespace. Use it only when that destructive cleanup is intended.

Compatibility

The server uses Tekton v1 resources and is built and tested against the Kubernetes, Tekton Pipelines, and MCP Go SDK versions recorded in go.mod. Until a broader compatibility matrix is published, test the server with the exact cluster versions on which it will run.

Security

The server can read and modify Tekton resources using the permissions of its

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "tekton": { "command": "/absolute/path/to/bin/tekton-mcp-server", "args": ["-transport=stdio"] } } }