Copilot Studio MCP Apps add forms to agent chats
Microsoft Copilot Studio

Copilot Studio MCP Apps add forms to agent chats

by HubSite 365 about Andrew Hess - MySPQuestions

Currently I am sharing my knowledge with the Power Platform, with PowerApps and Power Automate. With over 8 years of experience, I have been learning SharePoint and SharePoint Online

MCP Apps let Copilot Studio agents present interactive forms inside supported chats, giving users a structured way to provide information.

Key insights

  • MCP Apps pair an MCP tool with an interactive interface rendered inside a supported conversation.
  • Microsoft documentation lists Microsoft Copilot and Copilot Studio preview chat as supported hosts.
  • Andrew Hess's example connects a custom MCP server hosted in an Azure Function App.
  • The example uses an /mcp URL suffix and an x-api-key header to configure the connection.
  • The demo's form values remain in the conversation; persistence requires a data source or agent memory.

Microsoft Copilot Studio MCP Apps let an agent present an interactive interface, such as a form, inside a conversation instead of collecting every detail through text. They matter to agent makers and administrators building experiences where users need to provide structured input or make a selection. Andrew Hess - MySPQuestions demonstrates a custom MCP server and form connected to an agent.

What's new

A conventional MCP tool gives an agent a capability to call and return results. MCP Apps add an interface associated with that tool: the MCP server can provide the UI, and a compatible Copilot host can render it in the conversation. Users can interact with the interface, and their input can inform the agent's next response.

That distinction is useful when free-form chat makes a choice ambiguous. In Hess's example, the server offers recommendations for food, books, movies, or conferences, and a separate “My Favorites” form lets the user choose a category and submit a favorite. After the user selects pizza and saves it, the agent can use that choice when asked to recommend a food.

The UI is supplied by the MCP server, rather than being a form created directly in the chat transcript. The interface can be branded, as the example's icon illustrates. The specific controls and behavior depend on the app and the host that renders it.

Who it is for and what you need

This approach is for makers who want to connect a Copilot Studio agent to a custom MCP server and offer users a structured interaction. The demonstration uses a Python server with FastMCP, hosted as an Azure Function App, and connects that server as a custom MCP tool in Copilot Studio.

Microsoft documentation identifies Microsoft Copilot and Copilot Studio preview chat as supported hosts for MCP Apps. Hess also demonstrates the app in Microsoft 365 Copilot, while reporting that it did not render in Teams chat in his test. Plan the experience around a supported host rather than assuming the same interface will appear in every destination.

At a high level, you need an MCP server that exposes the tool and its app, a reachable server URL, and a configured connection in Copilot Studio. The example protects the endpoint with an API key. It also emphasizes writing a clear tool description so the agent can recognize when to open the form.

How it works

The interaction combines agent instructions, an MCP tool, a server endpoint, and the host's rendering support. In Hess's demonstration, the server exposes ordinary recommendation tools as well as the form app. The agent can call a recommendation tool directly or open the form when the user asks for it.

  1. Build an MCP server that exposes the operation and the associated app interface. The example uses Python and FastMCP, with HTML for the form.
  2. Host the server, then copy its endpoint URL. In the demonstrated configuration, append /mcp to the Azure Function App's default domain.
  3. In Copilot Studio, add a custom MCP server as a tool. Enter the server URL and configure the authentication header and key. Hess uses the header name x-api-key.
  4. Create a connection for the tool and select the MCP tools the agent can use. Add instructions describing the agent's scope and when it should use the form.
  5. Test in a supported chat. Ask for a recommendation to check the tool response, then ask the agent to open the form, submit a selection, and follow up in the conversation.

Tool descriptions help the agent choose the right operation. The example describes its app as a way for the user to share favorites with the conversation. Hess also recommends defining what the agent should and should not do in its top-level instructions. Those descriptions and instructions give the agent context for using the integration; they do not replace testing the connection, endpoint, and authentication.

Limitations and alternatives

Host support is a practical constraint. Microsoft documentation lists Microsoft Copilot and Copilot Studio preview chat, and Hess's test shows the difference between Microsoft 365 Copilot and Teams: the form rendered in the former but not in the Teams chat he tested. A tool call may still run even when the app UI does not render, so test the actual destination your users will use.

The example also keeps the submitted favorite in the conversation, not in a database. That makes it useful for demonstrating an interaction, but it is not the same as durable storage across chats. For persistence, the app would need to write the value to a data source or connect to another service; the video mentions a database or API as possible approaches.

Before adopting an MCP App, check that the host you plan to use supports rendering, that the endpoint and authentication work, and that the agent has access only to the tools it needs. If a conversation-only value is insufficient, design storage into the server or integration. Microsoft’s MCP Apps documentation provides the product-specific guidance.

Sources

Frequently asked questions

Where do MCP Apps work in Copilot Studio?

Microsoft documentation identifies Microsoft Copilot and Copilot Studio preview chat as supported hosts. Hess demonstrated rendering in Microsoft 365 Copilot, but his Teams chat test did not render the app.

How do I connect an MCP App to Copilot Studio?

Add the MCP server as a custom tool, enter its endpoint and authentication details, then create the connection and select the tools the agent can use. The example endpoint ends in /mcp and uses an x-api-key header.

Do MCP App form responses persist across chats?

Not automatically in the demonstrated setup: the selected favorite remains in that conversation. To keep it beyond the conversation, the app needs to save it to a data source or another connected service.