From e72caa07fe8a4e506441996bc216ca9bd0cd9e4d Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Tue, 9 Sep 2025 01:38:48 +0300 Subject: [PATCH] Update the publishing docs to refer to the v1.0.0 release (#380) ## Motivation and Context The following PR updates the publishing docs to refer to the mcp-publisher release assets from v1.0.0. ## How Has This Been Tested? Locally ## Breaking Changes No ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [x] Documentation update ## Checklist - [ ] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [ ] My code follows the repository's style guidelines - [ ] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context Signed-off-by: Radoslav Dimitrov --- docs/guides/publishing/publish-server.md | 43 +++++++++++++++++++++--- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/docs/guides/publishing/publish-server.md b/docs/guides/publishing/publish-server.md index 08c1b08..8af74bb 100644 --- a/docs/guides/publishing/publish-server.md +++ b/docs/guides/publishing/publish-server.md @@ -17,18 +17,51 @@ By the end of this tutorial, you'll have: ## Step 1: Install the Publisher CLI - +You can either download a pre-built binary or build from source. -Download and build the MCP publisher tool: +### Option A: Download Pre-built Binary (Recommended) + +Download the latest release for your platform: ```bash -# Clone the registry repository (requires Go 1.24+) +# macOS Apple Silicon (M1/M2/M3) +curl -L https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_darwin_arm64.tar.gz | tar xz + +# macOS Intel +curl -L https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_darwin_amd64.tar.gz | tar xz + +# Linux x86_64 +curl -L https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_linux_amd64.tar.gz | tar xz + +# Linux ARM64 +curl -L https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_linux_arm64.tar.gz | tar xz + +# Windows x86_64 (PowerShell) +Invoke-WebRequest -Uri "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_windows_amd64.tar.gz" -OutFile "mcp-publisher.tar.gz" +tar xf mcp-publisher.tar.gz + +# Windows ARM64 (PowerShell) +Invoke-WebRequest -Uri "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_windows_arm64.tar.gz" -OutFile "mcp-publisher.tar.gz" +tar xf mcp-publisher.tar.gz + +# Add to PATH (macOS/Linux) +chmod +x mcp-publisher && sudo mv mcp-publisher /usr/local/bin/ + +# Add to PATH (Windows): Move mcp-publisher.exe to a directory in your PATH +``` + +### Option B: Build from Source + +If you prefer to build from source (requires Go 1.24+): + +```bash +# Clone the registry repository git clone https://github.com/modelcontextprotocol/registry cd registry make publisher -# The binary will be at cmd/publisher/bin/mcp-publisher -export PATH=$PATH:$(pwd)/cmd/publisher/bin +# The binary will be at bin/mcp-publisher +export PATH=$PATH:$(pwd)/bin ``` ## Step 2: Initialize Your server.json