$git clone https://github.com/kagent-dev/kmcp---
| 1 | <!-- markdownlint-disable MD033 --> |
| 2 | <div align="center"> |
| 3 | <picture> |
| 4 | <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/kagent-dev/kmcp/main/img/kmcp-logo-dark.svg" alt="kmcp" width="400"> |
| 5 | <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/kagent-dev/kmcp/main/img/kmcp-logo-light.svg" alt="kmcp" width="400"> |
| 6 | <img alt="kmcp" src="https://raw.githubusercontent.com/kagent-dev/kmcp/main/img/kmcp-logo-light.svg"> |
| 7 | </picture> |
| 8 | <div> |
| 9 | <a href="https://github.com/kagent-dev/kmcp/releases"> |
| 10 | <img src="https://img.shields.io/github/v/release/kagent-dev/kmcp?style=flat&label=Latest%20version" alt="Release"> |
| 11 | </a> |
| 12 | <a href="https://github.com/kagent-dev/kmcp/actions/workflows/tag.yaml"> |
| 13 | <img src="https://github.com/kagent-dev/kmcp/actions/workflows/tag.yaml/badge.svg" alt="Build Status" height="20"> |
| 14 | </a> |
| 15 | <a href="https://opensource.org/licenses/Apache-2.0"> |
| 16 | <img src="https://img.shields.io/badge/License-Apache2.0-brightgreen.svg?style=flat" alt="License: Apache 2.0"> |
| 17 | </a> |
| 18 | <a href="https://github.com/kagent-dev/kmcp"> |
| 19 | <img src="https://img.shields.io/github/stars/kagent-dev/kmcp.svg?style=flat&logo=github&label=Stars" alt="Stars"> |
| 20 | </a> |
| 21 | <a href="https://discord.gg/Fu3k65f2k3"> |
| 22 | <img src="https://img.shields.io/discord/1346225185166065826?style=flat&label=Join%20Discord&color=6D28D9" alt="Discord"> |
| 23 | </a> |
| 24 | </div> |
| 25 | <h3>A development platform and control plane for the Model Context Protocol (MCP)</h3> |
| 26 | <p><i>MCP connectivity simplified, bring MCP service prototypes into production</i></p> |
| 27 | </div> |
| 28 | <!-- markdownlint-enable MD033 --> |
| 29 | |
| 30 | --- |
| 31 | <!-- markdownlint-disable MD033 --> |
| 32 | <table align="center"> |
| 33 | <tr> |
| 34 | <td> |
| 35 | <a href="#getting-started"><b><i>Getting Started</i></b></a> |
| 36 | </td> |
| 37 | <td> |
| 38 | <a href="#from-prototype-to-production"><b><i>Prototype to Production</i><b></a> |
| 39 | </td> |
| 40 | <td> |
| 41 | <a href="#technical-details"><b><i>Technical Details</i></b></a> |
| 42 | </td> |
| 43 | <td> |
| 44 | <a href="#get-involved"><b><i>Get Involved</i></b></a> |
| 45 | </td> |
| 46 | <td> |
| 47 | <a href="#reference"><b><i>Reference</i></b></a> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </table> |
| 51 | <!-- markdownlint-disable MD033 --> |
| 52 | |
| 53 | --- |
| 54 | |
| 55 | ## Why kMCP? |
| 56 | |
| 57 | Prototyping MCP services in isolation is quick and fun, but production adoption introduces many challenges: |
| 58 | |
| 59 | - **Ad-hoc scaffolding** - Configuring the MCP server, integrating it in Kubernetes, and operating it at enterprise scale |
| 60 | - **Transport fragmentation** – Supporting multiple protocols (HTTP, WebSocket, SSE, etc.) requires custom maintenance |
| 61 | - **Disconnected context** - Enforcing consistent security, observability, and governance for agent-to-tool communication |
| 62 | |
| 63 | **_We believe teams who have build MCP services should not experience friction when bringing those services to production. kMCP is designed to make MCP connectivity simple._** |
| 64 | |
| 65 | ## Getting Started |
| 66 | |
| 67 | Install the kmcp CLI on your local machine. |
| 68 | |
| 69 | ```bash |
| 70 | curl -fsSL https://raw.githubusercontent.com/kagent-dev/kmcp/refs/heads/main/scripts/get-kmcp.sh | bash |
| 71 | ``` |
| 72 | |
| 73 | Verify that the kmcp CLI is installed. |
| 74 | |
| 75 | ```bash |
| 76 | kmcp --help |
| 77 | ``` |
| 78 | |
| 79 | <img src="img/cli-help-nov-25.png" alt="kmcp cli help text" width="800"> |
| 80 | |
| 81 | _You're ready to go! Continue on to [From Prototype to Production](#from-prototype-to-production) or explore our docs at [kagent.dev/docs/kmcp](https://kagent.dev/docs/kmcp)_ |
| 82 | |
| 83 | ## From Prototype to Production |
| 84 | |
| 85 | <img src="img/kmcp.png" alt="kmcp architecture" width="800"> |
| 86 | |
| 87 | MCP connectivity affects everyone in an organization. Below are some common quickstart journeys that you may experience: |
| 88 | |
| 89 | - [Your first MCP service prototype](https://kagent.dev/docs/kmcp/develop) |
| 90 | - [AI/ML Engineer packaging an existing prototype](https://kagent.dev/docs/kmcp/deploy/server#option-1-deploy-an-mcp-server-with-npx-or-uvx) |
| 91 | - [DevOps engineer building MCP infrastructure in Kubernetes](https://kagent.dev/docs/kmcp/deploy/server#option-2-build-and-deploy-an-mcp-server |