Kong /kong

🦍 The API and AI Gateway

★ 44,372⑂ 5,238👁 988⑃ 8,904● 4,634▤ 148◈ 1,201
LuaApache-2.0Created 2014-11-17konghq.com/install/
TA的项目
44,372
stars
+4
5,238
forks
988
watchers
8,904
prs
4,634
issues
148
releases
1,201
discussions

README

[![][kong-logo]][kong-url]

!Stars !GitHub commit activity [![Build Status][badge-action-image]][badge-action-url] !Version  !License 


Kong or Kong Gateway is a cloud-native, platform-agnostic, scalable API 𖧹 LLM 𖧹 MCP Gateway distinguished for its high performance and extensibility via plugins. It also provides advanced AI traffic capabilities with multi-LLM support, semantic security, MCP traffic security and analytics, and more.

By providing functionality for proxying, routing, load balancing, health checking, authentication (and more), Kong serves as the central layer for orchestrating microservices or conventional API traffic - and agentic LLM and MCP as well - with ease.

Kong runs natively on Kubernetes thanks to its official Kubernetes Ingress Controller.



[![][kong-diagram]][kong-url]

---

Installation | Documentation | Discussions | Forum | Blog | [Builds][kong-master-builds] | AI Gateway | Cloud Hosted Kong

---

 Getting Started

If you prefer to use a cloud-hosted Kong, you can sign up for a free trial of Kong Konnect and get started in minutes. If not, you can follow the instructions below to get started with Kong on your own infrastructure.

Let’s test drive Kong by adding authentication to an API in under 5 minutes.

We suggest using the docker-compose distribution via the instructions below, but there is also a docker installation procedure if you’d prefer to run the Kong Gateway in DB-less mode.

Whether you’re running in the cloud, on bare metal, or using containers, you can find every supported distribution on our official installation page.

1) To start, clone the Docker repository and navigate to the compose folder.
cmd
  $ git clone https://github.com/Kong/docker-kong
  $ cd docker-kong/compose/


2) Start the Gateway stack using:
cmd
  $ KONG_DATABASE=postgres docker-compose --profile database up


The Gateway is now available on the following ports on localhost:

- :8000 - send traffic to your service via Kong
- :8001 - configure Kong using Admin API or via decK
- :8002 - access Kong's management Web UI (Kong Manager) on localhost:8002

Next, follow the quick start guide to tour the Gateway features.

 Getting started with AI Gateway for LLM and MCP

If you would like to get started with Kong AI Gateway capabilities including LLM and MCP features, please refer to the official AI documentation.

 Features

By centralizing common API, AI and MCP functionality across all your organization's services, Kong Gateway creates more freedom for engineering teams to focus on the challenges that matter most.

The top Kong features include:

- Advanced routing, load balancing, health checking - all configurable via a RESTful admin API or declarative configuration.
- Authentication and authorization for APIs using methods like JWT, basic auth, OAuth, ACLs and more.
- Universal LLM API to route across multiple providers like OpenAI, Anthropic, GCP Gemini, AWS Bedrock, Azure AI, Databricks, Mistral, Huggingface and more.
- MCP traf

Top issues

Discussions

Latest release

3.9.4 3.9.4 2026-10-12
Download Kong 3.9.4 and run it now:

https://konghq.com/install/
Docker Image

Links:

3.9.4 Changelog

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON