Portkey AI Gateway

Agent frameworks and SDKs

A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.

Your AI app calls the Portkey AI Gateway MCP server, which does the agent frameworks and SDKs work and sends the result back to the chat.

About Portkey AI Gateway

Portkey AI Gateway is a community MCP server from Portkey-AI, filed in our directory under agent frameworks and sdks. A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.

Portkey AI Gateway runs on your own machine: your AI app starts it with the command npx -y @portkey-ai/gateway and talks to it over standard input and output.

At a glance

Publisher
Portkey-AI (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @portkey-ai/gateway
Written in
TypeScript
License
MIT
GitHub stars
13,473

How to set up Portkey AI Gateway

  1. Install Node.js on the machine that runs your AI app, because Portkey AI Gateway starts with npx and downloads its package on first run.
  2. Check the Portkey AI Gateway README for keys or settings; the registry lists none that Portkey AI Gateway requires.
  3. Add Portkey AI Gateway to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Portkey AI Gateway tools to confirm the connection.
  5. Run one read-only task with Portkey AI Gateway first, and keep your app asking before each tool call until the results look right.

Portkey AI Gateway compared with similar servers

  • Kaneo by usekaneo has fewer GitHub stars than Portkey AI Gateway (10k against 13.5k); both are community servers, and both run locally.
  • Casdoor by casdoor has more GitHub stars than Portkey AI Gateway (15k against 13.5k); both are community servers, and both run locally.
  • Agent-Native Analytics by BuilderIO has fewer GitHub stars than Portkey AI Gateway (7.8k against 13.5k); Agent-Native Analytics is official while Portkey AI Gateway is a community server, and Agent-Native Analytics runs as a remote server and Portkey AI Gateway runs on your own machine.

Before you connect Portkey AI Gateway

  • Give Portkey AI Gateway its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Portkey AI Gateway tool call until you trust what it does with them.
  • Treat text that Portkey AI Gateway fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Portkey AI Gateway on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Portkey AI Gateway

How marketing and sales teams put Portkey AI Gateway to work, by company size. Pick the size closest to yours and start Portkey AI Gateway on one use case.

Small business

  • A small business with a developer can use Portkey AI Gateway to build one focused agent, such as lead follow-up, without a big platform.
  • Technical founders can prototype marketing agents with Portkey AI Gateway and keep what works as a small, owned tool.
  • Portkey AI Gateway runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineering teams can use Portkey AI Gateway to build agents that combine CRM, analytics and content tools behind one workflow.
  • Marketing ops can standardize on Portkey AI Gateway so every agent they ship has the same logging, approvals and error handling.
  • Start Portkey AI Gateway on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can build on Portkey AI Gateway with their own identity, policy and evaluation layers, so agents meet the same bar as other software.
  • Platform teams can use Portkey AI Gateway to give business units a governed way to ship agents without each one starting from scratch.
  • Portkey AI Gateway is a community server, so have security review the code and pin a version before Portkey AI Gateway touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Portkey AI Gateway README

From Portkey-AI/gateway on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

English | 中文 | 日本語

[!IMPORTANT] :rocket: Gateway 2.0 (Pre-Release) Portkey's core enterprise gateway is merging into open-source with our 2.0 release. You can try the pre-release branch github.com/portkey-ai/gateway/tree/2.0.0. Read more about what's next for Portkey in our Series A announcement.

🆕 Portkey Models - Open-source LLM pricing for 2,300+ models across 40+ providers. Explore →

AI Gateway

Route to 250+ LLMs with 1 fast & friendly API

Docs (portkey.wiki/gh-1) | Enterprise | Hosted Gateway | Changelog | API Reference


The AI Gateway is designed for fast, reliable & secure routing to 1600+ language, vision, audio, and image models. It is a lightweight, open-source, and enterprise-ready solution that allows you to integrate with any language model in under 2 minutes.

Questions about Portkey AI Gateway

What is the Portkey AI Gateway MCP server?

A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API. Portkey AI Gateway is maintained by Portkey-AI on GitHub at Portkey-AI/gateway, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Portkey AI Gateway MCP server?

Add Portkey AI Gateway to your AI app's MCP config with the command npx -y @portkey-ai/gateway. In Claude Code, run claude mcp add --transport stdio gateway -- npx -y @portkey-ai/gateway. To run Portkey AI Gateway this way you need Node.js installed.

Does Portkey AI Gateway need an API key?

The registry lists no required keys for Portkey AI Gateway. Check the Portkey AI Gateway README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Portkey AI Gateway an official MCP server?

No. Portkey AI Gateway is a community server maintained by Portkey-AI. Community servers can be excellent; read the code and the open issues before you give Portkey AI Gateway access to company data.

What license is Portkey AI Gateway under?

Portkey AI Gateway is released under the MIT license, according to its GitHub repository. The license covers the code of Portkey AI Gateway; the service it connects to has its own terms.