Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md
Skybridge

Build ChatGPT & MCP Apps. The Modern TypeScript Way.

The fullstack TypeScript framework for AI-embedded widgets.
Type-safe. React-powered. Platform-agnostic.


NPM Version NPM Downloads GitHub License


Documentation · Quick Start · Showcase


✨ Why Skybridge?

ChatGPT Apps and MCP Apps let you embed rich, interactive UIs directly in AI conversations. But the raw SDKs are low-level—no hooks, no type safety, no dev tools, and no HMR.

Skybridge fixes that.

🌐 Write once, run everywhere — Skybridge works seamlessly with ChatGPT (Apps SDK) and MCP-compatible clients.End-to-End Type Safety — tRPC-style inference from server to widget. Autocomplete everywhere.
🔄 Widget-to-Model Sync — Keep the model aware of UI state with data-llm. Dual surfaces, one source of truth.⚒️ React Query-style HooksisPending, isError, callbacks. State management you already know.
👨‍💻 Full dev environment — HMR, debug traces, and local devtools.📦 Showcase Examples — Production-ready examples to learn from and build upon.

🚀 Get Started

Create a new app:

npm create skybridge@latest

Or add to an existing project:

npm i skybridge yarn add skybridge pnpm add skybridge bun add skybridge deno add skybridge

👉 Read the Docs 👈


📦 Architecture

Skybridge is a fullstack framework with unified server and client modules:

  • skybridge/server — Define tools and widgets with full type inference. Extends the MCP SDK.
  • skybridge/web — React hooks that consume your server types. Works with Apps SDK (ChatGPT) and MCP Apps.
  • Dev Environment — Vite plugin with HMR, DevTools emulator, and optimized builds.

Server

import { McpServer } from "skybridge/server"; server.registerWidget("flights", {}, { inputSchema: { destination: z.string() }, }, async ({ destination }) => { const flights = await searchFlights(destination); return { structuredContent: { flights } }; });

Widget

import { useToolInfo } from "skybridge/web"; function FlightsWidget() { const { output } = useToolInfo(); return output.structuredContent.flights.map(flight => <FlightCard key={flight.id} flight={flight} /> ); }

🎯 Features at a Glance

  • Live Reload — Vite HMR. See changes instantly without reinstalling.
  • Typed Hooks — Full autocomplete for tools, inputs, outputs.
  • Widget → Tool Calls — Trigger server actions from UI.
  • Dual Surface Sync — Keep model aware of what users see with data-llm.
  • React Query-style APIisPending, isError, callbacks.
  • Platform Agnostic — Works with ChatGPT (Apps SDK) and MCP Apps clients (Goose, VSCode, etc.).
  • MCP Compatible — Extends the official SDK. Works with any MCP client.

📖 Showcase

Explore production-ready examples:

ExampleDescriptionDemoCode
Awaze — Cottage SearchHoliday cottage search and booking experience — browse properties, filter by location, and explore availabilityTry Demo
Capitals ExplorerInteractive world map with geolocation and Wikipedia integrationTry DemoView Code
Ecommerce CarouselProduct carousel with cart, localization, and modalsTry DemoView Code
EverythingComprehensive playground showcasing all hooks and featuresTry DemoView Code
Investigation GameInteractive murder mystery game with multi-screen gameplay and dynamic story progressionTry DemoView Code
ProductivityData visualization dashboard demonstrating Skybridge capabilities for MCP AppsTry DemoView Code
Time's UpWord-guessing party game where the user gives hints and the AI tries to guess the secret wordTry DemoView Code
Lumo — Interactive AI TutorAdaptive educational tutor with Mermaid.js diagrams, mind maps, quizzes, and fill-in-the-blank exercisesTry DemoView Code
Auth — Auth0Full OAuth authentication with Auth0 and personalized coffee shop searchView Code
Auth — ClerkFull OAuth authentication with Clerk and personalized coffee shop searchView Code
Auth — StytchFull OAuth authentication with Stytch and personalized coffee shop searchView Code
Auth — WorkOS AuthKitFull OAuth authentication with WorkOS AuthKit and personalized coffee shop searchView Code
Flight BookingFlight booking carousel with dynamic search and booking flowTry DemoView Code
Generative UIDynamic UI generation using json-render and SkybridgeTry DemoView Code
Manifest StarterStarter app with Manifest UI agentic components out-of-the-boxTry DemoView Code

See all examples in the Showcase or browse the examples/ directory.


GitHub Discussions GitHub Issues Discord

See CONTRIBUTING.md for setup instructions


MIT License · Made with ❤️ by Alpic

关于 About

Skybridge is a framework for building ChatGPT & MCP Apps
agentaiapps-sdkchatgptclaudeclaude-codedevtoolsext-appsllmsmcpmcp-appsmcp-servermcp-uimodelcontextprotocolopenaireactskillstoolingtypescript

语言 Languages

TypeScript96.1%
CSS1.6%
Shell1.1%
JavaScript0.9%
Handlebars0.2%
HTML0.1%
Batchfile0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
700
Total Commits
峰值: 77次/周
Less
More

核心贡献者 Contributors