Your API → Paid MCP, Instantly

Run one command to turn any MCP server or OpenAPI service into a paid MCP product. With built-in support for every major LLM SDK and MCP client.

How It Works

MCP Gateway Demo

Deploy any MCP server or OpenAPI service to Agentic's MCP Gateway, which handles auth, billing, rate-limiting, caching, etc. And instantly turn your API into a paid MCP product that supports every major LLM SDK and MCP client.

Agentic tools that work everywhere

import { createAISDKTools } from '@agentic/ai-sdk'
import { AgenticToolClient } from '@agentic/platform-tool-client'
import { openai } from '@ai-sdk/openai'
import { generateText } from 'ai'

const searchTool = await AgenticToolClient.fromIdentifier('@agentic/search')

const result = await generateText({
  model: openai('gpt-4o-mini'),
  tools: createAISDKTools(searchTool),
  toolChoice: 'required',
  system: 'You are a helpful assistant. Be as concise as possible.',
  prompt: 'What is the latest news about AI?'
})

console.log(result.toolResults[0])

This example uses the @agentic/search tool to provide an LLM access to the web.

All Agentic tools are exposed as both MCP servers as well as simple HTTP APIs. MCP is important for interop and future-proofing, whereas simple HTTP POST requests make tool use easy to debug and simplifies usage with LLM tool calling.

Production-Ready MCP Gateway

Auth

Ship to production fast with Agentic's free, hosted authentication. Email & password, OAuth, GitHub, Google, Twitter, etc – if your origin API requires OAuth credentials, Agentic likely already supports it, and if not, we'd be happy to add it.

Stripe Billing

Charge for your MCP products with a flexible, declarative pricing model built on top of Stripe. Agentic supports almost any combination of fixed and usage-based billing models, both at the MCP level, at the tool-call level, and at the custom metric level (e.g., tokens, image transformations, etc).

Support both MCP and HTTP

All Agentic tools are exposed as both MCP servers as well as simple HTTP APIs. MCP is important for interop and future-proofing, whereas simple HTTP POST requests make tools easy to debug and simplifies usage with LLM tool calling.

API Keys

When a customer subscribes to your product, they're given a unique API key. MCP URLs are appended with this API key to correlate usage with their subscription. Customer HTTP tool calls use the same API key as a standard HTTP Authorization header.

Rate-Limiting

Agentic durable rate-limiting is built on top of Cloudflare's global infrastructure. Customize the default rate-limits, change them based on a customer's pricing plan, or create custom tool-specific overrides. REST assured that your origin API will be safe behind Agentic's MCP gateway.

Caching

Opt-in to caching with familiar cache-control and stale-while-revalidate options. MCP tool calls include caching information in their _meta fields, providing parity with standard HTTP headers. Agentic uses Cloudflare's global edge cache for caching, which guarantees unmatched global performance.

Analytics

Agentic tracks all tool calls for usage-based billing and analytics at a fine-grained level, so you can drill in and deeply understand how your customers are using your product.

Versioning & Instant Rollbacks

Agentic uses immutable deployments, so every time you make a change to your product, a unique preview deployment is created. This enables instant rollbacks if there are problems with a deployment. Publishing uses semver (semantic versioning), so your customers can choose how to handle breaking changes.

That's just the start

Check out our docs for more details on Agentic's MCP gateway.

Agentic is 100% Open Source

Agentic is a fully OSS TypeScript project with a small but vibrant developer community. Check out the source on GitHub or ping me on Twitter with questions / feedback.

0 stars

Deploy Your MCP Today