Show HN:mcp-apps-kit - 使用單一程式碼庫為 MCP Apps 和 ChatGPT 建置 AI 應用程式
AndurilCode 推出了 mcp-apps-kit,這是一個 TypeScript 框架,讓開發者能夠使用單一程式碼庫為 MCP Apps 和 ChatGPT (OpenAI Apps SDK) 建置互動式 AI 應用程式。
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
Uh oh!
There was an error while loading. Please reload this page.
A TypeScript framework for building interactive MCP applications that work seamlessly with both MCP Apps and ChatGPT (OpenAI Apps SDK) from a single codebase.
License
Uh oh!
There was an error while loading. Please reload this page.
AndurilCode/mcp-apps-kit
Folders and files
Latest commit
History
Repository files navigation
Build interactive AI apps for MCP Apps and ChatGPT from a single codebase.
Quick Start
Features
Table of Contents
Background
MCP AppsKit is a TypeScript framework for building interactive applications with shared tool and UI definitions. MCP Apps enables servers to deliver interactive UIs to MCP hosts. OpenAI Apps SDK powers apps inside ChatGPT. This framework abstracts both protocols, providing a server runtime, client SDK, React bindings, and a scaffolding CLI.
Best for: One codebase serving MCP Apps + ChatGPT, type-safe tools with Zod, tool-to-UI rendering patterns.
May not fit: Single protocol with low-level control needs, or custom transport/session behavior beyond the built-in server.
Packages
Compatibility
Install
See Packages for all available packages.
Usage
Server
React UI
Wrap your app with AppsProvider and use hooks to access tool results:
For complete examples including API versioning, React component UIs, and advanced patterns, see the Examples section.
Deployment
Express (default)
Custom Express
Stdio
Serverless
Platform Support
Examples
Kanban demo repository (tool calling, React widgets, plugins, middleware, events):
Local examples:
API
📖 API Reference - Full TypeDoc-generated documentation
Detailed package documentation:
Contributing
See CONTRIBUTING.md for development setup and guidelines. Issues and pull requests are welcome.
License
MIT
About
A TypeScript framework for building interactive MCP applications that work seamlessly with both MCP Apps and ChatGPT (OpenAI Apps SDK) from a single codebase.
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
12
Sponsor this project
Uh oh!
There was an error while loading. Please reload this page.
Contributors
8
Uh oh!
There was an error while loading. Please reload this page.
Languages
Footer
Footer navigation
相關文章