tyk
Open Source API and AI Gateway supporting REST, GraphQL, TCP, gRPC and MCP (Model Context Protocol)
What is tyk?
Open Source API and AI Gateway supporting REST, GraphQL, TCP, gRPC and MCP (Model Context Protocol)
Overview of tyk
What it is
Tyk Gateway is a cloud-native, open source API and AI Gateway that supports REST, GraphQL, TCP, gRPC and MCP (Model Context Protocol). It is designed to be enterprise-ready and includes features such as rate limiting, authentication, analytics, and microservice patterns. Tyk has been available since 2014 and is provided 'batteries-included' with no feature lockout.
Key features
- Supports multiple protocols: REST (with native OpenAPI support), SOAP, GraphQL, gRPC, TCP, and MCP
- MCP Gateway: authenticates, rate limits, and audits AI agent traffic by parsing JSON-RPC 2.0 and applying policy per tool, resource, and prompt
- API to MCP: generates an MCP proxy directly from a REST API without building a separate MCP server
- Industry standard authentication: JWT, bearer tokens, Basic Auth, client certificates, and more
- Rate limiting and quotas to protect upstreams and apply limits per consumer
- Extensible plugin architecture: customize middleware with Python, JavaScript, Go, or any language supporting gRPC
- Ultra performant: low latency, thousands of requests per second with a single CPU, horizontally and vertically scalable
Use cases
- Protecting and managing APIs for open banking, cloud software, and exposing APIs to teams, partners, and consumers
- Governing MCP traffic from AI agents with authentication, rate limiting, and per-tool access control
- Managing LLM traffic with model routing, budgets, and guardrails across providers (via Tyk AI Studio)
- Applying microservice patterns such as content mediation, API versioning, and granular access control
Getting started
Run the open source Tyk Gateway with Docker in under 2 minutes. You need Docker and Docker Compose.
Create a Gateway configuration file (tyk.conf), an apps folder, and a Docker Compose file that runs Tyk Gateway and Redis. Then start the Gateway:
docker compose up -d
Confirm the Gateway runs by sending a request to the hello endpoint:
curl localhost:8080/hello
Output:
{"status":"pass","version":"5.x.x","description":"Tyk GW"}
For full steps, see the repository README.
License and pricing
Tyk is dual-licensed. The code in the root directory and all subdirectories except the 'ee' folder is released under the MPL v2.0 open source license. The code in the 'ee' folder is subject to a commercial license. For commercial licensing, contact [email protected]. The open source version is free to use.
Based on the project's public README and repository metadata.