豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/guides/publishing/github-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Install MCP Publisher
6363
run: |
64-
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
64+
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
6565
6666
- name: Login to MCP Registry
6767
run: ./mcp-publisher login github-oidc
@@ -138,4 +138,4 @@ You can keep your package version and server.json version in sync automatically
138138

139139
## Troubleshooting
140140
- **"Authentication failed"**: Ensure `id-token: write` permission is set for OIDC, or check secrets
141-
- **"Package validation failed"**: Verify your package published to your registry (NPM, PyPi etc.) successfully first, and that you have done the necessary validation steps in the [Publishing Tutorial](publish-server.md)
141+
- **"Package validation failed"**: Verify your package published to your registry (NPM, PyPi etc.) successfully first, and that you have done the necessary validation steps in the [Publishing Tutorial](publish-server.md)

docs/guides/publishing/publish-server.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ By the end of this tutorial, you'll have:
2626
You can make your MCP server available in multiple ways:
2727
2828
- **📦 Package deployment**: Published to registries (npm, PyPI, NuGet, Docker Hub, etc.) and run locally by clients
29-
- **🌐 Remote deployment**: Hosted as a web service that clients connect to directly
29+
- **🌐 Remote deployment**: Hosted as a web service that clients connect to directly
3030
- **🔄 Hybrid deployment**: Offer both package and remote options for maximum flexibility
3131
3232
Learn more about [MCP server architecture](https://modelcontextprotocol.io/docs/learn/architecture) in the official docs.
@@ -48,7 +48,7 @@ brew install mcp-publisher
4848
<summary><strong>⬇️ macOS/Linux/WSL: Pre-built binaries</strong></summary>
4949

5050
```bash
51-
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher && sudo mv mcp-publisher /usr/local/bin/
51+
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher && sudo mv mcp-publisher /usr/local/bin/
5252
```
5353

5454
</details>
@@ -74,7 +74,7 @@ export PATH=$PATH:$(pwd)/bin
7474
<summary><strong>🪟 Windows PowerShell: Pre-built binaries</strong></summary>
7575

7676
```powershell
77-
$arch = if ([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture -eq "Arm64") { "arm64" } else { "amd64" }; Invoke-WebRequest -Uri "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_windows_$arch.tar.gz" -OutFile "mcp-publisher.tar.gz"; tar xf mcp-publisher.tar.gz mcp-publisher.exe; rm mcp-publisher.tar.gz
77+
$arch = if ([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture -eq "Arm64") { "arm64" } else { "amd64" }; Invoke-WebRequest -Uri "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_windows_$arch.tar.gz" -OutFile "mcp-publisher.tar.gz"; tar xf mcp-publisher.tar.gz mcp-publisher.exe; rm mcp-publisher.tar.gz
7878
# Move mcp-publisher.exe to a directory in your PATH
7979
```
8080

@@ -266,7 +266,7 @@ LABEL io.modelcontextprotocol.server.name="io.github.username/server-name"
266266
### How It Works
267267
- Registry authenticates with container registries using token-based authentication:
268268
- **Docker Hub**: Uses `auth.docker.io` token service
269-
- **GitHub Container Registry**: Uses `ghcr.io` token service
269+
- **GitHub Container Registry**: Uses `ghcr.io` token service
270270
- Fetches image manifest using Docker Registry v2 API
271271
- Checks that `io.modelcontextprotocol.server.name` annotation matches your server name
272272
- Fails if annotation is missing or doesn't match

0 commit comments

Comments
 (0)