Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/embedded/build/create-container-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ You can create one with the SharePoint Embedded Visual Studio Code extension or

The Visual Studio Code path is fastest for a first app. See [Quickstart: Build your first app with VS Code](quickstart-vscode.md).

To create and configure a container type through a coding agent, install the SharePoint Embedded Model Context Protocol (MCP) server.

[!INCLUDE [Install the SharePoint Embedded MCP server](../includes/mcp-install-buttons.md)]

For Microsoft Graph, create the container type with the `trial` billing classification.

The following restrictions are applied to trial container types:
Expand Down
4 changes: 4 additions & 0 deletions docs/embedded/build/create-manage-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Create and manage containers after your container type is created, registered, a

Complete [Configure authentication and authorization](configure-authentication-authorization.md) before you call container APIs.

To manage the container lifecycle through a coding agent, install the SharePoint Embedded Model Context Protocol (MCP) server.

[!INCLUDE [Install the SharePoint Embedded MCP server](../includes/mcp-install-buttons.md)]

## Understand containers

All SharePoint Embedded files and documents are stored in containers.
Expand Down
5 changes: 5 additions & 0 deletions docs/embedded/build/quickstart-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ Use the [SharePoint Embedded Visual Studio Code extension](https://marketplace.v

This article starts the build journey. For more billing guidance, see [Create and configure a container type](create-container-type.md).

> [!TIP]
> To build through a coding agent, install the SharePoint Embedded Model Context Protocol (MCP) server.

[!INCLUDE [Install the SharePoint Embedded MCP server](../includes/mcp-install-buttons.md)]

## Prerequisites

Before you start, make sure you have:
Expand Down
11 changes: 11 additions & 0 deletions docs/embedded/build/sharepoint-embedded-mcp-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ For the complete, versioned list of tools, CLI flags, and environment variables,

## Install and configure

[!INCLUDE [Install the SharePoint Embedded MCP server](../includes/mcp-install-buttons.md)]

MCP clients launch the server with `npx`, so there's no separate global install. Add a server entry to your client's MCP configuration.

### Visual Studio Code
Expand Down Expand Up @@ -77,6 +79,15 @@ Add the server to `%APPDATA%\Claude\claude_desktop_config.json` (Windows) or `~/
}
```

### Claude Code and Codex CLI

Add the server from a terminal:

```console
claude mcp add spe -- npx -y @microsoft/spe-mcp start
codex mcp add spe -- npx -y @microsoft/spe-mcp start
```

### Cursor and other MCP clients

Any client that supports MCP servers over the stdio transport can run the server with the same `npx -y @microsoft/spe-mcp` command. See your client's documentation for where to register MCP servers.
Expand Down
13 changes: 13 additions & 0 deletions docs/embedded/includes/mcp-install-buttons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Reusable include: one-click install buttons for the @microsoft/spe-mcp server.
Included by developer-facing SharePoint Embedded articles. Do not add page frontmatter—this file is not a standalone article. -->

> [!div class="nextstepaction"]
> [Install in Visual Studio Code](https://aka.ms/spe-mcp/install/learn/vscode)

Other clients:

- [Install in Visual Studio Code Insiders](https://aka.ms/spe-mcp/install/learn/vscode-insiders)
- [Install in Visual Studio](https://aka.ms/spe-mcp/install/learn/visual-studio)
- [Install in Cursor](https://aka.ms/spe-mcp/install/learn/cursor)
- [Configure Claude Code](../build/sharepoint-embedded-mcp-server.md#claude-code-and-codex-cli)
- [Configure the Codex CLI](../build/sharepoint-embedded-mcp-server.md#claude-code-and-codex-cli)