Pancake

Build Once.
Run in any AI Host.

The universal SDK for building apps across MCP Apps, ChatGPT Apps, and any MCP compatible assistant.

$npx create-pancake my-app

One codebase. Every AI host.

ClaudeClaude
ChatGPTChatGPT
GeminiGemini
CopilotCopilot
+
Your App

Define once, deploy everywhere

Build React views with familiar hooks. Pancake handles the protocol adapters. Your component renders natively in every host.

weather/App.tsx
1// views/weather/App.tsx
2import { useViewParams, useViewState } from '@pancake-apps/web';
3import { useEffect } from 'react';
4
5export function WeatherView() {
6 const { inputs, data } = useViewParams<{ city: string }, WeatherData>();
7 const [weather, setWeather] = useViewState<WeatherData | null>(data);
8
9 useEffect(() => {
10 fetchWeather(inputs.city).then(setWeather);
11 }, [inputs.city]);
12
13 if (!weather) return <Loading />;
14
15 return (
16 <div className="weather-widget">
17 <City name={weather.city} />
18 <Temperature value={weather.temp} unit={weather.unit} />
19 <Conditions type={weather.condition} />
20 <Stats humidity={weather.humidity} wind={weather.wind} />
21 </div>
22 );
23}
ChatGPTChatGPT

Check weather for London

Here's the current weather in London:

London, UK

54°F

Rainy

Humidity

89%

Wind

12 mph

Precip

80%

ClaudeClaude

What's the weather in Tokyo?

Here's the current weather in Tokyo:

Tokyo, Japan

72°F

Partly Cloudy

Humidity

65%

Wind

8 mph

UV Index

Low

Same app. Same code. Adapts to each platform.

Test and debug live

Run pnpm dev to start a local server, paste the URL into ChatGPT, and watch your app update as you edit. No deploys, no waiting.

ChatGPTChatGPTLive Preview

What's the weather in San Francisco?

Here's the current weather:

San Francisco

68°F

Sunny

Humidity

55%

weather/App.tsx
Saved
1// views/weather/App.tsx
2import { useViewParams } from '@pancake-apps/web';
3
4export function WeatherView() {
5 const { data } = useViewParams<{}, WeatherData>();
6
7 return (
8 <div className="weather-card">
9 <City name={data.city} />
10 <Temperature value={data.temp} />
11
12 </div>
13 );
14}
$pnpm devwatching for changes...

All the toppings you need

A complete SDK for building applications for AI hosts—without the integration headaches.

🍓

Single API

Define views, actions, and data once with a clean, TypeScript-first API. No platform-specific code required.

🫐

Auto View Discovery

Drop files in a folder and they become views automatically. The SDK discovers and registers them for you.

🍌

Great DX

Hot module reloading, strong typing with inference, and clear error messages that actually help you debug.

🍒

Extensible

Add new host adapters without changing your app code. Built for a multi-platform future.

🍫

Rich Views

Build interactive React views that render natively in chat UIs. Charts, forms, maps, and more.

🍯

Type Safe

Full TypeScript support with Zod validation. Catch errors at build time, not runtime.

How it works

Every AI host has its own protocol (MCP, OpenAI Actions) and its own UI requirements. Pancake is both protocol-agnostic and host-agnostic: one codebase handles the communication layer and adapts your views to each host's styling conventions.

YOUR APP
ViewsActionsData
PANCAKE SDK
@pancake-apps/server@pancake-apps/web
Claude
Claude
ChatGPT
ChatGPT
Gemini
Gemini
+
Your App

Modular by design

Install only what you need. Each package is focused and lightweight.

@pancake-apps/server

Server framework for Views, Actions, and Data with auto-discovery

@pancake-apps/web

Unified client SDK for ChatGPT Apps SDK and MCP Apps with React hooks

create-pancake

CLI scaffolder for new Pancake projects

Pancake

Build your first app for AI hosts

Get up and running in under 5 minutes. One codebase runs in ChatGPT, Claude, and every AI assistant.

$npx create-pancake my-app