Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 2 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
7 changes: 7 additions & 0 deletions docs/embedded/includes/mcp-install-buttons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- 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://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22spe%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40microsoft%2Fspe-mcp%22%2C%22start%22%5D%7D)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add the buttons for the other editors?


One-click install is also available for [Visual Studio Code Insiders](https://vscode.dev/redirect?url=vscode-insiders:mcp/install?%7B%22name%22%3A%22spe%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40microsoft%2Fspe-mcp%22%2C%22start%22%5D%7D), [Visual Studio](https://aka.ms/vs/mcp-install?%7B%22name%22%3A%22spe%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40microsoft%2Fspe-mcp%22%2C%22start%22%5D%7D), and [Cursor](https://cursor.com/install-mcp?name=spe&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBtaWNyb3NvZnQvc3BlLW1jcCIsInN0YXJ0Il19). From the command line, run `claude mcp add spe -- npx -y @microsoft/spe-mcp start` for Claude Code or `codex mcp add spe -- npx -y @microsoft/spe-mcp start` for the Codex CLI.