mcp-extensions README

The project's README from github.com/openai/mcp-extensions. As one markdown file: README.md.

OpenAI MCP Extensions

OpenAI MCP Extensions adds ChatGPT-specific capabilities to MCP so developers can build plugins that feel like native, first-class features.

Showcase

All examples below use the Bits & Bolts plugin, which you can try by installing the plugin.

Sidebar entrypoints

Allow users to access your app from the sidebar.

Opening an MCP App from the sidebar

File extension handlers

Render custom file viewers when users open a supported file type.

Opening a CAD file in a custom file viewer

Composer mentions

Let users search your plugin’s resources from the composer and add references to a message.

Searching for a CAD part with composer mentions

Extended forms

Let users select a CAD part using thumbnail choices.

Selecting a CAD part in a Bits & Bolts form

Get started

0. Try it out

Install the Bits & Bolts Remote plugin:

  1. Install Bits & Bolts Remote from the plugin directory.

  2. Select Bits & Bolts Remote in the sidebar to open the Parts Library.

    Bits & Bolts Remote selected in the sidebar with the Parts Library open

1. Create a plugin

Read the plugin documentation about how to create a plugin. Once you have a plugin…

2. Add the SDKs to your MCP server

Follow the SDK installation instructions for the current source:

3. Explore supported extensions

Read the spec to learn more about supported extensions.

License

This project is licensed under the Apache License 2.0.

mcp-extensions (openai/mcp-extensions)

Searching Database…

这是什么?一个为 Model Context Protocol(MCP)添加 ChatGPT 专属能力的工具包,让插件开发者能够构建侧边栏入口、自定义文件查看器、composer 提及、富表单等功能,用起来就像 ChatGPT 的原生组成部分。
这是一个独立应用,还是添加到我自己的 MCP 服务器上的东西?它是一份规范加若干 SDK,用于添加到你已有的 MCP 服务器上(TypeScript:@openai/mcp-extensions,Python:openai-mcp-extensions),并不是一个独立应用。
怎么把这些扩展添加到我的插件里?先按照插件文档构建一个基础的 MCP 插件,然后安装对应的 SDK(TypeScript 用 @openai/mcp-extensions,Python 用 openai-mcp-extensions),再按照规范实现这些扩展。
使用它之前,我需要先有一个现成的 MCP 服务器吗?需要。你得先有一个能正常工作的 MCP 插件/服务器;这个包只是在它之上叠加 ChatGPT 专属的扩展。
它能配合任何 MCP 客户端使用,还是只支持 ChatGPT?这些扩展是 ChatGPT 专属的——侧边栏入口、composer 提及以及其他展示的功能都是 ChatGPT 的 UI 集成,而不是通用的 MCP 客户端行为。
示例中展示的 Bits & Bolts 插件是什么?它是 README 中用来演示每个扩展的示例插件——这是一个 CAD 零件库,安装后你可以从 ChatGPT 的侧边栏浏览它。
我可以构建哪些类型的 UI 扩展?用于打开你的应用的侧边栏入口、针对特定文件类型的自定义查看器、用于搜索插件资源的 composer 提及,以及基于缩略图选择字段之类的扩展表单。
支持的扩展的完整列表在哪里有文档?README 指向了一份详细列出所有受支持扩展的规范文档,该文档在「Explore supported extensions」步骤中被引用。
Creator
openai
Size
70.8 MB
Stars
1.1K
Age
20d
Commits · 90 Days