diff --git a/docs/embedded/build/create-container-type.md b/docs/embedded/build/create-container-type.md index 6a521785d..cba9e5066 100644 --- a/docs/embedded/build/create-container-type.md +++ b/docs/embedded/build/create-container-type.md @@ -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: diff --git a/docs/embedded/build/create-manage-containers.md b/docs/embedded/build/create-manage-containers.md index 9c35aecfa..a2c18eacd 100644 --- a/docs/embedded/build/create-manage-containers.md +++ b/docs/embedded/build/create-manage-containers.md @@ -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. diff --git a/docs/embedded/build/quickstart-vscode.md b/docs/embedded/build/quickstart-vscode.md index 759b0ea7e..b7137eb52 100644 --- a/docs/embedded/build/quickstart-vscode.md +++ b/docs/embedded/build/quickstart-vscode.md @@ -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: diff --git a/docs/embedded/build/sharepoint-embedded-mcp-server.md b/docs/embedded/build/sharepoint-embedded-mcp-server.md index 831e130c7..5dc7188de 100644 --- a/docs/embedded/build/sharepoint-embedded-mcp-server.md +++ b/docs/embedded/build/sharepoint-embedded-mcp-server.md @@ -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 @@ -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. diff --git a/docs/embedded/includes/mcp-install-buttons.md b/docs/embedded/includes/mcp-install-buttons.md new file mode 100644 index 000000000..855042651 --- /dev/null +++ b/docs/embedded/includes/mcp-install-buttons.md @@ -0,0 +1,13 @@ + + +> [!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)