kmcp

kmcpは、Go言語で開発されたツールで、特に開発者向けに設計されています。ユーザーは、シンプルなコマンドラインインターフェースを通じて、効率的に作業を自動化し、ワークフローを最適化することができます。高いパフォーマンスと柔軟性を持ち、さまざまなプロジェクトに適応可能です。

GitHubスター

304

ユーザー評価

未評価

お気に入り

0

閲覧数

1

フォーク

32

イシュー

23

README
kmcp

A development platform and control plane for the Model Context Protocol (MCP)

kmcp is a comprehensive toolkit for building, deploying, and managing Model Context Protocol (MCP) servers. It provides a command-line interface (CLI) for local development and a Kubernetes controller for production deployments, enabling a seamless transition from development to production.

Core Concepts

kmcp is composed of three primary components that work together to provide a complete MCP server-management solution:

  1. The kmcp CLI: The CLI is your primary tool for local development. It allows you to scaffold new MCP projects, manage tools, build container images, and run your MCP server locally for testing and development.

  2. The Kubernetes Controller: The kmcp controller runs in your Kubernetes cluster and manages the lifecycle of your MCP server deployments. It uses a Custom Resource Definition (CRD) to define MCP servers as native Kubernetes objects, allowing you to manage them with familiar kubectl commands.

  3. The Transport Adapter: In a Kubernetes environment, kmcp deploys your MCP server behind a dedicated Transport Adapter. kmcp acts as a control plane for this adapter, configuring it to provide features such as external traffic routing for your MCP server with support for multiple transport protocols without requiring any changes to your code.

Features (CLI Command Overview)

The kmcp CLI provides a set of commands to manage the entire lifecycle of your MCP server:

  • kmcp init: Scaffolds a new MCP server project. Supported frameworks include FastMCP for Python and the official MCP Go SDK for Go.
  • kmcp add-tool: Adds a new tool to your project, automatically handling boilerplate and registration.
  • kmcp run: Runs the MCP server in a local development environment.
  • kmcp build: Builds a Docker image for your MCP server.
  • kmcp install: Installs the kmcp controller and CRDs on a Kubernetes cluster.
  • kmcp deploy: Deploys your MCP server to a Kubernetes cluster, placing it behind a pre-configured Transport Adapter.
  • kmcp secrets: Manages secrets for your MCP server deployment in Kubernetes.
Architecture

The following diagram illustrates the kmcp workflow, from local development to a production deployment in Kubernetes:

graph TD
    subgraph Local Development
        A[Developer] -- kmcp init --> B(MCP Project);
        B -- kmcp add-tool --> B;
        B -- kmcp run --> C{Local MCP Server};
        A -- Edits Code --> B;
    end

    subgraph Production Deployment
        B -- kmcp build --> D[Docker Image];
        D -- kmcp deploy --> E(Kubernetes Cluster);
    end

    subgraph Kubernetes Cluster
        F[kmcp Controller] -- Manages --> G(MCP Server CRD);
        G -- Deploys --> H[Transport Adapter];
        H -- Proxies Traffic --> I[MCP Server Pod];
    end

    A -- Interacts with --> C;
    E -- Contains --> F;
    E -- Contains --> G;
    E -- Contains --> H;
    E -- Contains --> I;
Get started
Documentation

The kmcp documentation is available at kagent.dev/docs/kmcp.

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Thanks to all contributors!

📈 Star History
Star history of kagent-dev/kmcp over time
📄 License

Copyright 2025.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

🔗 Resources
作者情報

90

フォロワー

10

リポジトリ

0

Gist

0

貢献数

関連するMCP
mcp-k8s logo

mcp-k8sは、Kubernetesクラスタとのインタラクションを可能にするMCPサーバーです。リソースの詳細取得やフィルタリングオプションを使用したリスト表示など、Kubernetesリソースの操作を細かく制御できます。主に開発者向けのツールであり、Kubernetesのリソース管理を効率化します。

Go
yokai logo

Yokaiは、Go言語でのバックエンドアプリケーション開発を簡素化するためのモジュール式フレームワークです。生産性を高めるための観察可能な構造を提供し、複雑さを軽減します。ドキュメントも充実しており、開発者が迅速に始められるように設計されています。

Go
yutu logo
yutu
218

Yutuは、Go言語で構築されたオープンソースのプロジェクトで、開発者向けのツールやライブラリを提供します。GitHub上で高い評価を受けており、豊富な機能とドキュメントが揃っています。特に、コード生成や翻訳機能に優れ、開発の効率を向上させることができます。

Go