Skip to main content
This is an OpenAI MCP extension, not part of MCP or MCP Apps. Only ChatGPT supports it, and other hosts ignore it.
By default, users can only at-mention your app as a whole. registerMentions lets them mention individual items, such as parts, files or people: when the user types @ and your app, ChatGPT calls your handler with the text typed so far and lists the items it returns. ChatGPT desktop only.

Example

A parts catalog lets the user mention a part by name.

Parameters

config

How it works

Skybridge registers a tool named name that takes { query: string } and returns { items } as structuredContent. Its _meta carries "openai/extensions": { "mentions/search": {} }, which tells ChatGPT it serves mentions, and ui.visibility: ["app"], which hides it from the model. It requires sign-in like any other tool on a server with oauth. Returns the server, so calls chain.

Serve the mentioned items

When the user picks an item, its resource link goes into the message, so the model gets the uri rather than the item itself. Serve those URIs as MCP resources so the host can read them:

registerTool

Register tools and their ChatGPT entrypoints

McpServer

Every method of the server