Update the publishing docs to refer to the v1.0.0 release (#380)
<!-- Provide a brief summary of your changes --> ## Motivation and Context <!-- Why is this change needed? What problem does it solve? --> The following PR updates the publishing docs to refer to the mcp-publisher release assets from v1.0.0. ## How Has This Been Tested? <!-- Have you tested this in a real application? Which scenarios were tested? --> Locally ## Breaking Changes <!-- Will users need to update their code or configurations? --> No ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] 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 <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [ ] 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 <!-- Add any other context, implementation notes, or design decisions --> Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
This commit is contained in:
parent
f975e68cf2
commit
e72caa07fe
1 changed files with 38 additions and 5 deletions
|
|
@ -17,18 +17,51 @@ By the end of this tutorial, you'll have:
|
|||
|
||||
## Step 1: Install the Publisher CLI
|
||||
|
||||
<!-- TODO: update once #358 solved -->
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue